On Sat, May 11, 2002 at 01:21:19AM +0200, martin f krafft wrote:
> also sprach Peter Cordes <[EMAIL PROTECTED]> [2002.05.10.2333 +0200]:
> >  Err, I guess you would need get-selections|grep 'install$'|cut -f1
> 
> why not
> 
>   dpkg --get-selections|grep -v 'deinstall$'|cut -f1
> 
> you want to save status, and since 'install$' matches lines ending in
> 'deinstall' as well ;^>

 nope, purge is a possible status too.

dpkg --get-selections | grep '[^A-Za-z]install$' | cut -f1
should work.

 This time for sure :)

-- 
#define X(x,y) x##y
Peter Cordes ;  e-mail: X([EMAIL PROTECTED] , ns.ca)

"The gods confound the man who first found out how to distinguish the hours!
 Confound him, too, who in this place set up a sundial, to cut and hack
 my day so wretchedly into small pieces!" -- Plautus, 200 BCE


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to