bash case 用法

case “$j” in
“”)
echo “null”
exit 1
;;
a|b|c)
echo “a or b or c”
;;
d|e|f)
echo “d or e or f”
;;
*)
echo “other”
;;
esac

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*


为了防止恶意的垃圾评论脚本,请输入以下图片里面的数学方程式的答案。
防垃圾评论问题