scripting:basics

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
scripting:basics [2015/08/02 04:30]
bill_thomson
scripting:basics [2015/08/02 04:31]
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
  • scripting/basics.txt
  • Last modified: 2019/08/30 09:07
  • by ersen