echo 'hello there' (set -x; export foobar=true; echo ${foobar}) (set -x; echo "${foobar}") export foobar=false echo "${foobar}" (set -x; echo "${foobar}")