Re: Changing the way bash expands associative array subscripts

2021-04-16 Thread Koichi Murase
2021年4月16日(金) 1:04 Chet Ramey : > On 4/13/21 11:11 PM, Koichi Murase wrote: > > 2021年4月14日(水) 0:24 Chet Ramey : > >> On 4/13/21 5:01 AM, Koichi Murase wrote: > >>> But I expected some design consideration enabling a[$key] for an > >>> arbitrary key in the indirect expansions and namerefs. > >> >

Re: Mysterious error after rebinding keys in Bash 5.1.4

2021-04-16 Thread Chet Ramey
On 4/16/21 1:15 AM, Dale Sedivec wrote: Bash Version: 5.1 Patch Level: 4 Release Status: release Description: Rebinding a key seems to break the key that was bound before it. (That sounds bizarre, but read ahead.) Repeat-By: Run the following: ``` bash --norc --noprofile bind -m emacs -x

Re: Mysterious error after rebinding keys in Bash 5.1.4

2021-04-16 Thread Koichi Murase
2021年4月16日(金) 22:08 Dale Sedivec : > Bash Version: 5.1 > Patch Level: 4 > Release Status: release > > Description: > > Rebinding a key seems to break the key that was bound before it. (That > sounds bizarre, but read ahead.) I attach a patch. This was introduced by the commit 3a7c642e after

Mysterious error after rebinding keys in Bash 5.1.4

2021-04-16 Thread Dale Sedivec
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: darwin19.6.0 Compiler: /usr/bin/clang Compilation CFLAGS: -pipe -Os -DSSH_SOURCE_BASHRC -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 uname output: Darwin