begin  quoting James G. Sack (jim) as of Mon, Dec 03, 2007 at 12:57:56PM -0800:
> John H. Robinson, IV wrote:
[snip]
> > Add some perl and blamo!
> > 
> > $ grep -h -E '^(Package|Description): ' /var/lib/apt/lists/*Packages|perl 
> > -ne '/^P\S+: (.*)/ and $p=$1;/^D\S+: (.*)/ and print "$p: $1\n"'

I might make an alias of that...

> Ahhh, thanks.
> 
>   grep -h -E '^(Package|Description): \
>       '/var/lib/apt/lists/*Packages|head -4

Um, I don't think you want to break it there... plus, you want a space
between the closing quote and /var/lib/apt/whatnot.

-- 
Awk should do it.
Stewart Stremler


-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to