Re: Weirdness in associative array assignements

2014-10-15 Thread Chet Ramey
On 10/15/14, 4:55 AM, dnade@orange.com wrote: > Hello dear bash-bug mailing-list! > > I am puzzled by bash behavior with array assignments. > > It seems there is a behavior change introduced in bash 4.3 in array > assignments. An array can actually reference itself in its own dec

Weirdness in associative array assignements

2014-10-15 Thread dnade.ext
Hello dear bash-bug mailing-list! I am puzzled by bash behavior with array assignments. It seems there is a behavior change introduced in bash 4.3 in array assignments. An array can actually reference itself in its own declaration. $ declare -A foo=([bar]=1st) ; foo=([bar]=2nd [qwer