bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bash case-modifying word expansions and locales


From: Chet Ramey
Subject: Re: Bash case-modifying word expansions and locales
Date: Sat, 06 Jul 2013 20:17:30 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130328 Thunderbird/17.0.5

On 7/2/13 7:58 AM, Greg Wooledge wrote:

>> Characters with diacritical marks are not affected.
> 
> I get the same result in ISO-8859-1:
> 
> imadev:~$ x='fóo'; echo "${x^^}"
> FóO

On the systems I'm looking at, that is neither a multibyte character (so
you can't convert it to a whar_t and use towupper) nor one that `works'
with islower or toupper.  I'm not sure what else should happen in this
case.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]