Hello
I have a series of files whereby I want to miss out the first set of lines based on a key word
I'm running a korn shell script so can get the start record using grep -n "Value" and set this to a variable ie start_rec
What I'm hoping I can do is use awk NR to parse the file, if NR > start_rec then print
Anyone have the most efficient way of doing this ?
Thanks
Rob
I have a series of files whereby I want to miss out the first set of lines based on a key word
I'm running a korn shell script so can get the start record using grep -n "Value" and set this to a variable ie start_rec
What I'm hoping I can do is use awk NR to parse the file, if NR > start_rec then print
Anyone have the most efficient way of doing this ?
Thanks
Rob