Bash export ignores set -ex – unix.stackexchange.com

I've run into some strange behaviour today: #!/bin/bash set -ex export a=$(cat foo) echo "It's a living thing" b=$(cat foo) echo "This won't make it" This won't stop on cat foo even though foo does ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

0 Comment to "Bash export ignores set -ex – unix.stackexchange.com"