Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #14512
| From | Chet Ramey <chet.ramey@case.edu> |
|---|---|
| Newsgroups | gnu.bash.bug |
| Subject | Re: Assignment of associative arrays through braces |
| Date | 2018-08-20 14:20 -0400 |
| Message-ID | <mailman.5333.1534789890.1292.bug-bash@gnu.org> (permalink) |
| References | <CAJnmqwZ9nfYmodcGXQpZq4Z94bdybbfwF+SJSnv-CedK-F6fAg@mail.gmail.com> <e2235d5e-ac0b-81c1-3da1-615ee6b28c7c@case.edu> <CAJnmqwbPtWSq2xuLDmq-a0zQz=AaVrZ==QA9fv97dWThmDNiFQ@mail.gmail.com> <CAJnmqwbJD2XTgZ+T2SMkfQzry90_qjr-XaWws1JyjxgNzY5_8g@mail.gmail.com> |
On 8/19/18 10:27 AM, konsolebox wrote:
>> This proposal simply requests an intuitively equivalent simple
>> assignment syntax for associative arrays just like a='...' and
>> a=(...), with same behavior for scoping.
>>
>> Maybe we can add another option like -G to have similar effect but
>> that's a little different already. Just allowing a={} would make it
>> simpler for every scripter.
>
> By the way, is this rejected?
No, it will not make it into bash-5.0 so I haven't looked at it further.
It is on the list for a future release.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread
Re: Assignment of associative arrays through braces Chet Ramey <chet.ramey@case.edu> - 2018-08-20 14:20 -0400
csiph-web