bug-bash
[Top][All Lists]
Advanced

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

Re: Unexpected result of array assignment


From: Henning
Subject: Re: Unexpected result of array assignment
Date: Thu, 18 Jul 2019 15:55:44 +0200
User-agent: Mozilla/5.0 (Windows NT 6.3; rv:56.0) Gecko/20100101 Thunderbird/56.0

On 18/07/2019 14:12, Greg Wooledge wrote:
On Thu, Jul 18, 2019 at 10:58:52AM +0200, Henning wrote:

        eval 'foo=(["key"]="'"${foo["key"]}"' value2")'

If you just want to work around the bug, why not do it in the simplest
way possible?

foo["key"]+=" value2"

Of course, you are right.

Henning



reply via email to

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