[A-Z]* oddities

Mark Mielke mark at mark.mielke.cc
Mon Feb 2 18:53:35 UTC 2004


On Mon, Feb 02, 2004 at 01:15:01PM -0500, Behdad Esfahbod wrote:
> This is totally expected :).
> For what you want try LANG=C echo [A-Z]* ...
> In LANG=en_US.UTF-8 which is the default, both 'A' and 'a' sort
> before 'B' and 'b'.

The messed up part, in my mind, is that they actually implemented it
correctly. Last time I checked, the Perl authors had given up on ever
getting it to work correctly... (probably scared to hurt efficiency
and/or break existing programs)

mark

-- 
mark at mielke.cc/markm at ncf.ca/markm at nortelnetworks.com __________________________
.  .  _  ._  . .   .__    .  . ._. .__ .   . . .__  | Neighbourhood Coder
|\/| |_| |_| |/    |_     |\/|  |  |_  |   |/  |_   | 
|  | | | | \ | \   |__ .  |  | .|. |__ |__ | \ |__  | Ottawa, Ontario, Canada

  One ring to rule them all, one ring to find them, one ring to bring them all
                       and in the darkness bind them...

                           http://mark.mielke.cc/





More information about the fedora-devel-list mailing list