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

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

diff -r gets stuck on recursive symlinks


From: Edward Avis
Subject: diff -r gets stuck on recursive symlinks
Date: Tue, 19 Dec 2000 17:00:54 +0000 (GMT)

% mkdir foo
% cd foo
% ln -s . link
% cd ..
% cp -avi foo foo.new
% diff -r foo foo.new

I'm not sure if this is considered a bug.  But find(1), cp(1) and other
things which do 'recursive' type stuff do not have problems traversing
the above structure.

Perhaps diff needs an option

--no-deref-symlinks
        Do not dereference symlinks; just compare the filenames they
point to.

-- 
Ed Avis
address@hidden




reply via email to

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