How about using awk or perl instead?

  $ echo a b c d e| cut -d' ' -f 4,3
  c d

vs.

  $ echo a b c d e | awk '{ print $4, $3 }'
  d c

  $ echo a b c d e | perl -an -e 'printf "$F[3] $F[2]\n"'
  d c

You could even use sed.

Martin Schulte <[EMAIL PROTECTED]> wrote:
| Sorry for writing to bug-textutils, but I didn't find another address...
|
| I'm using cut 2.0.10, and I assume, the following behaviour is standard, but
| wouldn't it be possible to change it ?
|
| If I do
| cut -f 4,3
| I get the 3rd field first, and the fourth field second. Wouldn't it be
| possible to add an option that the fields will be printed out in the order
| given in the commandline ?

_______________________________________________
Bug-textutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-textutils

Reply via email to