bug-grep
[Top][All Lists]
Advanced

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

bug#21027: --exclude-dir matches search dir


From: Paul Eggert
Subject: bug#21027: --exclude-dir matches search dir
Date: Mon, 13 Jul 2015 16:35:19 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

Aron Griffis wrote:
This generates output:

$ grep -rl --exclude-dir=usr LINUX /usr/include

and this doesn't:

$ grep -rl --exclude-dir='usr*' LINUX /usr/include

This feels like a bug.

Thanks for reporting that.  I installed the attached patch.

Attachment: 0001-grep-fix-bug-with-exclude-dir-and-command-line.patch
Description: Text Data


reply via email to

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