bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #36324] grep version 2.12 --include --exclude STILL BROKEN since 2.


From: Paolo Bonzini
Subject: [bug #36324] grep version 2.12 --include --exclude STILL BROKEN since 2.5.6 or so...
Date: Sun, 29 Apr 2012 14:00:15 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20100101 Firefox/12.0

Follow-up Comment #1, bug #36324 (project grep):

As it is currently implemented, --include and --exclude do work correctly, but
they only apply to recursively-searched directories:

yakj:~/devel/grep/+build/src/ff pbonzini$ ../grep -R : .
./a::
./b::
yakj:~/devel/grep/+build/src/ff pbonzini$ ../grep -R --include=a : .
./a::
yakj:~/devel/grep/+build/src/ff pbonzini$ ../grep -R --exclude=a : .
./b::
yakj:~/devel/grep/+build/src/ff pbonzini$ ../grep -R --exclude=*a : .
./b::
yakj:~/devel/grep/+build/src/ff pbonzini$ ../grep -R --include=*a : .
./a::
yakj:~/devel/grep/+build/src/ff pbonzini$ ../grep -R --include=*b : .
./b::

I'll try tomorrow whether older versions had a different behevior.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?36324>

_______________________________________________
  Messaggio inviato con/da Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]