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

Thanks for the input, but when I tested out that code, it simply added 5 blank lines before and after my string.

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

Replies are listed 'Best First'.
Re^3: Print Lines above and below string
by duyet (Friar) on Aug 10, 2011 at 15:25 UTC
    Sorry i first thought you wanted to print empty lines. Try the "grep" command, as in my updated post