
12 Feb
2012
12 Feb
'12
5:42 a.m.
I have a file with lines like "a,b,c" which I want to be "c,b,a". I tried using "cut -f 3,2,1 -d," but it didn't do what I wanted. It seems that you can specify the desired fields on the cut command line any way you like but it will sort them to be in numeric order. Any ideas other than a sed command with positional parameters? -- My Main Blog http://etbe.coker.com.au/ My Documents Blog http://doc.coker.com.au/