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


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

Re: Unexpected result of array assignment

Started byHenning <xaoxx@t-online.de>
First post2019-07-18 10:58 +0200
Last post2019-07-18 10:58 +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 10:58 +0200

#15187 — Re: Unexpected result of array assignment

FromHenning <xaoxx@t-online.de>
Date2019-07-18 10:58 +0200
SubjectRe: Unexpected result of array assignment
Message-ID<mailman.1632.1563440335.2688.bug-bash@gnu.org>
On 18/07/2019 03:16, Darren 'Tadgy' Austin wrote:

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

using eval shoud also succeed, even for older bash:

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

Henning

[toc] | [standalone]


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


csiph-web