Unix Shell控制结构—CASE
类似于其他高级程序语言,Shell中case语句的作用也是作为多项选择使用,语法如下:case word in pattern1) Statement(s) to be execute if pattern1 matchs ;; pattern2) Statement(s) to be execute if pattern2 matchs ;; pattern3) Statement(s) to be execute if pattern3 ma...