Recursive grep

I don’t do this often enough to remember, so I figured I’d write it down. ¬†For example, to look for all the places where you include stdio.h in .cpp files below the current directory:

$ grep -r -n --include "*.cpp" '#include <stdio.h>' .