title: how to grep only current directory for specific files
body: <p>Hello I have a question I want to find a keyword in a directory without recursion. And I want to check only for the .c extensions.
  For example I try;</p>
  
  <pre><code>grep -r 'keyword' --include=*.c .
  </code></pre>
  
  <p>And it works. But I dont want recursive search I just want the current directory's results so I remove the -r</p>
  
  <pre><code>grep 'keyword' --include=*.c .
  </code></pre>
  
  <p>However this gives me an error that ". is a directory". Actually I have an idea to write the contents of recursive grep to a textfile and grep that textfile for the file extensions but I think it wont be efficient at all. Thanks for your support.</p>