Hi,
Is there a way in awk to print a range of fields without using a for loop ?
e.g. A file contains:
a,b,c,d,e,f,g,h
How can I print fields 3 to 8 without using a for loop to get :
c,d,e,f,g,h
I've done it with a for loop but I get an error saying that the input line is too long.
Thanks,
M.
Is there a way in awk to print a range of fields without using a for loop ?
e.g. A file contains:
a,b,c,d,e,f,g,h
How can I print fields 3 to 8 without using a for loop to get :
c,d,e,f,g,h
I've done it with a for loop but I get an error saying that the input line is too long.
Thanks,
M.