From owner-freebsd-questions@FreeBSD.ORG Sun Dec 14 15:42:03 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B74F116A4CE for ; Sun, 14 Dec 2003 15:42:03 -0800 (PST) Received: from madras.dyndns.org (dsl-137.241.240.220.dsl.comindico.com.au [220.240.241.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id B732943D8D for ; Sun, 14 Dec 2003 15:41:20 -0800 (PST) (envelope-from ggop@madras.dyndns.org) Received: from madras.dyndns.org (localhost [127.0.0.1]) by madras.dyndns.org (8.12.9/8.12.9) with ESMTP id hBENdIhN015108; Mon, 15 Dec 2003 10:39:19 +1100 (EST) (envelope-from ggop@madras.dyndns.org) Received: (from ggop@localhost) by madras.dyndns.org (8.12.9/8.12.9/Submit) id hBENdHYa015107; Mon, 15 Dec 2003 10:39:17 +1100 (EST) Date: Mon, 15 Dec 2003 10:39:16 +1100 From: Gautam Gopalakrishnan To: Chris Pressey Message-ID: <20031214233916.GA15073@madras.dyndns.org> References: <20031214152747.6a94c98d.cpressey@catseye.mine.nu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031214152747.6a94c98d.cpressey@catseye.mine.nu> User-Agent: Mutt/1.4.1i cc: freebsd-questions@freebsd.org Subject: Re: How to list all packages in a given category? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Dec 2003 23:42:03 -0000 On Sun, Dec 14, 2003 at 03:27:47PM -0800, Chris Pressey wrote: > Hi all, > > Apologies in advance if this is a stupid question, but I couldn't find > anything relevant in the man pages or with Google: > > How can I list all the packages I have installed in a certain category? > > I'm thinking it should be something like 'pkg_info -C games', but AFAICT > pkg_info doesn't have any such option like that. pkg_info -o '*' | grep ^games hth Gautam