On 4/18/2013 8:46 AM, Diane Bruce wrote:
On Wed, Apr 17, 2013 at 11:23:35PM -0700, Beeblebrox wrote:
I want a list of all installed packages in the form category/port. I will
feed the list to poudriere.
$ pkg info -ao > pkg.list
gives a list but needs cleaning - gcc-4.6.3: lang/gcc
How can I remove the left part of the colon and keep the trailing bit?
pkg info -ao |cut -f 2 -d ' ' -

Or use pkg-query(8) ;)
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to