Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: (How) can I use regex patterns to find matching lines in a textfile?

by aging acolyte (Pilgrim)
on Nov 20, 2002 at 12:12 UTC ( [id://214407] : note . print w/replies, xml ) Need Help??


in reply to (How) can I use regex patterns to find matching lines in a textfile?

Ritter, if you are using unix you might want to consider using grep
system ("grep pattern | head -maxnumberofmacthes");
AA
  • Comment on Re: (How) can I use regex patterns to find matching lines in a textfile?
  • Download Code