Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Apr 2013 08:13:41 +0100
From:      Matthew Seaman <matthew@freebsd.org>
To:        freebsd-ports@freebsd.org
Subject:   Re: pkg info list sources?
Message-ID:  <516F9D25.5080208@freebsd.org>
In-Reply-To: <20130418064625.GA11517@night.db.net>
References:  <1366266215096-5804719.post@n5.nabble.com> <20130418064625.GA11517@night.db.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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