title: Grepping for exact words with UNIX
body: <p>I want to search Exact word pattern in Unix.
  Example: <code>Log.txt</code> file contains following text:</p>
  
  <pre><code>aaa
  bbb
  cccaaa   ---&gt; this should not be counted in grep output looking for aaa
  </code></pre>
  
  <p>I am using following code:</p>
  
  <pre><code>count=$?
  count=$(grep -c aaa $EAT_Setup_BJ3/Log.txt)
  </code></pre>
  
  <p>Here output should be ==> 1 not 2, using above code I am getting 2 as output.
  Something is missing, so can any one help me for the this please?</p>