while getopts “a:b:c:?” argv do case $argv in a) VAR1=$OPTARG ;; b) ... b, c被引用時,他後面所接的參數值就會在case命令中透過變數$OPTARG指定給相對應的 ...
確定! 回上一頁