[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: square bracket vs. curly brace character ranges
From: |
Greg Wooledge |
Subject: |
Re: square bracket vs. curly brace character ranges |
Date: |
Mon, 17 Sep 2012 08:38:22 -0400 |
User-agent: |
Mutt/1.4.2.3i |
On Sat, Sep 15, 2012 at 06:12:24PM -0600, Bob Proulx wrote:
> I don't know so I will ask. Isn't the problem endemic to glibc? Do
> other libc's such as HP-UX or AIX or other have this same issue? I am
> out of touch on the details of them these days.
imadev:/tmp/greg$ uname -a
HP-UX imadev B.10.20 A 9000/785 2008897791 two-user license
imadev:/tmp/greg$ echo [a-c]
A a Á á À à Â â Ä ä Å å Ã ã Æ æ B b C c
imadev:/tmp/greg$ locale
LANG=en_US.iso88591
LC_CTYPE="en_US.iso88591"
LC_COLLATE="en_US.iso88591"
...
bash-2.04# uname -a
HP-UX megview1 B.11.11 U 9000/785 532302039 unlimited-user license
bash-2.04# echo [a-c]
a b c
bash-2.04# ksh -c 'echo [a-c]'
a Á á À à Â â Ä ä Å å Ã ã æ B b C c
bash-2.04# locale
LANG=en_US.iso88591
LC_CTYPE="en_US.iso88591"
LC_COLLATE="en_US.iso88591"
...
(I need to build a newer bash on that one some time. And no, I don't
have anything newer than 11.11.)