grep | grep | grep .... better way ?

Derek Broughton news at pointerstop.ca
Sun Sep 23 14:10:14 UTC 2007


Nicolai Spohrer wrote:

> <bash>
> echo "I
> am
> foo
> bar" | egrep -v "(foo|I)"
> # returns:
> am
> bar </bash>
> 
> should do it ;-)

LOL!  That really simplifies things :-)
-- 
derek





More information about the ubuntu-users mailing list