sed-devel
[Top][All Lists]
Advanced

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

Re: working around erroneous en_US.UTF-8 collation on at least OS X 10.1


From: Assaf Gordon
Subject: Re: working around erroneous en_US.UTF-8 collation on at least OS X 10.10.5 thru 10.11.6
Date: Sun, 24 Jul 2016 23:04:59 -0400

> On Jul 24, 2016, at 02:14, Jim Meyering <address@hidden> wrote:
> 
> 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>

Good catch, I see the same on Mac OS X 10.10.4
(and sc_THANKS_in_sorted is skipped with the above patch).

BTW,
I now notice the same failure in coreutils (on Mac OS X 10.10.4).

-assaf






reply via email to

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