title: How to make grep only match if the entire line matches?
body: <p>I have these:</p>
  
  <pre><code>$ cat a.tmp
  ABB.log
  ABB.log.122
  ABB.log.123
  </code></pre>
  
  <p>I wanted to find a exact match of ABB.log. </p>
  
  <p>But when I did </p>
  
  <pre><code>$ grep -w ABB.log a.tmp
  ABB.log
  ABB.log.122
  ABB.log.123
  </code></pre>
  
  <p>it shows all of them.</p>
  
  <p>Can I get what I wanted using grep?</p>