Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
scripting:basics [2015/08/02 06:30]
bill_thomson
scripting:basics [2015/08/02 06:31] (current)
bill_thomson
Line 165: Line 165:
 </​code>​ </​code>​
 What happened? The '':''​ pseudo command was given some input by redirection (a here-document) - the pseudo command didn't care about it, effectively,​ the entire block was ignored. What happened? The '':''​ pseudo command was given some input by redirection (a here-document) - the pseudo command didn't care about it, effectively,​ the entire block was ignored.
-One could say, **the whole block is a comment**. For completeness:​ To make the here-document possible, the shell might generate a temporary file in the ''/​tmp''​ directory. 
  
 The here-document-tag was quoted here **to avoid substitutions** in the "​commented"​ text! Check [[syntax:​redirection#​tag_heredoc | redirection with here-documents]] for more The here-document-tag was quoted here **to avoid substitutions** in the "​commented"​ text! Check [[syntax:​redirection#​tag_heredoc | redirection with here-documents]] for more