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