1foo() 2{ 3 echo A: 4 . ./set-e3a.sub 5 echo D: 6} 7 8# should run all the way through; foo being called in a context where set -e 9# is ignored means that that condition persists through sourcing the file 10foo && true 11