#!/bin/sh -
exec find * \( -name '*.[chS]' -o -name Makefile -o -name '[Cc]onfig.in' \) -exec egrep "$1" /dev/null {} \;
