GNU bug report logs - #17481
Mini bug with option --exclude-dir

Previous Next

Package: grep;

Reported by: Paul Eggert <eggert <at> cs.ucla.edu>

Date: Mon, 12 May 2014 20:48:01 UTC

Severity: minor

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: Paul Eggert <eggert <at> cs.ucla.edu>
To: ksz <at> cs.toronto.edu, 17481 <at> debbugs.gnu.org
Subject: bug#17481: Mini bug with option --exclude-dir
Date: Mon, 12 May 2014 13:46:31 -0700
Severity: minor

Thanks for the bug report.  Unfortunately we didn't have enough time to 
get to this before the next grep release, but is a reasonable thing to 
do so I'll resend this to bug-grep so that it gets a proper bug report 
number (we're using a new bug-reporting system).

On 06/06/2013 08:48 AM, Khaled Ziyaeen wrote:
> Hello,
>
> I would like to report a bug in the implementation of the --exclude-dir
> option in GNU grep 2.10 version.
>
> If running > grep --exclude-dir "/hdd1/lib/udev/devices/" -r eads /hdd1
>
> It will still examine /hdd1/lib/udev/devices.
>
> However, if running > grep --exclude-dir "/hdd1/lib/udev/devices" -r eads
> /hdd1
>
> Then, that folder I wanted to include is actually ignored. I think that the
> extra slash at the end, while unnecessary, must not break down the
> ---exclude-dir feature.
>
> Happy to help fix the bug!
>
> Best,
>
> Khaled.





This bug report was last modified 11 years and 57 days ago.

Previous Next


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