When I want to grep all the html files in some directory, I do the following
grep --include=\"*.html\" pattern -R /some/path
which works well. T
It works for the same purpose, but without --include option. It works on grep 2.5.1 as well.
--include
grep -v -E ".*\.(html|htm|php)"