in reply to Re: Print Lines above and below string
in thread Print Lines above and below string

Thanks for the input. Few questions. My file sizes will be around 2.5 megs max. Not sure if that's a problem or not. Also once I ran the script you provided, I got an error on the last line

Here is the error: syntax error at ./readlog5.pl line 12, near "$_i ("

  • Comment on Re^2: Print Lines above and below string