Hi
Is it possible to skip backwards a number of records when using awk? For example, if I'm reading each line in an input file and reach a line which begins with certain text I want to skip backwards a couple of lines in the input file and carry out some extra processing.
I may need to revisit the 'logic' in my script, but I thought I'd ask this question anyhow!
Thanks.
Is it possible to skip backwards a number of records when using awk? For example, if I'm reading each line in an input file and reach a line which begins with certain text I want to skip backwards a couple of lines in the input file and carry out some extra processing.
I may need to revisit the 'logic' in my script, but I thought I'd ask this question anyhow!
Thanks.