1 |
* Neil Bothwick (neil@××××××××××.uk) [12.03.09 10:49]: |
2 |
> On Thu, 12 Mar 2009 09:56:47 +0200, Alan McKinnon wrote: |
3 |
> |
4 |
> > The atom syntax you want is <package>~ which means any -rN version |
5 |
> > (including -r0) of the base version. |
6 |
> |
7 |
> I've only even seen the ~ used at the start of an atom, I didn't know it |
8 |
> could be used at the end too. |
9 |
> |
10 |
> > You could grab a complete list of your system and world (emerge -et), |
11 |
> > mangle it into shape with grep, sed and awk and redirect the whole lot |
12 |
> > to a package.mask file in a format something like this: |
13 |
> > |
14 |
> > >app-1.1.0~ |
15 |
> |
16 |
> emerge portage-utils |
17 |
> qatom $(qlist -ICv) | awk '{print ">"$1"/"$2"-"$3"~"}' |
18 |
> |
19 |
|
20 |
I was playing with this, since I'm thinking about gradually reverting my |
21 |
system to stable. |
22 |
|
23 |
What i was wondering: Is there a reason why you split the qlist output |
24 |
into atoms, just to put it together the same way qlist has spitted it |
25 |
out? |
26 |
|
27 |
qlist -ICv | awk '{print ">~"$1}' |
28 |
should do the job or am I mistaken? |
29 |
|
30 |
Sebastian |
31 |
|
32 |
-- |
33 |
" Religion ist das Opium des Volkes. " Karl Marx |
34 |
|
35 |
SEB@STI@N GÜNTHER mailto:samson@××××××××××××××××.de |