I want to search for text in a file, when the text is found display that line and the following two lines (format of the file), then continue searching for the next hit.
eg.
search for 'help'
display the 'help' line
disply the next two lines in the file
continue the search for 'help'
Anyone know how this is done ?
thanks
madra
I only ask stupid questions because I'm thick
eg.
search for 'help'
display the 'help' line
disply the next two lines in the file
continue the search for 'help'
Anyone know how this is done ?
thanks
madra
I only ask stupid questions because I'm thick