Re: Assignment of associative arrays through braces

2018-08-21 Thread konsolebox
On Tue, Aug 21, 2018 at 2:20 AM Chet Ramey 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 ca

Re: Assignment of associative arrays through braces

2018-08-20 Thread Chet Ramey
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

Re: Assignment of associative arrays through braces

2018-08-19 Thread konsolebox
On Wed, Aug 1, 2018 at 12:53 AM, konsolebox wrote: > On Tue, Jul 31, 2018 at 10:31 PM, Chet Ramey wrote: >> 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. T

Re: Assignment of associative arrays through braces

2018-07-31 Thread konsolebox
On Tue, Jul 31, 2018 at 10:31 PM, Chet Ramey wrote: > 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, an

Re: Assignment of associative arrays through braces

2018-07-31 Thread Chet Ramey
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={...` assig