title: sed how to delete first 17 lines and last 8 lines in a file
body: <p>I have a big file 150GB CSV file and I would like to remove the first 17 lines and the last 8 lines. I have tried the following but seems that's not working right</p>
  
  <pre><code>sed -i -n -e :a -e '1,8!{P;N;D;};N;ba' 
  </code></pre>
  
  <p>and </p>
  
  <pre><code>sed -i '1,17d' 
  </code></pre>
  
  <p>I wonder if someone can help with sed or awk, one liner will be great?</p>