title: bash command spanning multiple lines with several lines of comments in-between
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/9522631/bash-how-to-put-line-comment-for-a-multi-line-command">Bash: How to Put Line Comment for a Multi-line Command</a>  </p>
  </blockquote>
  
  
  
  <p>I would like to do something like this</p>
  
  <pre><code>sudo apt-get install \
    #a very long description
    #of the package
    #that spans multiple lines
    pkg1 \ #maybe I want an inline comment also
    #another description that
    #spans multiple lines
    pkg2
  </code></pre>
  
  <p>Note that I'm not just interested in the <code>apt-get</code> command.</p>