ignore binary files

This commit is contained in:
Josh Holtrop committed 2011-03-04 12:32:56 -05:00
1 parent d02a150884
commit 673d209206
1 file changed
+1 -1
+1 -1
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}