title: grep recursive filename matching (grep -ir "xyz" *.cpp) does not work
body: <p>while 
  grep -ir "xyz" * recursively searches through the directories and tell me that the text is present in ./x/y/z/abc.cpp 
  However ,
  grep -ir "xyz" *.cpp offers no result. 
  Isn't the second command supposed to recursively grep all cpp files inside the directory ? 
  What am I missing here? </p>