1 # problems with non-fatal expansion errors through bash-4.3
4 ${THIS_SH} -c 'echo ${x!y} second
5 echo after 1: $?' 2>/dev/null
7 ${THIS_SH} -c 'echo ${#+} second
8 echo after 2: $?' 2>/dev/null
10 ${THIS_SH} -c 'echo ${#foo%} second
11 echo after 3: $?' 2>/dev/null
13 ${THIS_SH} -c 'b[0]=4 ; echo ${b[ ]}
14 echo array after 1: $?' 2>/dev/null
15 ${THIS_SH} -c 'typeset -A v ; v["0"]=one ; echo ${v[ ]}
16 echo array after 2: $?' 2>/dev/null