I am trying to modify some code which has the following print command:
for (i=1; i<NF; i++)
printf("%$%S",$i,i==NF?ORS:OFS)
I think this is printing all lines from a file but I want to exclude certain lines (which all begin with the same group number) from the printing.
Any help would be much appreciated.
for (i=1; i<NF; i++)
printf("%$%S",$i,i==NF?ORS:OFS)
I think this is printing all lines from a file but I want to exclude certain lines (which all begin with the same group number) from the printing.
Any help would be much appreciated.