Hello

Since wheezy (grep 2.12-2) a patch like this has apparently been merged.
I'm not seeing it documented on the man page. (Shouldn't it be?)

This is undesirable for those of us who use shell aliases.

For example, I use
alias grep='grep -rI --exclude-dir=.svn'


Try the following sequence of commands:

mkdir /tmp/greptest
cd /tmp/greptest
echo hello grep > wtf
alias grep='grep -r'
dpkg -l | grep grep


Expected results:
ii  grep    2.12-2   amd64   GNU grep, egrep and fgrep

Actual results:
wtf:hello grep


It seems GREP_OPTIONS is special-cased, and I can move the switches
there as a workaround.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to