title: How can i grep a nearer word from a file?
body: <p>How can i grep a nearer word from a file ?</p>
  
  <p>E.g</p>
  
  <pre><code>04-02-2010  Workingday
  05-02-2010  Workingday
  06-02-2010  Workingday
  07-02-2010  Holiday
  08-02-2010  Workingday
  09-02-2010  Workingday
  </code></pre>
  
  <p>I stored above data in a file 'feb2010',</p>
  
  <p>By this commend i stored date in one variable date=date '+%d-%m-%Y'</p>
  
  <p>if date is 06-02-2010 , i want to grep " 06-02-2010 Workingday "</p>
  
  <p>and want to store the string Working day in a variable</p>
  
  <ul>
  <li>How can i do this ?</li>
  <li>Is there any other option ?</li>
  </ul>