GNU bug report logs - #22144
--exclude no longer works against arguments with a directory name

Previous Next

Package: grep;

Reported by: Vincent Lefevre <vincent <at> vinc17.net>

Date: Fri, 11 Dec 2015 18:38:02 UTC

Severity: normal

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: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#22144: closed (--exclude no longer works against arguments
 with a directory name)
Date: Thu, 31 Dec 2015 06:38:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 30 Dec 2015 22:37:16 -0800
with message-id <5684CD1C.5070900 <at> cs.ucla.edu>
and subject line Re: bug#22144: --exclude no longer works against arguments with a directory name
has caused the debbugs.gnu.org bug report #22144,
regarding --exclude no longer works against arguments with a directory name
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
22144: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=22144
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Vincent Lefevre <vincent <at> vinc17.net>
To: bug-grep <at> gnu.org
Subject: --exclude no longer works against arguments with a directory name
Date: Fri, 11 Dec 2015 10:31:11 +0100
In grep 2.22, --exclude no longer works in some cases:

$ cd /usr/share/doc/grep
$ grep e --exclude README README

is OK, but not:

$ grep e --exclude README /usr/share/doc/grep/README
  Copyright (C) 1992, 1997-2002, 2004-2015 Free Software Foundation, Inc.
[...]

This breaks at least one of my scripts, where --exclude is used to
exclude filenames generated with globbing.

After reverting to grep 2.21, this problem disappeared.

My Debian bug report:
  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=807641

-- 
Vincent Lefèvre <vincent <at> vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


[Message part 3 (message/rfc822, inline)]
From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Vincent Lefevre <vincent <at> vinc17.net>
Cc: 22144-done <at> debbugs.gnu.org
Subject: Re: bug#22144: --exclude no longer works against arguments with a
 directory name
Date: Wed, 30 Dec 2015 22:37:16 -0800
Vincent Lefevre wrote:
> I've done various tests, and it seems fine. Thanks.

You're welcome; closing the bug report.


This bug report was last modified 9 years and 140 days ago.

Previous Next


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