语法要点:
case $var in
"first var value")
statements
;;
"second var value")
statements
;;
*)
statements
;;
esac
本文共 177 字,大约阅读时间需要 1 分钟。
语法要点:
case $var in
"first var value")
statements
;;
"second var value")
statements
;;
*)
statements
;;
esac
转载于:https://www.cnblogs.com/shi-zheng/archive/2012/07/15/2592123.html