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:54:13 +0200
User-agent: Mozilla/5.0 (Windows NT 6.3; rv:56.0) Gecko/20100101 Thunderbird/56.0

On 18/07/2019 11:19, Andreas Schwab wrote:
On Jul 18 2019, Henning <address@hidden> 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



reply via email to

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