ignore binary files

This commit is contained in:
Josh Holtrop 2011-03-04 12:32:56 -05:00
parent d02a150884
commit 673d209206

View File

@ -5,4 +5,4 @@ where="$2"
if [[ "x$where" == "x" ]]; then if [[ "x$where" == "x" ]]; then
where=. where=.
fi fi
exec grep --exclude-dir .svn --color=auto -R "define *\\<${define}\\>" ${where} exec grep --exclude-dir .svn --color=auto -RI "define *\\<${define}\\>" ${where}