bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sort order bug in GNU sort


From: Eric Blake
Subject: Re: Sort order bug in GNU sort
Date: Thu, 29 Oct 2009 18:51:56 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Luke Hutchison on 10/29/2009 6:48 PM:
> OK, it turns out that LANG=en_US.UTF-8 by default.  Setting LANG=C or
> LC_ALL=C, I get the correct expected sort order as shown below.  Where
> does that indicate the bug lies?

The bug lies in your expectations.  Sort is doing exactly what the
en_US.UTF-8 locale told it to do.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkrqOKwACgkQ84KuGfSFAYCs+gCggd68VByNhevFdQCU97YU7iiS
54kAoIhiS2Absqf2l9KK2BHnAejvyYpZ
=nMnX
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]