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

As for egrep - its windows, so not available to me

Sure is. A quick Google search reveals GNU utilities for Win32 and Gnu Grep for Win32.

Makeshifts last the longest.

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

Replies are listed 'Best First'.
Re^4: grab 'n' lines from a file above and below a /match/
by flogic (Acolyte) on Sep 17, 2004 at 18:14 UTC
    Maybe even pcregrep has a windows port? I'm too lazy to check though.