i-bash/tests/errors2.sub

4 lines
84 B
Text
Raw Normal View History

set -e
trap 'echo $?' EXIT
echo ${$NO_SUCH_VAR} # Bad substitution expected here