title: How do pipes inside awk work (Sort with keeping header)
body: <p>The following command outputs the header of a file and sorts the records after the header. But how does it work? Can anyone explain this command?</p>
  <pre><code>awk 'NR == 1; NR &gt; 1 {print $0 | &quot;sort -k3&quot;}'
  </code></pre>