/usr/bin/bash: Difference between revisions

Line 946: Line 946:


=== Here Strings ===
=== Here Strings ===
      A variant of here documents, the format is:
here文書の変形で、フォーマットは以下の通りである:


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


      The word undergoes tilde expansion, parameter  and  variable  expansion,  command  substitution,
wordは、チルダ展開、パラメータ展開、変数展開、コマンド置換、算術展開、引用符除去を受ける。 パス名の展開と単語の分割は行われない。 結果は、改行が付加された単一の文字列として、コマンドの標準入力(nが指定されている場合はファイル記述子n)に供給される。
      arithmetic  expansion,  and  quote  removal.  Pathname expansion and word splitting are not per‐
      formed.  The result is supplied as a single string, with a newline appended, to  the  command  on
      its standard input (or file descriptor n if n is specified).


=== Duplicating File Descriptors ===
=== Duplicating File Descriptors ===