title: Print values less than specified number for all fields with awk
body: <p>I have a tab-delimited file and I am interested in printing all values less than or equal to 1.</p>
  
  <p>input data:</p>
  
  <pre><code>OG1_1908    1   1   1   1   1   
  OG1_1909    1   1   1   1   1   
  OG1_1910    1   1   1   1   1   
  OG1_1000    5   6   6   0   0   
  OG1_1001    0   0   0   13  2   
  OG1_3987    1   0   1   0   0
  OG1_3998    1   0   1   0   0
  OG1_1002    2   7   2   1   2       
  OG1_3999    1   0   1   0   0   
  OG1_4000    1   0   1   0   0
  </code></pre>
  
  <p>Output data:</p>
  
  <pre><code>OG1_3987    1   0   1   0   0
  OG1_3998    1   0   1   0   0   
  OG1_3999    1   0   1   0   0   
  OG1_4000    1   0   1   0   0   
  OG1_1908    1   1   1   1   1   
  OG1_1909    1   1   1   1   1   
  OG1_1910    1   1   1   1   1
  </code></pre>
  
  <p>I have the following one-liner but I feel this isn't the smartest command because I specify each conditional for each field I am interested in. Is there a better awk command that could  handle any number of fields for my input data file? Thank you</p>
  
  <pre><code>awk -F '\t' '{ if ( $2 &lt;= 1 &amp;&amp; $3 &lt;= 1 &amp;&amp; $4 &lt;= 1 &amp;&amp; $5 &lt;= 1 &amp;&amp; $6 &lt;=1) print $0 }' inputfile 
  </code></pre>