title: Combine statements in Sed
body: <p>I have over 1000 text files where I need to remove the first 6 lines and also remove some boilerplate text from the bottom of each file.</p>
  
  <p>I am trying this in one command in sed, if possible.</p>
  
  <p><strong>Here are the individual commands</strong></p>
  
  <pre><code>sed -i.bak '/Some text as starting delimiter/,/Some text as an ending delimiter/d' My-File.txt
  
  sed -e '1,6d' &lt; MyFile.txt
  </code></pre>
  
  <p>Can these be combined ?</p>
  
  <p>How so?</p>
  
  <p>Thanks</p>