-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to [EMAIL PROTECTED] on 3/24/2006 8:50 AM: > I have found what appears to be a bug in gnu sort 5.2.1, under Linux.
5.2.1 is old; consider upgrading to the latest stable version 5.94: http://lists.gnu.org/archive/html/bug-coreutils/2006-02/msg00078.html > The attached file is in UNIX format (no carriage returns). It is -not- > in sorted order. Running 'sort sort.txt' produces output in the same > order, ie unsorted. If you have trouble reproducing this, please get > back to me and I'll provide complete environmental information. Thanks > for your attention. This is probably not a bug in sort, but a misunderstanding on your part. You probably have your locale set to something that collates strings in a manner that your provided input file is already sorted in that locale. http://www.gnu.org/software/coreutils/faq/coreutils-faq.html#Sort-does-not-sort-in-normal-order_0021 Try 'LC_ALL=C sort sort.txt' to see the difference. - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEJCFV84KuGfSFAYARAtsNAJ9I8D1Tj1Prj+HB80YPRISrJNQ7NwCeIme7 zY1k/rL1OpTIKJ5MReLy5eQ= =2su6 -----END PGP SIGNATURE----- _______________________________________________ Bug-coreutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-coreutils
