help-bash
[Top][All Lists]
Advanced

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

Re: [Help-bash] Destroying arbitrary subset in an associative array?


From: Dan Douglas
Subject: Re: [Help-bash] Destroying arbitrary subset in an associative array?
Date: Mon, 19 Sep 2016 09:14:35 -0500

On Mon, Sep 19, 2016 at 8:25 AM, Greg Wooledge <address@hidden> wrote:
> The more complex reason is... whatever Dan said.
>

When a[$x] becomes a[]] or a['] etc. Yes, not quoting the glob is also
wrong, but the more immediate problem here is bash to treating the
index value as syntax because the $x was expanded first.



reply via email to

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