find/grep command

The following command searches C/C++ source code to find the content of "equalizer".

$ find ~/myspace/git/opencore -type f -name "*.[ch] -o -name "*.cpp" -exec grep -I "equalizer" {} \; -print

0 comments: