[EMAIL PROTECTED] wrote:
> hi
>
> i have a file something like this
>
> abcdefgh
> ijklmnopq
> 12345678
> rstuvwxyz
> .
> .
> .
> 12345678
> .
>
> whenever i search the file and reach 12345678, how do i get the line
> just above and below ( or more than 1 line above/below) the pa
[EMAIL PROTECTED] wrote:
>i have a file something like this
>
>abcdefgh
>ijklmnopq
>12345678
>rstuvwxyz
>.
>.
>.
>12345678
>.
>
>whenever i search the file and reach 12345678, how do i get the line
>just above and below ( or more than 1 line above/below) the pattern
>12345678 and s
[EMAIL PROTECTED] wrote:
> hi
>
> i have a file something like this
>
> abcdefgh
> ijklmnopq
> 12345678
> rstuvwxyz
> .
> .
> .
> 12345678
> .
>
> whenever i search the file and reach 12345678, how do i get the line
> just above and below ( or more than 1 line above/below) the patte
[EMAIL PROTECTED] wrote:
> hi
>
> i have a file something like this
>
> abcdefgh
> ijklmnopq
> 12345678
> rstuvwxyz
> .
> .
> .
> 12345678
> .
>
> whenever i search the file and reach 12345678, how do i get the line
> just above and below ( or more than 1 line above/below) the patt
<[EMAIL PROTECTED]> wrote:
> hi
>
> i have a file something like this
>
> abcdefgh
> ijklmnopq
> 12345678
> rstuvwxyz
> .
> .
> .
> 12345678
> .
>
> whenever i search the file and reach 12345678, how do i get the line
> just above and below ( or more than 1 line above/below) the