Both 'getopt' and getopts are tools to use for processing and validating ... #!/bin/bash while getopts "abc:" flag do echo "$flag" $OPTIND $OPTARG done.
確定! 回上一頁