/usr/bin/dash: Difference between revisions

Line 242: Line 242:


=== Lists – Generally Speaking ===
=== Lists – Generally Speaking ===
    A list is a sequence of zero or more commands separated by newlines, semicolons, or ampersands, and
リストは、0個以上のコマンドを改行、セミコロン、アンパサンドで区切り、オプションでこれら3つの文字のうち1つで終了させるシーケンスである。 リスト内のコマンドは,書かれた順番に実行される. コマンドの後にアンパサンドが続く場合,シェルはそのコマンドを開始し,すぐに次のコマンドに進む。それ以外の場合は,コマンドが終了するのを待ってから次のコマンドに進む。
    optionally terminated by one of these three characters.  The commands in a list are executed in the
    order they are written.  If command is followed by an ampersand, the shell starts the command and im‐
    mediately proceeds onto the next command; otherwise it waits for the command to terminate before pro‐
    ceeding to the next one.


=== Short-Circuit List Operators ===
=== Short-Circuit List Operators ===