From 673d209206df094fbd7ba01a42ebebca7a23784c Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Fri, 4 Mar 2011 12:32:56 -0500 Subject: [PATCH] ignore binary files --- grepdefine | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grepdefine b/grepdefine index 3e8e72d..a5cf750 100755 --- a/grepdefine +++ b/grepdefine @@ -5,4 +5,4 @@ where="$2" if [[ "x$where" == "x" ]]; then where=. fi -exec grep --exclude-dir .svn --color=auto -R "define *\\<${define}\\>" ${where} +exec grep --exclude-dir .svn --color=auto -RI "define *\\<${define}\\>" ${where}