'getopts' 指令可協助一個shell script 剖析option,提供不少方便。 ... 'getopts' 在執行時,為產生兩個變數, $OPTIND 記錄目前剖析到第幾個option,而$OPTARG 則 ...
確定! 回上一頁