title: How to find lines that contain more than a single whitespace between strings in unix?
body: <p>I have lines like</p>
  
  <pre><code>1|Harry|says|hi
  2|Ron|says|bye
  3|Her   mi oh ne|is|silent
  4|The|above|sentence|is|weird
  </code></pre>
  
  <p>I need a grep command that'll detect the third line.</p>
  
  <p>This is what Im doing.</p>
  
  <pre><code>grep -E '" "" "+' $dname".txt" &gt;&gt; $dname"_error.txt"
  </code></pre>
  
  <p>The logic on which I'm basing this is, the first white space must be followed by one or more white spaces to be detected as an error.</p>
  
  <p>$dname is a variable that holds the filename path.</p>
  
  <p>How do I get my desired output?</p>
  
  <p>( which is </p>
  
  <pre><code>      3|Her   mi oh ne|is|silent
  </code></pre>
  
  <p>)</p>