From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1LjUsA-0001qh-GV for garchives@archives.gentoo.org; Tue, 17 Mar 2009 08:42:06 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B405FE04B9; Tue, 17 Mar 2009 08:42:04 +0000 (UTC) Received: from mail.digimed.co.uk (82-69-83-178.dsl.in-addr.zen.co.uk [82.69.83.178]) by pigeon.gentoo.org (Postfix) with ESMTP id 7F5B0E04B9 for ; Tue, 17 Mar 2009 08:42:04 +0000 (UTC) Received: from krikkit.digimed.co.uk (krikkit.digimed.co.uk [192.168.1.3]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.digimed.co.uk (Postfix) with ESMTPSA id E52E11A4D11 for ; Tue, 17 Mar 2009 08:42:03 +0000 (GMT) Date: Tue, 17 Mar 2009 08:41:51 +0000 From: Neil Bothwick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] How to "freeze" my Gentoo system Message-ID: <20090317084151.2119c85c@krikkit.digimed.co.uk> In-Reply-To: <20090317074657.GA9569@marvin.heimnetz.local> References: <20090311134054.4a4de361@lappy.evolone.org> <200903120956.47288.alan.mckinnon@gmail.com> <20090312094848.3ef8acdb@krikkit.digimed.co.uk> <20090317074657.GA9569@marvin.heimnetz.local> Organization: Digital Media Production X-Mailer: Claws Mail 3.7.1cvs13 (GTK+ 2.14.7; i686-pc-linux-gnu) X-GPG-Fingerprint: 7260 0F33 97EC 2F1E 7667 FE37 BA6E 1A97 4375 1903 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/nEGJ9KcNo1rwlDP7AFDPw1H"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Archives-Salt: 93e0106b-6e56-4235-8236-56867b679f2c X-Archives-Hash: 798f2527e9b8cba763eba8509033298b --Sig_/nEGJ9KcNo1rwlDP7AFDPw1H Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Tue, 17 Mar 2009 08:46:57 +0100, Sebastian G=FCnther wrote: > > qatom $(qlist -ICv) | awk '{print ">"$1"/"$2"-"$3"~"}' > What i was wondering: Is there a reason why you split the qlist output=20 > into atoms, just to put it together the same way qlist has spitted it=20 > out? >=20 > qlist -ICv | awk '{print ">~"$1}' > should do the job or am I mistaken? Yes :) The awk line only takes the first three items from the qlist output, category, name and version. You don't want revision numbers in the list if you are using ~. ~foo/bar-1.2.3-r4 is meaningless. It may work, but if it does this is undocumented, and probably unintended, behaviour and may change at any time.=20 --=20 Neil Bothwick The human mind ordinarily operates at only ten per cent of its capacity ... the rest is overhead for the operating system. --Sig_/nEGJ9KcNo1rwlDP7AFDPw1H Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (GNU/Linux) iEYEARECAAYFAkm/YlcACgkQum4al0N1GQOV2gCfbGE2VkLGAhAn+hBjJSNCr7Jz kkEAnAo4hIKynjOqc6T8NYd3nxEBgWu3 =8rWl -----END PGP SIGNATURE----- --Sig_/nEGJ9KcNo1rwlDP7AFDPw1H--