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 --exclude=*~"
+ export GREP_OPTIONS="$GREP_OPTIONS --exclude=tags --exclude=TAGS --exclude=ChangeLog* --exclude=*.svn-base --exclude=*~"
# FIXME: grep(1) ignores subdirectories for --exclude.
- #export GREP_OPTIONS="$GREP_OPTIONS --exclude=testsuite --exclude=.pc --exclude=.svn"
+ #export GREP_OPTIONS="$GREP_OPTIONS --exclude=testsuite --exclude=.pc --exclude=.svn --exclude=CVS --exclude=po"
fi
if [ -n "$PS1" ];then # set only in interactive sessions
if [ ! -f /MOCK ];then