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: Vincent Lefevre <vincent <at> vinc17.net>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 22144 <at> debbugs.gnu.org
Subject: bug#22144: --exclude no longer works against arguments with a directory name
Date: Wed, 16 Dec 2015 11:26:43 +0100
On 2015-12-15 22:24:25 -0800, Paul Eggert wrote:
> Vincent Lefevre wrote:
> >How is the file name defined, then?
> 
> It's built as a string, which is passed to 'open' without worrying
> about realpath.

So, for instance, "foo" and "./foo" are regarded as different?

The way how files are regarded to be the same needs to be clarified.
For instance, some utilities consider the device & inode numbers
(which have their own problems with broken FS implementations).
That's the case of cp (if this has not changed since 2004). That's
also the case of diff (if this has not changed since 2005), but you
know that. :)

-- 
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)




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.