如果中途要離開case,可以用exit離開,例如: case 變數in 判斷值1 ) 程式段 exit ;; ...(略) 範例一: #!/bin/bash case $1 in "start")
確定! 回上一頁