John Blance wrote: > Nick > > You will need a script that 'remembers'. i.e have a variable $foundProprietor which >is initially false. Once you find the line with "Proprietor" on it set the variable >to true, then process the next line to the output stream and reset Proprietor to >false again. >
I'm just thinking on the run here, so forgive me if I'm wrong. I am sure that if you cat a file into an awk script, it appears as one line of fields (by default), from that you can pick the ones you want, yes... Adrian
