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


Groups > gnu.bash.bug > #15190

Re: Unexpected result of array assignment

From Henning <xaoxx@t-online.de>
Newsgroups gnu.bash.bug
Subject Re: Unexpected result of array assignment
Date 2019-07-18 15:54 +0200
Message-ID <mailman.1653.1563458058.2688.bug-bash@gnu.org> (permalink)
References <nycvar.YAK.7.76.1907180212120.95422@nzl.bcra-fbhepr.pb.hx> <af7d9768-fe41-2c93-ee05-58932a390b80@t-online.de> <mvm7e8f3djy.fsf@suse.de> <8821472f-df9f-3dba-ff2e-8c378348d679@t-online.de>

Show all headers | View raw


On 18/07/2019 11:19, Andreas Schwab wrote:
> On Jul 18 2019, Henning <xaoxx@t-online.de> wrote:
>> 	eval 'foo=(["key"]="'"${foo["key"]}"' value2")'
> 
> This will break if ${foo["key"]} contains any of $ ` " \ <newline>.
> 
Correct. I'd only taken blanks into account.

Henning

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web