On Tue, Oct 05, 1999 at 10:31:35AM +0300, Antti-Juhani Kaijanaho wrote:
> Simple:
> 
> grep-status -Pe '.*netscape.*' | grep-dctrl -FStatus -sPackage -n \
>  'install ok installed' | xargs dpkg --purge

Or simpler:

grep-status -P netscape | grep-dctrl -FStatus -sPackage -n \
 'install ok installed' | xargs dpkg --purge

(Lesson number one, ajk: never use regexps to simulate substring match.)

-- 
%%% Antti-Juhani Kaijanaho % [EMAIL PROTECTED] % http://www.iki.fi/gaia/ %%%

                                  ""
                             (John Cage)

Reply via email to