Show Table of Contents
function::cmdline_args
名前
function::cmdline_args — 現在のプロセスからコマンドライン引数を取得します。
概要
cmdline_args:string(n:long,m:long,delim:string)
引数
n- 最初に取得する引数 (通常、0 (ゼロ) はプログラム自体)。
m- 最後に取得する引数 (-1 は n の後の引数すべて)。
delim- 複数の引数を区切るために使用する文字列。
説明
現在のプロセスから引数番号 n から m までの引数を返します。引数の数が n よりも少ない場合や、現在のプロセスから引数を取得できない場合は、空の文字列が返されます。m が n よりも小さい場合は、引数 n 以降のすべての引数が返されます。通常、引数 0 はコマンド自体になります。

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.