bug-coreutils
[Top][All Lists]
Advanced

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

subtle sort bug?


From: gregory mott
Subject: subtle sort bug?
Date: 29 Jun 2003 22:04:54 +0100

it seems sort is suffering from some subtle bug.  does this happen for
anyone else?  is it just my machine, is it a redhat problem, or is it
actually a gnu bug?

for example, en_IN repeatably produces proper results, but en_AU
repeatably fails to handle some special characters properly.  but both
of these locales use the same stock definitions:

LC_CTYPE
copy "i18n"
END LC_CTYPE
LC_COLLATE
copy "iso14651_t1"
END LC_COLLATE

en_IN producing correct results:
$  LC_CTYPE=en_IN LC_COLLATE=en_IN sort /tmp/sos
groan
grosr
groß
grost
red
résumé
resumed

en_AU producing incorrect results:
$  LC_CTYPE=en_AU LC_COLLATE=en_AU sort /tmp/sos
groß
groan
grosr
grost
résumé
red
resumed

(glibc-common-2.3.2-27.9, coreutils-4.5.3-19)
(redhat 9+up2date)





reply via email to

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