bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Failglob issues


From: Chet Ramey
Subject: Re: Failglob issues
Date: Sun, 01 Sep 2013 21:45:49 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130328 Thunderbird/17.0.5

-----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    address@hidden    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-----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]