Like this: case "$1" in 1) do action case "$2" in 1) do action ;; another_option) echo blah ;; *) do default actions for this case ;; esac ;; 2) 1 do action ...
確定! 回上一頁