If an error is thrown, the ERRMSG is output and the exit code is set to 1 . #!/bin/bash FOO= # ./script.sh: line 4: FOO: EMPTY echo "FOO is ${FOO:?EMPTY}" ...
確定! 回上一頁