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

I have the gateway running at full logging level, thats the only time I am going to be seeing these params (this particular one is actually a SIP subscribe request ID, additional parts of which I have removed). I will be running into such entries probably once in 100 lines. So, I am not really worried about the overlap part of your answer.

As for egrep - its windows, so not available to me - plz help
  • Comment on Re^2: grab 'n' lines from a file above and below a /match/

Replies are listed 'Best First'.
Re^3: grab 'n' lines from a file above and below a /match/
by Aristotle (Chancellor) on Sep 16, 2004 at 23:04 UTC
      Maybe even pcregrep has a windows port? I'm too lazy to check though.