Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Apr 2013 01:46:25 -0500
From:      Diane Bruce <db@db.net>
To:        Beeblebrox <zaphod@berentweb.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: pkg info list sources?
Message-ID:  <20130418064625.GA11517@night.db.net>
In-Reply-To: <1366266215096-5804719.post@n5.nabble.com>
References:  <1366266215096-5804719.post@n5.nabble.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@FreeBSD.org db@db.net http://www.db.net/~db



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