* Neil Bothwick (n...@digimed.co.uk) [12.03.09 10:49]:
> On Thu, 12 Mar 2009 09:56:47 +0200, Alan McKinnon wrote:
> 
> > The atom syntax you want is <package>~ which means any -rN version
> > (including -r0) of the base version.
> 
> I've only even seen the ~ used at the start of an atom, I didn't know it
> could be used at the end too.
> 
> > You could grab a complete list of your system and world (emerge -et),
> > mangle it into shape with grep, sed and awk and redirect the whole lot
> > to a package.mask file in a format something like this:
> > 
> > >app-1.1.0~  
> 
> emerge portage-utils
> qatom $(qlist -ICv) | awk '{print ">"$1"/"$2"-"$3"~"}'
> 

I was playing with this, since I'm thinking about gradually reverting my 
system to stable.

What i was wondering: Is there a reason why you split the qlist output 
into atoms, just to put it together the same way qlist has spitted it 
out?

qlist -ICv | awk '{print ">~"$1}'
should do the job or am I mistaken?

Sebastian

-- 
 " Religion ist das Opium des Volkes. "      Karl Marx

 s...@sti@N GÜNTHER         mailto:sam...@guenther-roetgen.de

Attachment: pgpIvmlEw372e.pgp
Description: PGP signature

Reply via email to