title: How do you get awk to move to next line when a condition has been actioned?
body: <p>I'm trying to write an <code>awk</code> script which checks certain conditions and throws away lines meeting those conditions.</p>
  
  <p>The specific condition are to throw away the first two lines of the file and any line that starts with the text <code>xyzzy:</code>. To that end, I coded up:</p>
  
  <pre><code>awk '
      NR &lt; 2    {}
      /^xyzzy:/ {}
                {print}'
  </code></pre>
  
  <p>thinking that it would throw away the lines where either of those two conditions were met and print otherwise.</p>
  
  <p>Unfortunately, it appears that the <code>print</code> is being processed even when the line matches one of the other two patterns.</p>
  
  <p>Is there a C-like <code>continue</code> action that will move on the next line ignoring all other condition checks for the current line?</p>
  
  <p>I suppose I <em>could</em> use something like <code>((NR &gt; 1) &amp;&amp; (!/^xyzzy:/)) {print}</code> as the third rule but that seems rather ugly to me.</p>
  
  <p>Alternatively, is there another way to do this?</p>