/usr/bin/bash: Difference between revisions

Line 894: Line 894:


=== Appending Redirected Output ===
=== Appending Redirected Output ===
      Redirection of output in this fashion causes the file whose name results from  the  expansion  of
この方法で出力をリダイレクトすると、wordを展開した結果の名前を持つファイルが、ファイル記述子n、またはnが指定されていない場合は標準出力(ファイル記述子1)に追加するためにオープンされる。 ファイルが存在しない場合は作成される。
      word  to be opened for appending on file descriptor n, or the standard output (file descriptor 1)
      if n is not specified.  If the file does not exist it is created.


      The general format for appending output is:
出力を追加する一般的な書式は以下の通りである:


              [n]>>word
:<code>[n]>>word</code>


=== Redirecting Standard Output and Standard Error ===
=== Redirecting Standard Output and Standard Error ===