Whenever the shell is invoked, OPTIND is initialized to 1. When the flag requires a flag argument, the getopts utility places it in the shell variable OPTARG.
確定! 回上一頁