title: Print last 10 rows of specific columns using awk
body: <p>I have the below awk command-line argument and it works aside from the fact it performs the print argument on the entire file (as expected).  I would like it to just perform the formatting on the last 10 lines of the file (or any arbitrary number).  Any suggestions are greatly appreciated, thanks!  </p>
  
  <p>I know one solution would be to pipe it with tail, but would like to stick with a pure awk solution.</p>
  
  <pre><code>awk '{print "&lt;category label=\"" $13 " " $14 " " $15 "\"/&gt;"}' foofile
  </code></pre>