Bug#1812: Cut in textutils with fields
Package: textutils
Version: 1.11-2
I'm not sure if this a bug but IMO it is very misleading.
Specified fields with cut aren't ordered as specified in output.
$ cat testfile
1 2 3
1 2 3
1 2 3
$ cat testfile | cut -f1,2,3
1 2 3 ~~~~~
1 2 3
1 2 3
$ cat testfile | cut -f2,1,3
1 2 3 ~~~~~
1 2 3
1 2 3
Perhaps it is intended to be this way. If so this needs to be more
clearly explained in the man/info page.
Erick
--
Erick Branderhorst@heel.fgg.eur.nl +31-10-4635142
Department of General Surgery (Intensive Care) University Hospital Rotterdam NL
Reply to: