bug-bash
[Top][All Lists]
Advanced

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

Why do associative arrays have a space before the closing )?


From: lolilolicon
Subject: Why do associative arrays have a space before the closing )?
Date: Sat, 6 Sep 2014 05:30:30 +0800

In the `declare -p` output, I mean:

    % bash -c 'declare -A x; x=([foo]=bar [x]=y); declare -p x;'
    declare -A x='([foo]="bar" [x]="y" )'

Does it serve any purpose? Just curious.



reply via email to

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