Say I have a text file with a bunch of lines, each line being divided into a bunch of different entries, like:
a b hejw 9393 glto
how would I get unix to rearange those lines in a specific order like:
b glto 9393 a hejw
I know it could be done simple with some array entries but I am unsure as how to do it exactly.
a b hejw 9393 glto
how would I get unix to rearange those lines in a specific order like:
b glto 9393 a hejw
I know it could be done simple with some array entries but I am unsure as how to do it exactly.
