|
|
| No such thing as a small change | |
| PerlMonks |
Re: Strange grep and matching behaviour...by vladb (Vicar) |
| on May 22, 2002 at 17:27 UTC ( [id://168594]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
How about this:
Let the almighty grep take care of filtering all lines containing 'foobar' out. The match should do it just fine. I tested similar script with this command: This would only print: and filter the 'foobar' line out! ;-) UPDATE: owww, and how did I miss so many earlier posts!? I'm sorry Ovid, I didn't notice your post which makes my look like nothing but straight copy. ;/. _____________________
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||