Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How to "freeze" my Gentoo system
Date: Tue, 17 Mar 2009 08:42:06
Message-Id: 20090317084151.2119c85c@krikkit.digimed.co.uk
In Reply to: Re: [gentoo-user] How to "freeze" my Gentoo system by "Sebastian Günther"
1 On Tue, 17 Mar 2009 08:46:57 +0100, Sebastian Günther wrote:
2
3 > > qatom $(qlist -ICv) | awk '{print ">"$1"/"$2"-"$3"~"}'
4
5 > What i was wondering: Is there a reason why you split the qlist output
6 > into atoms, just to put it together the same way qlist has spitted it
7 > out?
8 >
9 > qlist -ICv | awk '{print ">~"$1}'
10 > should do the job or am I mistaken?
11
12 Yes :)
13
14 The awk line only takes the first three items from the qlist
15 output, category, name and version. You don't want revision numbers in
16 the list if you are using ~.
17
18 ~foo/bar-1.2.3-r4 is meaningless. It may work, but if it does
19 this is undocumented, and probably unintended, behaviour and may change
20 at any time.
21
22
23 --
24 Neil Bothwick
25
26 The human mind ordinarily operates at only ten per cent of its
27 capacity ... the rest is overhead for the operating system.

Attachments

File name MIME type
signature.asc application/pgp-signature