GNU bug report logs - #17763
grep --exclude does not match files as documented in man page

Previous Next

Package: grep;

Reported by: ANDREUX Hugues <hugues.andreux <at> sgcib.com>

Date: Thu, 12 Jun 2014 15:38:03 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

Full log


Message #10 received at 17763-done <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: ANDREUX Hugues <hugues.andreux <at> sgcib.com>, 
 17763-done <at> debbugs.gnu.org
Subject: Re: bug#17763: grep --exclude does not match files as documented
 in man page
Date: Fri, 11 Jul 2014 13:23:56 -0700
[Message part 1 (text/plain, inline)]
On 06/12/2014 05:05 AM, ANDREUX Hugues wrote:
> According to the man page:
> "       --exclude=GLOB
>                Skip files whose*base name*  matches GLOB (using wildcard matching).

Thanks, I think that's a bug in the documentation, not in the code; 
grep's behavior is similar to that of tar's, which has similar options.  
I installed the attached documentation patch.
[0001-doc-Document-r-vs-exclude-more-carefully.patch (text/x-patch, attachment)]

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

Previous Next


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