title: how to find words that has 2 consecutive same characters using egrep?
body: <p>I tried to do it the brute force way:</p>
  
  <pre><code>egrep '[a][a] | [b][b] | [c][c]....' file
  </code></pre>
  
  <p>is there any better way to do it?</p>