From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Fukvc-0002oQ-Lv for garchives@archives.gentoo.org; Mon, 26 Jun 2006 06:50:37 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k5Q6nHvr001146; Mon, 26 Jun 2006 06:49:17 GMT Received: from cicero1.cybercity.dk (cicero1.cybercity.dk [212.242.40.4]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k5Q6hW4j005156 for ; Mon, 26 Jun 2006 06:43:32 GMT Received: from user2.cybercity.dk (user2.cybercity.dk [212.242.41.35]) by cicero1.cybercity.dk (Postfix) with ESMTP id 21AD063FCAF for ; Mon, 26 Jun 2006 08:43:32 +0200 (CEST) Received: from BA.zlin.dk (port78.ds1-abs.adsl.cybercity.dk [212.242.227.17]) by user2.cybercity.dk (Postfix) with ESMTP id E086628685A for ; Mon, 26 Jun 2006 08:43:31 +0200 (CEST) From: Bo =?utf-8?q?=C3=98rsted_Andresen?= To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] get unversioned list of installed packages without eix or esearch Date: Mon, 26 Jun 2006 08:44:22 +0200 User-Agent: KMail/1.9.3 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1401820.Hclbeon9ed"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200606260844.28702.bo.andresen@zlin.dk> X-Archives-Salt: f7d5ccb9-dea9-4b06-8cb2-905eefc9583a X-Archives-Hash: dae6935b1028c46a87e1e8d83968b64a --nextPart1401820.Hclbeon9ed Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I know that I can get a list of installed packages without their version=20 numbers with eix: # eix -nI --format '/' | \ grep -vr '^$\|^\[[0-9]*\]\|^Found\ [0-9]*' This is probably possible with esearch too. But does anybody know of a way = to=20 get it with portage, bash or gentoolkit? I was of course considering something like this: # cd /var/db/pkg && ls * | ${some_magic_regular_expression_to_remove_versio= n} But I have found it impossible to make a regular expression that does break= =20 for at least one of those: media-fonts/font-adobe-100dpi-1.0.0 media-fonts/font-adobe-75dpi-1.0.0 media-fonts/font-adobe-utopia-type1-1.0.1 media-libs/jpeg-6b-r7 net-misc/cisco-vpnclient-3des-4.8.00.0490 sys-apps/portage-2.1.1_pre1-r2 sys-fs/udev-090 sys-fs/udev-090-r1 sys-libs/libstdc++-v3-3.3.6 sys-libs/timezone-data-2006g Which are: media-fonts/font-adobe-100dpi media-fonts/font-adobe-75dpi media-fonts/font-adobe-utopia-type1 media-libs/jpeg net-misc/cisco-vpnclient-3des sys-apps/portage sys-fs/udev sys-fs/udev sys-libs/libstdc++-v3 sys-libs/timezone-data Any ideas? =2D-=20 Bo Andresen --nextPart1401820.Hclbeon9ed Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQBEn4JM8/kKEzmwNNoRAkIMAKC7jHADsL6xAxw0TFz13sy4j5hApgCgiGDV dukZY8qdLdV5+U3hNGpBOrY= =TxZ0 -----END PGP SIGNATURE----- --nextPart1401820.Hclbeon9ed-- -- gentoo-user@gentoo.org mailing list