From 2a3f2fce01c03dd2da394e8db59311407ef7a659 Mon Sep 17 00:00:00 2001 From: lace <> Date: Sun, 12 Oct 2008 08:20:14 +0000 Subject: [PATCH 1/1] GREP_OPTIONS --exclude=: +*~ --- .bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bashrc b/.bashrc index 599c51a..9012b77 100644 --- a/.bashrc +++ b/.bashrc @@ -173,7 +173,7 @@ for file in $HOME/.bookmarks.html;do done export GREP_OPTIONS="--binary-files=without-match --directories=skip" if echo x|GREP_OPTIONS="--exclude=y" grep -q x 2>/dev/null;then - export GREP_OPTIONS="$GREP_OPTIONS --exclude=tags --exclude=TAGS --exclude=CVS --exclude=ChangeLog* --exclude=*.svn-base" + export GREP_OPTIONS="$GREP_OPTIONS --exclude=tags --exclude=TAGS --exclude=CVS --exclude=ChangeLog* --exclude=*.svn-base --exclude=*~" # FIXME: grep(1) ignores subdirectories for --exclude. #export GREP_OPTIONS="$GREP_OPTIONS --exclude=testsuite --exclude=.pc --exclude=.svn" fi -- 1.8.3.1