Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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 ( #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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://214407]
help
Chatterbox?
[LanX]: I Can't Wait ...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (9)
As of 2018-02-23 11:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (301 votes). Check out past polls.

    Notices?