in reply to grab 'n' lines from a file above and below a /match/

Sorry for this shameless self-reference... :-)

You might be interested in something I wrote to extract pieces of huge database dump files: A little script that combines `head' and `tail' utilities

  • Comment on Re: grab 'n' lines from a file above and below a /match/