Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #14512 > unrolled thread

Re: Assignment of associative arrays through braces

Started byChet Ramey <chet.ramey@case.edu>
First post2018-08-20 14:20 -0400
Last post2018-08-20 14:20 -0400
Articles 1 — 1 participant

Back to article view | Back to gnu.bash.bug

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Assignment of associative arrays through braces Chet Ramey <chet.ramey@case.edu> - 2018-08-20 14:20 -0400

#14512 — Re: Assignment of associative arrays through braces

FromChet Ramey <chet.ramey@case.edu>
Date2018-08-20 14:20 -0400
SubjectRe: Assignment of associative arrays through braces
Message-ID<mailman.5333.1534789890.1292.bug-bash@gnu.org>
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/

[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web