From owner-freebsd-questions@FreeBSD.ORG Sun Feb 10 13:09:55 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 553F6192 for ; Sun, 10 Feb 2013 13:09:55 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id 15D28C0F for ; Sun, 10 Feb 2013 13:09:54 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.31]) by ltcfislmsgpa04.fnfis.com (8.14.5/8.14.5) with ESMTP id r1AD9oUd023395 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Sun, 10 Feb 2013 07:09:50 -0600 Received: from LTCFISWMSGMB21.FNFIS.com ([10.132.99.23]) by LTCFISWMSGHT03.FNFIS.com ([10.132.206.31]) with mapi id 14.02.0309.002; Sun, 10 Feb 2013 07:09:50 -0600 From: "Teske, Devin" To: Nikos Vassiliadis , Polytropon Subject: RE: packages listing Thread-Topic: packages listing Thread-Index: AQHOB1tCIlNEO/FHnkKwjdaeOY/mX5hzDZOAgABalAD//6VJUw== Date: Sun, 10 Feb 2013 13:09:50 +0000 Message-ID: <13CA24D6AB415D428143D44749F57D7201EA6BC8@ltcfiswmsgmb21> References: <1360479157.43293.YahooMailNeo@web160504.mail.bf1.yahoo.com> <20130210075713.e95310af.freebsd@edvax.de>,<511790C4.4070605@gmx.com> In-Reply-To: <511790C4.4070605@gmx.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.132.253.120] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.9.8327, 1.0.431, 0.0.0000 definitions=2013-02-10_04:2013-02-08,2013-02-10,1970-01-01 signatures=0 Cc: =?iso-8859-1?Q?D=E1nielisz_L=E1szl=F3?= , "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Feb 2013 13:09:55 -0000 On Sun, 10 Feb 2013, Nikos Vassiliadis wrote: > On 2/10/2013 8:57 AM, Polytropon wrote: > > On Sat, 9 Feb 2013 22:52:37 -0800 (PST), D=E1nielisz L=E1szl=F3 wrote: > >> Hi Everybody, > >> > >> Do you have any idea how can I list those installed packages > >> that are not required by any other? > > > > You can use sysutils/pkg_cutleaves to determine those. > > > > >=20 > I use this: >=20 > #!/bin/sh > pkg_info -R '*' | sed -n ' > /^Information for /{ > N > N > /Required by:/d > s/^Information for \(.*\):\n\n$/\1/p > } > ' Just curious, why not use "pkg_info -Ra" instead of "pkg_info -R '*'" ? --=20 Devin _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you.