📜  ${1:?} bash - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:05.740000             🧑  作者: Mango

代码示例1
bar=${1:?First argument missing} 
# It exits with code 1 the non-interactive shell if argument 1 
# does not exist and prints the message to sterr.