pkg info list sources?

Diane Bruce db at
Thu Apr 18 06:46:30 UTC 2013

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 ' ' -

- db at db at

More information about the freebsd-ports mailing list