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

Re: Grab 3 lines before and 2 after each regex hit

by clueless newbie (Curate)
on Apr 24, 2014 at 15:32 UTC ( [id://1083630]=note: print w/replies, xml ) Need Help??


in reply to Grab 3 lines before and 2 after each regex hit

Andy Lester's ack will do the trick.
  • Comment on Re: Grab 3 lines before and 2 after each regex hit

Replies are listed 'Best First'.
Re^2: Grab 3 lines before and 2 after each regex hit
by HarryPutnam (Novice) on Apr 25, 2014 at 21:44 UTC
    `ack' does look pretty interesting... thank you.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1083630]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (3)
As of 2024-04-19 01:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found