[OpenIndiana-discuss] Bash brace expansion in non-C locales??

Sašo Kiselkov skiselkov.ml at gmail.com
Tue Mar 12 21:02:27 UTC 2013


On 03/12/2013 09:53 PM, Hans J. Albertsson wrote:
> I sort of expected
> 
> echo {Z..Ö}
> 
> to generate
> 
> Z Å Ä Ö
> 
> when LC_ALL was set to sv_SE.UTF-8
> 
> But it doesn't. Seems like a bug, or what??
> 
> Found while hacking some scripts for backup and indexing stuff. Major
> showstopper, actually.

I'm pretty sure nobody in bash development actually considers
locale-specific letter ordering rules. Language-specific idiosyncrasies
are a never ending stream of hurt and implementation problems (e.g. in
my language "ch" is supposed to be treated as a single letter for
sorting purposes).

--
Saso



More information about the OpenIndiana-discuss mailing list