Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Apr 2013 08:53:31 +0200
From:      Julien Laffaye <jlaffaye@freebsd.org>
To:        Diane Bruce <db@db.net>
Cc:        freebsd-ports@freebsd.org, Beeblebrox <zaphod@berentweb.com>
Subject:   Re: pkg info list sources?
Message-ID:  <516F986B.1030402@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 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) ;)



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