pkg info list sources?

Matthew Seaman matthew at freebsd.org
Thu Apr 18 07:13:52 UTC 2013


On 18/04/2013 07:46, 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 ' ' -
> 

pkg info -aoq

	Matthew


More information about the freebsd-ports mailing list