--- Begin Message ---
Subject: |
--exclude no longer works against arguments with a directory name |
Date: |
Fri, 11 Dec 2015 10:31:11 +0100 |
User-agent: |
Mutt/1.5.24-6539-vl-r83103 (2015-12-08) |
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 <address@hidden> - 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)
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#22144: --exclude no longer works against arguments with a directory name |
Date: |
Wed, 30 Dec 2015 22:37:16 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 |
Vincent Lefevre wrote:
I've done various tests, and it seems fine. Thanks.
You're welcome; closing the bug report.
--- End Message ---