Hi,
How can I tell to awk if I want to print from field number 2 to the end of the line (beside, each line has different number of field)?
So, if the line 1 has 4 fields, then I want to print field 2, 3 and 4. If the second line has 6 fields, I want to print field 2, 3, 4, 5 and 6.
Can somebody help me?
How can I tell to awk if I want to print from field number 2 to the end of the line (beside, each line has different number of field)?
So, if the line 1 has 4 fields, then I want to print field 2, 3 and 4. If the second line has 6 fields, I want to print field 2, 3, 4, 5 and 6.
Can somebody help me?