laziness, impatience, and hubris | |
PerlMonks |
Re: how can i search a text file for a string and print every occurence of that stringby munchie (Monk) |
on May 17, 2002 at 14:01 UTC ( [id://167301]=note: print w/replies, xml ) | Need Help?? |
Here's a less compicated way to do it.
However with this will not pick up a match that occurs over multiple lines, and it also is not very fast when munging through huge files.
In Section
Seekers of Perl Wisdom
|
|