set -u unset x v=$( (eval ': $((x))') 2>&1 >/dev/null) [ $? -ne 0 ] && [ -n "$v" ]