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:31:27 -0700
[Message part 1 (text/plain, inline)]
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:
[0001-tests-avoid-FS-dependent-false-positive-failure.patch (text/x-patch, attachment)]

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.