Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
次のシェル スクリプトのステートメントの意味は何ですか?
if ($?REGRESS) then .... endif
指定された関数がどこから入力を取得しているか? これは、私が理解できない古いスクリプトの一部です。
$? 特殊変数です。最後のコマンドの終了ステータスを保存します。最後のコマンドが正常に実行された場合、それは 0 になり、失敗した場合はその他の値になります。