Given:
how can i print from one particular field to the end of line?
the delimiter just happens to be a comma "," in this case. in other cases, it could be hypens:
Code:
1,2,whatever,a,940,sot
Code:
awk -F"," '{print $2 - endofline}'
Code:
1---2---whatever---a---940---sot