title: echo nested quotation marks in tcsh
body: <p>I have a tcsh script that generates a text file.  One of the lines in the text file is:</p>
  
  <pre><code>bla bla bla 'foo foo foo "bar bar bar"': etc etc;
  </code></pre>
  
  <p>Note the nested <code>'</code> and <code>"</code> and also the <code>:</code> and <code>;</code> that must be there.</p>
  
  <p>The <code>:</code> and <code>;</code> require the whole string to be surrounded by quotation marks.  However, if I do that, I have trouble escaping the quotation marks.</p>
  
  <p>The command is:</p>
  
  <pre><code>echo "bla bla bla 'foo foo foo "bar bar bar"': etc etc;" &gt;&gt; outfile
  </code></pre>
  
  <p>How can I escape the quotation marks around <code>bar bar bar</code> so that they get printed correctly?</p>