bash and the current locale implementation

Eric Blake
Thu Oct 1 10:50:00 GMT 2009

According to Corinna Vinschen on 10/1/2009 4:28 AM:
> Consequentially, bash can't just call setlocale (LC_ALL, "").  Instead,
> bash calls the following:
>   setlocale (LC_CTYPE, "foo");
>   setlocale (LC_NUMERIC, "foo");
>   setlocale (LC_TIME, "foo");
>   [...]

I'll see if I can find some way to patch bash.

> Same goes for dash, btw, but it isn't locale-aware anyway.

dash prides itself on being as small as possible; I'm not going out of my
way to change that by adding locale support.

Don't work too hard, make some time for fun as well!

Eric Blake   

More information about the Cygwin-developers mailing list