goldenradium2001
Technical User
I am just trying a simple experiment with sed. I have a file with five columns with tabs as the delimiter called file1.
one two three four five
one two three four five
one two three four five
I want to switch columns one and two so that the file looks like:
two one three four five
two one three four five
two one three four five
I'm using the substitute command with the (.*\) syntax but am unable to figure out what command syntax to use.
Any help? Thanks.
one two three four five
one two three four five
one two three four five
I want to switch columns one and two so that the file looks like:
two one three four five
two one three four five
two one three four five
I'm using the substitute command with the (.*\) syntax but am unable to figure out what command syntax to use.
Any help? Thanks.