are specified on the getopts command line, getopts parses them instead. The first argument you pass to getopts is a list of which letters (or numbers, or any other single character) it will accept. I've tried several tests, but, the only effect of adding ARGS... to my script causes the positional arguments to be ignored ... nothing I've tried does anything with the optional arguments. )をコマンドライン引数としてみなして処理します。つまり、'--version'といったものはオプションとして認識しません。 If a required argument is not found, and getopts is not silent, a question mark (?) with a getopts line in my script of getopts p:cs opt a command line of