摘要: Example: 1 opt1=0 2 opt2=0 3 set -- `getopt -o a:b: -l opt1:,opt2: -n "$0" -- "$@"` 4 while [ -n "$1" ] 5 do 6 echo "current1: **$1**" 7 case $1 in 8 阅读全文
posted @ 2020-12-02 09:28 i舒 阅读(439) 评论(0) 推荐(0) 编辑