title: List files that do not contain pattern
body: <p>In bash, how to list files that do NOT contain a given string?</p>
  
  <hr>
  
  <p>Given that </p>
  
  <pre><code>grep --include=*.c  -rlw './' -e "pattern"
  </code></pre>
  
  <p>return any file that matches the pattern I was expecting that</p>
  
  <pre><code>grep --include=*.c  -rlwv './' -e "pattern"
  </code></pre>
  
  <p>would return any file that does not match the pattern but it just returns all the <code>*.c</code> files regardless of wether they match the pattern.</p>