Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #15191 > unrolled thread

Re: Unexpected result of array assignment

Started byHenning <xaoxx@t-online.de>
First post2019-07-18 15:55 +0200
Last post2019-07-18 15:55 +0200
Articles 1 — 1 participant

Back to article view | Back to gnu.bash.bug

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Unexpected result of array assignment Henning <xaoxx@t-online.de> - 2019-07-18 15:55 +0200

#15191 — Re: Unexpected result of array assignment

FromHenning <xaoxx@t-online.de>
Date2019-07-18 15:55 +0200
SubjectRe: Unexpected result of array assignment
Message-ID<mailman.1654.1563458147.2688.bug-bash@gnu.org>
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

[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web