Is there a way to tell awk to ignore the first 11 lines of a file?? example, I have a csv file with all the heading information in the first lines. I want to split the file into 5-6 different files but I want to retain the the first 11 lines of the file.
It cuts off the first 11 lines... Right now im just doing two steps to create the file running sed 11q > something-new.csv then running the above command appending something-new.csv. Is there a way to do that with just nawk so I can eliminate the sed command?
hmm, Ive tried these examples. the first 11 are not printed in any of the above statements. Maybe I asked incorrectly? I am looking to have lines 1-11 printed regardless of any parameters I pass with awk.
Perhaps my two command way is the best way to do this?