Re: Declaring arrays with empty string in one line is bugged

2020-08-05 Thread Chet Ramey
On 8/4/20 1:31 PM, andy_bash wrote: > Bash Version: 5.1 > Patch Level: 0 > Release Status: alpha > > Description: >         Declaring an array and setting it with empty strings ("") in one > line is bugged in bash 5.1 alpha. This has worked in bash 3.2-5.0 without > issue. Thanks for the report.

Re: Declaring arrays with empty string in one line is bugged

2020-08-04 Thread Koichi Murase
It also reproduces in the current devel branch. $ bash-dev -c 'declare -a arr=(""); declare -p arr' declare -a arr=() $ bash-5.0 -c 'declare -a arr=(""); declare -p arr' declare -a arr=([0]="") 2020-08-05 3:33 andy_bash : > Sorry, the colors got messed up on the last email It's still messed up.