This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
[Bug libc/374] New: The rules in LC_COLLATE are random and sometimes clearly wrong
- From: "munzirtaha at newhorizons dot com dot sa" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 8 Sep 2004 23:53:31 -0000
- Subject: [Bug libc/374] New: The rules in LC_COLLATE are random and sometimes clearly wrong
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
[root@localhost home]# LC_COLLATE=en_US ls -- 0 a A -a a- aa "a a" a-a "a z"
0 a -a a- A aa a a a-a a z
[root@localhost home]# LC_COLLATE=en_CA ls -- 0 a A -a a- aa "a a" a-a "a z"
0 A a -a a- aa a a a-a a z
[root@localhost home]# LC_COLLATE=da ls -- 0 a A -a a- aa "a a" a-a "a z"
-a 0 A a a a a z a- a-a aa
[root@localhost home]# LC_COLLATE=ar_SA ls -- 0 a A -a a- aa "a a" a-a "a z"
0 A a a a a z aa a- a-a -a
da: (the character "-" has a 1st order sorting value, coming before letters and
numbers; on most other locales "-" is ignored in sorting)
ar_SA: (note how ar_SA handles "-" as a collatable element coming after "z")
--
Summary: The rules in LC_COLLATE are random and sometimes clearly
wrong
Product: glibc
Version: 2.3.3
Status: NEW
Severity: critical
Priority: P2
Component: libc
AssignedTo: gotom at debian dot or dot jp
ReportedBy: munzirtaha at newhorizons dot com dot sa
CC: glibc-bugs at sources dot redhat dot com,pablo at
mandrakesoft dot com
http://sources.redhat.com/bugzilla/show_bug.cgi?id=374
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.