title: how do I pick out gaps greater than 10 in a column in unix?
body: <p>I have a 2 column file that I am trying to find gaps of greater than 10 in consecutive numbers:</p>
  
  <p>the file is in ascending order as follows:</p>
  
  <pre><code>a     12
  
  b     16
  
  c     19
  
  d     25
  
  e     28
  
  f     38
  
  g     **40**
  
  h     **55**
  
  i     56
  
  j     59
  
  k     62
  </code></pre>
  
  <p>What I would like is to be able to print every 1st column identifier (a-k) for each occurrence where two ADJACENT numbers from the 2nd column have a value greater than 10.</p>
  
  <p>For example, the output I am looking for here is: <strong>g, h</strong> 
  (as the difference between the 2nd column associated with g and h is greater than 10)</p>
  
  <p>Would very much appreciate your help :)</p>