On 7/27/18 7:13 PM, konsolebox wrote:
> Hi Chet,
> 
> I wonder if you can allow bash to have another syntax to allow simpler
> declaration and/or definition of associative arrays.  The changes
> needed to have it done seem simple enough, and the only conflict it
> makes is a scalar `var={...` assignment, which in my opinion is better
> quoted to make it more readable and less questionable from other
> syntaxes like brace expansion.  I believe most people intuitively
> quotes it, and assignments that start with `{` is fairly rare.

So it's syntactic sugar for `declare -gA a; a=( ... )'?

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://tiswww.cwru.edu/~chet/

Reply via email to