[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dpkg -l format



Quoting Antti-Juhani Kaijanaho:
> On Tue, Oct 05, 1999 at 05:45:34AM -0400, Raul Miller wrote:
> > 	grep-status -P netscape | awk '/^Package: /{print $2}' | xargs dpkg --purge
> 
> which is better written as
> 
> grep-status -P -sPackage -n netscape
> 
> since this does not use an extra awk process.

Of course, it's all much better written as:

dwim

Which is, of course, far more flexible.

-- 
((lambda (x) (list x (list (quote quote) x)))
(quote (lambda (x) (list x (list (quote quote) x)))))
	-- A LISP quine written by Seth David Schoen
+++ath


Reply to: