-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Omesh_Vashisth/CHE/HSS on 9/5/2007 11:56 PM: > > cut -f12,3 -d, filename = ; and cut > -f3,12 -d, filename > > Both the commands yeild to same result with rows conatining fields 3 > and 12 in the same sequence of 3,12.
Not a bug. Cut is required, by POSIX, to list fields in numerical order, or, according to 'cut --help': "Selected input is written in the same order that it is read, and is written exactly once." If you want to rearrange field order, you should use something else, like awk. > "DISCLAIMER: This message is proprietary... Please refrain from using email accounts that attach disclaimers when posting to public lists. The very nature of a public lists makes the disclaimer unenforceable, and there are several people who will refuse to respond to mail with such disclaimers. - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG3+9Z84KuGfSFAYARAlfTAJ97lYoiiPhz8P/y2FIu14wLVuiYswCgjcbo WiScB8qlGddnwhkK+2j4QnM= =Vdwd -----END PGP SIGNATURE----- _______________________________________________ Bug-coreutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-coreutils
