Bash: How to detect “repeat” flag, such as -vvv?

后端 未结 0 404
旧时难觅i
旧时难觅i 2020-12-09 05:15

Currently, I have some flag -x, along with some others:

while getopts abcx opt; do
  case $opt in
    a) a=true; ;;
    b) b=true; ;;
    c) c=tr         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题