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


Groups > gnu.bash.bug > #14516

Re: Assignment of associative arrays through braces

From konsolebox <konsolebox@gmail.com>
Newsgroups gnu.bash.bug
Subject Re: Assignment of associative arrays through braces
Date 2018-08-21 15:39 +0800
Message-ID <mailman.5355.1534837186.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> <6479b138-17b3-006c-7a06-25de68ef9a70@case.edu>

Show all headers | View raw


On Tue, Aug 21, 2018 at 2:20 AM Chet Ramey <chet.ramey@case.edu> wrote:
>
> 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.

Ok, sounds good.

-- 
konsolebox

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

Re: Assignment of associative arrays through braces konsolebox <konsolebox@gmail.com> - 2018-08-21 15:39 +0800

csiph-web