|
From: | Paul Eggert |
Subject: | bug#22144: --exclude no longer works against arguments with a directory name |
Date: | Mon, 28 Dec 2015 01:09:40 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 |
Vincent Lefevre wrote:
The documentation is still ambiguous. For the "main case", is this the canonical name as returned by realpath?>As you say, the 2.22 behavior does not seem ideal.By doing a difference for subfiles of a recursive search, this is even worse!
Please try the attached patch, which I've installed into the savannah repository. It attempts to fix the behavior, and to clarify the documentation. It is a tricky area. Hope this helps.
0001-grep-exclude-matches-trailing-parts-of-args.patch
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |