bash doesn't compile when configured with --disable-bang-history

2019-07-17 Thread Ken Partridge
Configuration Information [Automatically generated, do not change]: Machine: arm OS: linux-gnu Compiler: gcc Compilation CFLAGS: -g -O2 -Wno-parentheses -Wno-format-security uname output: Linux 192.168.0.201 3.8.13 #1 SMP Thu Sep 12 10:27:06 CEST 2013 ar Machine Type: arm-unknown-linux-gnu Bash Ve

Unexpected result of array assignment

2019-07-17 Thread Darren 'Tadgy' Austin
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -g -O2 -fdebug-prefix-map=/build/bash-LQgi2O/bash-5.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-parentheses -Wno-format-security uname o

Re: Unexpected result of array assignment

2019-07-17 Thread L A Walsh
On 2019/07/17 18:16, Darren 'Tadgy' Austin wrote: > Repeat-By: > declare -A foo > foo=(["key"]="value1") > declare -p foo > foo=(["key"]="${foo["key"]} value2") > declare -p foo > > The above should result in 'foo["key"]' having a value of 'value1 >