On 7/1/13 11:36 PM, Tomasz Tomasik wrote:
> Hello.
>
> I have problem with case-modifying word expansions in bash.
> http://wiki.bash-hackers.org/syntax/pe#case_modification
>
> bash -c 'foo="żółw"; echo ${foo^^}'
> żółW
>
> Characters with diacritical marks are not affected.
>
> However, it wo
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 to
On Tue, Jul 02, 2013 at 05:36:43AM +0200, Tomasz Tomasik wrote:
> bash -c 'foo="??ó??w"; echo ${foo^^}'
> ??ó??W
>
> Characters with diacritical marks are not affected.
I get the same result in ISO-8859-1:
imadev:~$ x='fóo'; echo "${x^^}"
FóO
imadev:~$ locale
LANG=en_US.iso88591
LC_CTYPE="en_US.
Hello.
I have problem with case-modifying word expansions in bash.
http://wiki.bash-hackers.org/syntax/pe#case_modification
bash -c 'foo="żółw"; echo ${foo^^}'
żółW
Characters with diacritical marks are not affected.
However, it works in zsh:
zsh -c 'foo="żółw"; echo ${(U)foo}'
ŻÓŁW
Terminal c