title: The return code from 'grep' is not as expected on Linux
body: <p>I'm struggling to see why the following is returning a code of 1.</p>
  <pre><code>echo 'Total' | grep -c No
  0
  </code></pre>
  <p>So &quot;No&quot; doesn't exists in &quot;Total&quot;. But then looking up its return code I'm seeing it as 1.</p>
  <pre><code>echo $?
  1
  </code></pre>
  <p>Why is return code showing up as 1? Is there a way to get around this?</p>