pkg delete dilema

Matthew Seaman matthew at FreeBSD.org
Tue Jun 7 13:38:55 UTC 2016


On 06/06/2016 04:32, Matthias Apitz wrote:
> # pkg query '%a %n' | fgrep '0 ' | sed 's/0 //' > what-I-have-installed.txt

This is more usually spelled as:

# pkg query -e '%a == 0' %n > what-I-have-installed.txt

	Cheers,

	Matthew


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 931 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20160607/63896db5/attachment.sig>


More information about the freebsd-questions mailing list