true

Section: User Commands (1)
Updated: 18 June 2002
Index JM Home Page
 

名前

true - 何もせずに成功する  

書式

true [--help] [--version]  

説明

true は終了ステータスとして「成功」を意味する 0 を返す以外何もしない。

バイナリとして実装されているので、 成功するコマンドがシェルスクリプトで必要になった場合は これを利用すると良い (しかしシェルの組み込みコマンドの `:' の方が高速かもしれない)。

環境変数 POSIXLY_CORRECT が設定されている場合、 true--help--version を無視する。  

オプション

--help
標準出力に使用方法のメッセージを出力して正常終了する。
--version
標準出力にバージョン情報を出力して正常終了する。
 

注意

プログラムのバグについては bug-sh-utils@gnu.org に報告してください。 ページの更新は Ragnar Hojland Espinosa <ragnar@ragnar-hojland.com> が行っています。

関連キーワード

出力, 成功, 終了, version, 標準, コマンド, ragnar, 注意, 名前, Index

Linux マニュアル 一覧

[man1] [man2] [man3] [man4] [man5] [man6] [man7] [man8]
[a] [b] [c] [d] [e] [f] [g] [h] [i] [j] [k] [l] [m] [n] [o] [p] [q] [r] [s] [t] [u] [v] [w] [x] [y] [z]

 

Index

名前
書式
説明
オプション
注意

This document was created by man2html, using the manual pages.
Time: 12:09:02 GMT, June 11, 2022