in reply to Re: Lines above and Below a matched string
in thread Lines above and Below a matched string

Kinda yes and kinda no. If line 2 doesn't match, you have then make line three the first line of your buffer and read in two lines.

-derby

  • Comment on Re: Re: Lines above and Below a matched string