Re: How do I get just the pkg version in pkg-search results?

From: lain. <lain_at_fair.moe>
Date: Fri, 22 Mar 2024 09:46:05 UTC
On 2024年03月22日 00:10, the silly list_freebsd@bluerosetech.com claimed to have said:
> But all I need is the version string.

Simply do: pkg rquery '%v' sqlite3

# pkg rquery '%v' sqlite3
3.44.0_1,1

pkg rquery '%v' emacs  
29.1_2,3

The reason why I picked these 2 packages is because the one is already
installed, and the other isn't, so it's to show you it works in both
cases.

-- 
lain.

Did you know that?
90% of all emails sent on a daily basis are being sent in plain text, and it's super easy to intercept emails as they flow over the internet?
Never send passwords, tokens, personal information, or other volunerable information without proper PGP encryption!

If you're writing your emails unencrypted, please consider sending PGP encrypted emails for security reasons.
You can find my PGP public key at: https://fair.moe/lain.asc

Every good email client is able to send encrypted emails.
If yours can't, then you should consider switching to a secure email client, because yours just sucks.

My recommendations are Claws Mail or NeoMutt.
For instructions on how to encrypt your emails:
https://unixsheikh.com/tutorials/gnupg-tutorial.html