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 dont see any output using it, I just tried it against a smaller text file and that doesnt give any output either ..
  • 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 Zaxo (Archbishop) on Sep 16, 2004 at 23:22 UTC

    Does it help to say print @lines; at the end?

    After Compline,
    Zaxo

      yes it does :) doh!! thanks