Re: locale specific ordering in EN_US -- why is a<A<b<B<y<Y<z<Z?
From:
Chet Ramey
Subject:
Re: locale specific ordering in EN_US -- why is a<A<b<B<y<Y<z<Z?
Date:
Mon, 21 May 2012 15:42:43 -0400
User-agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:11.0) Gecko/20120327 Thunderbird/11.0.1
On 5/21/12 3:27 PM, Aharon Robbins wrote:
> This is why I started the Campaign For Rational Range Interpretation,
> now part of gawk and I believe in the most recent grep also, which
> returns us to the sane days of yesteryear, where [a-z] got only lowercase
> letters and [A-Z] got only uppercase ones.
The next version of bash will have a shell option to enable this behavior.
It's in the development snapshots if anyone wants to try it out now.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/