title: multiple conditions of `and` and `or` in one awk command
body: <p>I am trying to use multiple 'AND' and 'OR' condition in awk but it is not giving me the desired output. Instead it doesn't read the last <code>&amp;&amp;</code> conditions that i have given with time '030000'.</p>
  
  <pre><code>awk -F, '{if(substr($2,1,3)=="301" &amp;&amp; $15=="996" || $15=="429" &amp;&amp; $5&gt;=030000 &amp;&amp; $5&lt;=035000) print $2"|"$15"|"$5}' 2017020* | head -10
  
  3014241320|996|235939
  3017943809|996|235953
  </code></pre>