`declare -a NAME` followed by `declare -p NAME`

2015-01-05 Thread Ivan Shapovalov
not found $ __test=("") $ declare -p __test declare -a __test='([0]="")' Bash version: 4.3.30(1)-release Distro: Arch Linux Thanks, -- Ivan Shapovalov / intelfx / signature.asc Description: This is a digitally signed message part.

Regression: EXIT traps always run in global context

2024-11-27 Thread Ivan Shapovalov
interrupt with ^C during "inner sleep 2") (observe 5 `inner-*`, `outer-*` and `main-*` messages printed upon exit) $ INNER_FAIL_2=1 ./test.sh (observe just one `main-*` message printed upon exit) Expected behavior in both cases is the same. It was the same until a