simple bash question about cut
I want to print 2 fields according to a delemeter but I want to change the order.
With cut the -f5,1 and -f1,5 print the same thing.
first the first field and then the 5th field.
I need the 5th fiend displayed first, in order to sort the file according to this field.
Is there an easy way, or do I have to use awk,perl and those kind of stuff.
Thanx, for any help