GNU bug report logs - #21027
--exclude-dir matches search dir

Previous Next

Package: grep;

Reported by: Aron Griffis <aron <at> arongriffis.com>

Date: Fri, 10 Jul 2015 03:59:01 UTC

Severity: normal

Merged with 21026

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Jim Meyering <jim <at> meyering.net>
To: Paul Eggert <eggert <at> cs.ucla.edu>, aron <at> arongriffis.com
Cc: 21027-done <at> debbugs.gnu.org
Subject: bug#21027: --exclude-dir matches search dir
Date: Fri, 17 Jul 2015 14:37:51 -0700
On Fri, Jul 17, 2015 at 2:31 PM, Jim Meyering <jim <at> meyering.net> wrote:
> On Mon, Jul 13, 2015 at 4:35 PM, Paul Eggert <eggert <at> cs.ucla.edu> wrote:
>> 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.
>
> I've pushed this small follow-up patch to fix a false-positive test failure:

Grr... pushed the wrong patch. Fix-up here:
http://git.savannah.gnu.org/cgit/grep.git/commit/?id=3f50c6f0b09dd5be1b3d8413eb0be606fe48599d




This bug report was last modified 10 years and 5 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.