📜  bash if set variable - Shell-Bash 代码示例
📅  最后修改于: 2022-03-11 14:50:14.685000             🧑  作者: Mango
代码示例2
if [ -z ${var+x} ]; then echo "var is unset"; else echo "var is set to '$var'"; fi