Assuming you have a data file with N columns and you want to swap the first and second one, just type:
To keep the tabulation intact, you need to specify the separator.
Incoming separator is defined by -F $’\t’ and the separator for the output is defined by OFS=$’\t’.
0 comments:
Post a Comment