I have a file where every 156780th line there is a header row.I wanted to apply awk command to every row's first column except the second column of the header rows. Or atleast the header rows should be unaffected.Can anyone help me to do this.I have used the awk command as given below awk 'NR>2 {printf(%10i %15.8E\n,$1,$2);}' fort.74 > fort.75
How to apply awk command on all fields except a few specific rows
awk