/usr/bin/getopt: Difference between revisions

Line 107: Line 107:


==ENVIRONMENT==
==ENVIRONMENT==
      POSIXLY_CORRECT
;POSIXLY_CORRECT
              This environment variable is examined by the getopt(3) routines.  If it is set, parsing stops
:この環境変数は '''[https://manpages.debian.org/bookworm/manpages-dev/getopt.3.en.html getopt]'''(3) ルーチンで調べられる。 この環境変数が設定されている場合、オプションでもオプション引数でもないパラメータが見つかると、すぐに解析が停止する。 残りのすべてのパラメータも、'-' で始まるかどうかに関係なく、非オプションパラメータとして解釈される。
              as  soon  as a parameter is found that is not an option or an option argument.  All remaining
              parameters are also interpreted as non-option parameters, regardless whether they start  with
              a '-'.


      GETOPT_COMPATIBLE
;GETOPT_COMPATIBLE
              Forces getopt to use the first calling format as specified in the SYNOPSIS.
:'''getopt'''は、'''SYNOPSIS'''で指定された最初の呼び出しフォーマットを強制的に使用する。


==BUGS==
==BUGS==