shell-case
2019-04-12 本文已影响0人
p_gerer
基本语法:
case var in
value1)
statement1
statement1;;
value2)
statement2
statement2;;
*)
statement2
statement2;;
esac
基本语法:
case var in
value1)
statement1
statement1;;
value2)
statement2
statement2;;
*)
statement2
statement2;;
esac