[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sort behavior - Ubuntu problem?
From: |
The Wanderer |
Subject: |
Re: sort behavior - Ubuntu problem? |
Date: |
Wed, 24 Jan 2007 20:14:30 -0500 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050922 |
Paul Eggert wrote:
"Kevin Scannell" <address@hidden> writes:
Can anyone with a Debian-like distribution reproduce the strange
sort order I'm seeing?
a
á
áa
aá
az
áz
ázzzza
azzzzá
I can't, with Debian stable x86. I get the order you expect.
I can, with a mix of Debian unstable and testing, also x86.
==
$ sort test.txt
a
á
áa
aá
az
áz
ázzzza
azzzzá
$ sort --version | head -n1
sort (GNU coreutils) 5.97
$ locale
LANG=POSIX
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=en_US.UTF-8
==
FTLIW, I get precisely the same result with my default locale, in which
both LANG and LANGUAGE are set equal to en_US.UTF-8 (no quotes). I
explicitly set LANG and unset LANGUAGE for this test.
If there is information I can provide which would be helpful, just let
me know what it is and where and how to obtain it.
I get the same order with coreutils 6.7 as well.
I don't have coreutils 6.7 handy, but I'm grabbing the latest CVS code
now, and can build it and test with that (assuming that it runs properly
from its build location) if need be.
--
The Wanderer feels like he may regret this
Warning: Simply because I argue an issue does not mean I agree with any
side of it.
Secrecy is the beginning of tyranny.