-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 4/21/12 12:43 PM, Mike Frysinger wrote:
> first set your locale to something unicode based:
> export LC_ALL=en_US.UTF-8
> 
> then try the simple script (from Ulrich Müller):
> $ cat test.sh
> shopt -s extglob
> text="aaaäöü"
> echo "${text} ${text//?aa} ${text//\aaa}"
> 
> with bash-4.1_p2, i get:
> aaaäöü äöü äöü
> 
> but with bash-4.2_p8 ... 4.2_p24 (just what i have locally):
> aaaäöü aaaäöü aaaäöü
> 
> seems like a bug to me

Thanks for the report.  It definitely looks like the extglob triggers the
bad behavior.  I will take a look at it.

Chet


- -- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    c...@case.edu    http://cnswww.cns.cwru.edu/~chet/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+S+RAACgkQu1hp8GTqdKv7FQCeLUnNQx5C45rXfIi561B6JBZp
iLAAn3RpMtoii0i5Q8SinYYFeQ0GS48q
=wUJI
-----END PGP SIGNATURE-----

Reply via email to