-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 9/1/13 10:52 AM, Chris Down wrote:
> This seems a bit more odd to me.
>
> $ > foo
> $ declare -A foo=([bar]=*)
> $ echo "${foo[bar]}"
> *
> $ shopt -s nullglob
> $ declare -A foo=([bar]=*)
> $ echo "${foo[bar]}"
>
> $ echo "$BASH_VERSION"
> 4.2.45(2)-release
>
> That looks like a bug, maybe.
It is, and it was fixed in June, 2011. The fix will be in bash-4.3 and is
in the devel branch now.
Chet
- --
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU [email protected] http://cnswww.cns.cwru.edu/~chet/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iEYEARECAAYFAlIj7cQACgkQu1hp8GTqdKuAvACfcMVeYDJNLwh8i/Q2AEzrVjdX
KxcAoIkhH2maCVthwAgVfMqoDTlh2hkd
=PXUf
-----END PGP SIGNATURE-----