Pierre Gaston wrote:
trap backtrace ERR set -TTo sum up ". sdf2" is returning 1 Bash considers . to be a simple command even though what's really executed is [[ $# -ge 2 ]] && echo hello.
--- Right.... It's NOT a simple command. I am trapping on ERR, not 'anything' that is not zero. Of all the stupid definitions... you have 256 useful values to return, and some idiots decide 255 of them should be reserved for fatal errors (even when they are not errors)... Is this even fixable?