This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug localedata/21547] Tibetan script collation broken (Dzongkha and Tibetan)
- From: "maiku.fabian at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 15 Jan 2018 15:15:53 +0000
- Subject: [Bug localedata/21547] Tibetan script collation broken (Dzongkha and Tibetan)
- Auto-submitted: auto-generated
- References: <bug-21547-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=21547
--- Comment #13 from Mike FABIAN <maiku.fabian at gmail dot com> ---
A simpler example. A small rules file:
mfabian@taka:/local/mfabian/src/glibc (locales *$%)
$ cat rules-mini.txt
&b<z
&d<b
mfabian@taka:/local/mfabian/src/glibc (locales *$%)
And a simple test file:
mfabian@taka:/local/mfabian/src/glibc (locales *$%)
$ cat /tmp/test-latin.in
a
b
c
d
e
f
z
mfabian@taka:/local/mfabian/src/glibc (locales *$%)
Testing:
mfabian@taka:/local/mfabian/src/glibc (locales *$%)
$ ~/bin/icu-collation-test.py -r rules-mini.txt -i /tmp/test-latin.in -o
/tmp/test-latin.out
mfabian@taka:/local/mfabian/src/glibc (locales *$%)
Result:
mfabian@taka:/local/mfabian/src/glibc (locales *$%)
$ cat /tmp/test-latin.out
a
z
c
d
b
e
f
mfabian@taka:/local/mfabian/src/glibc (locales *$%)
$
The first line in the rules file move z after b. Then the second line
movez b after d. But that does not keep the z aber the b, the z is not
reordered together with the b, z stays where it was originally put by
the first line in the rules file. Moving the reference point b
somewhere else does not move the z.
--
You are receiving this mail because:
You are on the CC list for the bug.