返回顶部
摘要: getopts 格式 1 #!/bin/bash 2 echo "begin index is $OPTIND" 3 echo "begin ARG is $OPTARG" 4 5 while getopts ":ab:c:" OPT 6 do 7 case $OPT in 8 a) 9 echo 阅读全文
posted @ 2020-05-27 08:37 usmile 阅读(419) 评论(0) 推荐(0)