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.