title: how do you skip the last line w/ awk?
body: <p>I am processing a file with awk and need to skip some lines. The internet dosen't have a good answer.</p>
  
  <p>So far the only info I have is that you can skip a range by doing:</p>
  
  <pre><code>awk 'NR==6,NR==13 {print}' input.file
  </code></pre>
  
  <p>OR</p>
  
  <pre><code>awk 'NR &lt;= 5 { next } NR &gt; 13 {exit} { print}' input.file
  </code></pre>
  
  <p>You can skip the first line by inputting:</p>
  
  <pre><code>awk 'NR &lt; 1 { exit } { print}' db_berths.txt
  </code></pre>
  
  <p>How do you skip the last line?</p>