[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
working around erroneous en_US.UTF-8 collation on at least OS X 10.10.5
From: |
Jim Meyering |
Subject: |
working around erroneous en_US.UTF-8 collation on at least OS X 10.10.5 thru 10.11.6 |
Date: |
Sat, 23 Jul 2016 23:14:34 -0700 |
FYI, in at least the en_US.UTF-8 locale on some OS X systems, the
collation tables are wrong: "." is not ignored as it is everywhere
else. Demonstrate with this:
printf '%s\n' ja j.b| LC_ALL=en_US.UTF-8 sort -c
It should print nothing, but on the failing systems, it prints this:
sort: -:2: disorder: j.b
That bug was causing sed's "make syntax-check" to fail on those
systems, once the THANKS.in file was properly sorted. I've worked
around it by skipping the losing test on broken systems.
sc_THANKS_in_sorted.diff
Description: Text document
- working around erroneous en_US.UTF-8 collation on at least OS X 10.10.5 thru 10.11.6,
Jim Meyering <=