bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: diff: bad treatment of symlinks


From: Andreas Schwab
Subject: Re: diff: bad treatment of symlinks
Date: Wed, 19 Oct 2011 09:41:07 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)

"Andries E. Brouwer" <address@hidden> writes:

> You are mistaken: diff -r tree1 tree2 operates on filesystem trees
> containing all kinds of files.

When both files with the same name are plain files then diff shall
display their differences in contents.  Since plain diff always follows
symlinks, it makes more sense for diff -r to do it too (POSIX makes this
implementation-defined though).

Andreas.

-- 
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]