On 2/15/16 12:35 PM, Linda Walsh wrote: > Bash Version: 4.2 > Patch Level: 53 > 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 -- ``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/