bug-bash
[Top][All Lists]
Advanced

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

Re: bug adding K,V pairs to existing hash with HASH+=([K]=V)


From: Linda Walsh
Subject: Re: bug adding K,V pairs to existing hash with HASH+=([K]=V)
Date: Mon, 15 Feb 2016 12:48:30 -0800
User-agent: Thunderbird



Chet Ramey wrote:
On 2/15/16 12:35 PM, Linda Walsh wrote:

Bash Version: 4.3
Patch Level: 42
Release Status: release

Description:
        [Detailed description of the problem, suggestion, or complaint.]

        When I create hash and later add keys using the form
"HASH+=([key]=VALUE)", if KEY already existed in the HASH, then
I get the += applied to the VALUE as well
(strings get appended, ints get added).

Whether '+=' or '=' is used in the VALUE assignment, the
effect is '+='.

http://lists.gnu.org/archive/html/bug-bash/2014-11/msg00169.html
http://lists.gnu.org/archive/html/bug-bash/2014-11/msg00179.html
----
Right... and?

Did it never make it in to 4.3?  (Note, the "auto generated info
included with this bug report was wrong -- as explained in next bug
report...)





reply via email to

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