AWK- processing data inside start/stop pairs but ignoring start/stop lines
Hi all
I would like to know how to perform a small task in AWK. I'm able to extract data from a text file using "awk '/start/,/stop/'" all fine - I now wish to process the data further from the extract using AWK but ignoring the start/stop pair used to define the data set.
.
Start of text
line1 word1 word2
line2 word1 word2
End of Text
Is this possible please - any ideas ? Using the start/stop pair thereby inclus the first and last lines in the output, which I don't wish to process.
Cheers - Ian
|