So I'm trying to parse data into a different format, but the last columns data contains the separator.
If I use:
awk -F: {' print $1 "\t" $2 "\t" $3 '}
and the data is:
ExampleCol1:ExampleCol2:Ex:am:ple:Col3
I only get:
ExampleCol1 ExampleCol2 Ex
How can I grab the rest of the columns after $2
? So something like:
print $1 "\t" $2 "\t" $(REST OF COLUMNS)