Re: locale specific ordering in EN_US -- why is a

2013-06-28 Thread Chet Ramey
On 6/28/13 5:08 AM, Paolo Bonzini wrote: >>> On non-glibc systems they use gnulib's regex implementation, so they're >>> fine. >> >> You presume much. Bash, for instance, doesn't use a regex implementation, >> especially not gnulib's. > > Does that mean you have no way to make sure that [A-Z] is

Re: locale specific ordering in EN_US -- why is a

2013-06-28 Thread Paul Eggert
On 06/28/2013 09:48 AM, Paolo Bonzini wrote: > I may even agree, but the fact remains that until you fix it in glibc, > you have not fixed it. As long as glibc doesn't change, there's no > point in changing everything else. Unfortunately, one reason to change glibc is: "Ouch! all these GNU applic

Re: locale specific ordering in EN_US vs. characterset collation rules for UTF-8

2013-06-28 Thread Chet Ramey
On 6/28/13 1:04 AM, Linda Walsh wrote: > > > Chet Ramey wrote: >> The world is larger than glibc and the glibc locale definitions. We need >> a solution that encompasses all of it. That solution should, and maybe >> will, include glibc, but that is not sufficient by itself. > > I don't

Re: locale specific ordering in EN_US -- why is a

2013-06-28 Thread Eric Blake
On 06/28/2013 11:50 AM, Eli Zaretskii wrote: >> Date: Fri, 28 Jun 2013 18:48:09 +0200 >> From: Paolo Bonzini >> CC: jsm...@suse.de, chet.ra...@case.edu, arn...@skeeve.com, >> bug-bash@gnu.org, bug-...@gnu.org >> >> I may even agree, but the fact remains that until you fix it in glibc, >> you hav

Re: locale specific ordering in EN_US -- why is a

2013-06-28 Thread Eli Zaretskii
> Date: Fri, 28 Jun 2013 18:48:09 +0200 > From: Paolo Bonzini > CC: jsm...@suse.de, chet.ra...@case.edu, arn...@skeeve.com, > bug-bash@gnu.org, bug-...@gnu.org > > I may even agree, but the fact remains that until you fix it in glibc, > you have not fixed it. As long as glibc doesn't change, t

Re: locale specific ordering in EN_US vs. characterset collation rules for UTF-8

2013-06-28 Thread Linda Walsh
Paolo Bonzini wrote: Il 28/06/2013 07:04, Linda Walsh ha scritto: > > Chet Ramey wrote: >> The world is larger than glibc and the glibc locale definitions. We need >> a solution that encompasses all of it. That solution should, and maybe >> will, include glibc, but that is not sufficient by i

Re: locale specific ordering in EN_US -- why is a

2013-06-28 Thread Paolo Bonzini
Il 28/06/2013 15:18, Eli Zaretskii ha scritto: > Thanks for the lecture, I already know all that. > > GNU projects used to treat Posix standards in a less dogmatic way at > some point, reserving strict Posix compliance to special options. If > that changed lately, I'm sorry. I think our tools ne

Re: locale specific ordering in EN_US -- why is a

2013-06-28 Thread Eli Zaretskii
> Date: Fri, 28 Jun 2013 15:05:29 +0200 > From: Paolo Bonzini > CC: jsm...@suse.de, chet.ra...@case.edu, arn...@skeeve.com, > bug-bash@gnu.org, bug-...@gnu.org > > Il 28/06/2013 14:49, Eli Zaretskii ha scritto: > > > > When being consistent means being buggy, I don't want the consistency. > > >

Re: locale specific ordering in EN_US -- why is a

2013-06-28 Thread Paolo Bonzini
Il 28/06/2013 14:49, Eli Zaretskii ha scritto: > > > When being consistent means being buggy, I don't want the consistency. > > > I want the bug solved in all the programs I use, but if it takes time > > > to do that, I will be glad in the meantime to use some programs that > > > don't have that bu

Re: locale specific ordering in EN_US -- why is a

2013-06-28 Thread Eli Zaretskii
> Date: Fri, 28 Jun 2013 12:38:03 +0200 > From: Paolo Bonzini > CC: Johannes Meixner , chet.ra...@case.edu, > arn...@skeeve.com, bug-bash@gnu.org, bug-...@gnu.org > > > When being consistent means being buggy, I don't want the consistency. > > I want the bug solved in all the programs I use, bu

Re: locale specific ordering in EN_US -- why is a

2013-06-28 Thread Paolo Bonzini
Il 28/06/2013 12:24, Eli Zaretskii ha scritto: >> Date: Fri, 28 Jun 2013 11:23:53 +0200 (CEST) >> From: Johannes Meixner >> Cc: Paolo Bonzini , Aharon Robbins , >> bug-bash@gnu.org, bug-...@gnu.org >> >> >From my point of view a primary question is: >> >> What matters more: >> Consistent beha

Re: locale specific ordering in EN_US -- why is a

2013-06-28 Thread Eli Zaretskii
> Date: Fri, 28 Jun 2013 11:23:53 +0200 (CEST) > From: Johannes Meixner > Cc: Paolo Bonzini , Aharon Robbins , > bug-bash@gnu.org, bug-...@gnu.org > > >From my point of view a primary question is: > > What matters more: > Consistent behaviour for all users across different platforms. > Inc

Re: locale specific ordering in EN_US vs. characterset collation rules for UTF-8

2013-06-28 Thread Paolo Bonzini
Il 28/06/2013 07:04, Linda Walsh ha scritto: > > > Chet Ramey wrote: >> The world is larger than glibc and the glibc locale definitions. We need >> a solution that encompasses all of it. That solution should, and maybe >> will, include glibc, but that is not sufficient by itself. > > I

Re: locale specific ordering in EN_US -- why is a

2013-06-28 Thread Johannes Meixner
Hello, On Jun 27 15:19 Chet Ramey wrote: On 6/27/13 8:11 AM, Johannes Meixner wrote: I do not care too much which kind of locale specific ordering or collating or regex behaviour is actually implemented as long as it works consistently in grep, gawk, sed, bash,... This is Arnold's goal. An

Re: locale specific ordering in EN_US -- why is a

2013-06-28 Thread Paolo Bonzini
Il 27/06/2013 21:19, Chet Ramey ha scritto: >> > I do not care too much which kind of locale specific ordering >> > or collating or regex behaviour is actually implemented >> > as long as it works consistently in grep, gawk, sed, bash,... > This is Arnold's goal. And the way he's solving it will n

Re: locale specific ordering in EN_US -- why is a

2013-06-28 Thread Paolo Bonzini
Il 27/06/2013 21:13, Chet Ramey ha scritto: > On 6/27/13 4:48 AM, Paolo Bonzini wrote: >> Il 27/06/2013 09:33, Aharon Robbins ha scritto: >>> Hi Paolo. >>> > I still believe that there is no place other than the glibc locale > descriptions where this can be fixed. >>> This is necessary but