On 8/13/16 3:59 PM, Eduardo Bustamante wrote:
> Character ranges are locale-dependant. Check the values of LC_ALL and
> LC_COLLATE. Under some locales, the [A-Z] range is actually AaBb..Z. That's
> why it's better to use the character classes, i.e. [[:alpha:]],
> [[:lower:]], [[:upper:]], etc.
Thi
psko...@gmail.com wrote:
> [a-z]) echo "Character is in Lowercase";;
> [A-Z]) echo "Character is in Uppercase";;
What is the output of 'locale' for you? It will almost certainly show
that your LC_COLLATE is *NOT* set to the C locale but to some other
locale. Your statemen
Thanks a a lot. That's useful info.
Your suggestions do fix the problem.
On 08/13/2016 09:59 PM, Eduardo Bustamante wrote:
Character ranges are locale-dependant. Check the
values of LC_ALL and LC_COLLATE. Under some locales, the [A-Z]
ra
Character ranges are locale-dependant. Check the values of LC_ALL and
LC_COLLATE. Under some locales, the [A-Z] range is actually AaBb..Z. That's
why it's better to use the character classes, i.e. [[:alpha:]],
[[:lower:]], [[:upper:]], etc.
Unless you set the globasciiranges shopt:
globasciiran
Hi,
cannot replicate that with 4.4.0(18)-beta2 (latest devel at
a4eef1991c25c9d1c55f777952cd522c762c6fc3)
I would assume it has been fixed.
cheers,
pg
On 13 Aug 2016, at 12:12, psko...@gmail.com wrote:
> Configuration Information [Automatically generated, do not change]:
> Machine: x86_64
>