Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Mar 2024 18:46:05 +0900
From:      "lain." <lain@fair.moe>
To:        questions@freebsd.org
Subject:   Re: How do I get just the pkg version in pkg-search results?
Message-ID:  <6rdrwvmemstntzg2an5na3n7dxz6bob2lql6sxilebfchsd7vo@45dibnnsidnz>
In-Reply-To: <0b06e637-6b26-4d01-21f5-9d9419c3c64e@bluerosetech.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----

iQGzBAABCAAdFiEEozVhUpXECiNYIKIXtWNzC1Y29b0FAmX9U1oACgkQtWNzC1Y2
9b2JSwv/VH2zTZTZa3p0LeoX5jMmB3yDqBt2RIyzv2EeEd51YSnb6EZgucfSE9iU
f9AbY4vqKNMBPtzJWujThBRY0tPxDi+UwRqGxwotv/EtRncUIgslImRPisX/3IYb
R5pacuPQLKnWQjAIvlaLKrU50N0ymTTcTnlzIAMMhNjmYcBH2OSbOZNUnBq/p+aM
WxHEq/rzZEaYMIs7UDrQ0eBCnWiREKMJ2qI43zWRVM4AEdqO1SJEQhPto+Wvta6b
5B+SmGgpfUZV0b5JU3dP0zdh7KPcIdrr77FJsi4LiP/awtkx6FARsb5wyw9Ius85
xAcv6dhB57nPieuMYbixryiajevm4lq+CcNtzhtatdXcd+8tZeP6s+GMW7c57Ix/
xndILQCNvdg4lDrg1RlBJdXsPKIBwNV3uuNRSSDRNPhCBJawU/mLi2WWNzyxPIiU
TtWERP1OMdrrcjx8//1B6bMKxmTcGbVTnGrugu1wc9Unx4mocB62FBHVnFnkFw0R
2rTKGA50
=zQBb
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6rdrwvmemstntzg2an5na3n7dxz6bob2lql6sxilebfchsd7vo>