Re: [bash-5.2] array assignment caused bash to stop saving history

2022-06-15 Thread Chet Ramey
On 6/15/22 3:00 AM, Clark Wang wrote: > Very often Bash 5.2 would suddenly stop saving command history which > has been confusing me for quite some time. Today I did some debugging > and came up with the following minimal scenario to reproduce the > problem. Thanks for the report and the easy repr

[bash-5.2] array assignment caused bash to stop saving history

2022-06-15 Thread Clark Wang
Very often Bash 5.2 would suddenly stop saving command history which has been confusing me for quite some time. Today I did some debugging and came up with the following minimal scenario to reproduce the problem. $ bash --version GNU bash, version 5.2.0(18)-beta (x86_64-apple-darwin21.5.0) Copyri