[wellylug] Is there a good way to....

Enkidu enkidu at cliffp.com
Thu Jan 29 23:09:48 NZDT 2004


On Thu, 29 Jan 2004 22:54:37 +1300, you wrote:

>In message <20040129054906.90856.qmail at web12202.mail.yahoo.com>, Wood Brent writes:
>>If you have a few patterns, which do not easily fit a single regexp, just pipe
>>the output through successive grep -v commands in a single statement to filter
>>them all out.
>
>man 1 egrep
>
>Ewen
>
>PS: Now I re-read the original psuedo code, it looks like you want to
>    keep lines matching some pattern; in which case "grep" (and its
>    friends) sans the "-v" would do just fine.  Use whichever allows you
>    to best describe what you want to keep (ie, "keep these" or "keep
>    anything but these").

Yep grep should do what I want, with or without -v!

When you are programming everything looks like a programming
task....... Reminds me of that saying about hammers and nails...

Cheers,

Cliff
-- 

I think that Don Brash is a Labour mole.
That would explain everything.




More information about the wellylug mailing list