Search for "#define" in all files in the current directory, excluding backup files *~, *.orig, *.bak
find . -maxdepth 1 ! -regex '.*~$' ! -regex '.*\.orig$' \     ! -regex '.*\.bak$' -exec grep --color "#define" {} +