title: Printing lines which have a field number greater than, in AWK
body: <p>I am writing a script in bash which takes a parameter and storing it;</p>
  
  <pre><code>threshold = $1
  </code></pre>
  
  <p>I then have sample data that looks something like:</p>
  
  <pre><code>5 blargh
  6 tree
  2 dog
  1 fox
  9 fridge
  </code></pre>
  
  <p>I wish to print only the lines which have their number greater than the number which is entered as the parameter (threshold).</p>
  
  <p>I am currently using:</p>
  
  <pre><code>awk '{print $1 &gt; $threshold}' ./file
  </code></pre>
  
  <p>But nothing prints out, help would be appreciated.</p>