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

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

Re: Bug in diff ?


From: Paul Eggert
Subject: Re: Bug in diff ?
Date: 18 Mar 2003 14:00:36 -0800
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.3

Markus Blau <address@hidden> writes:

> maybe I'm not allowed to read this file , but the problem is, that
> diff exits instead of continue comparing the rest of the files.

How do you know that it didn't compare the rest of the files?  Perhaps
they were all the same.

It works for me in your situation:

$ mkdir a b
$ touch a/f b/f a/g  
$ echo foo >b/g
$ chmod 0 b/f
$ diff -r a b
diff: b/f: Permission denied
diff -r a/g b/g
0a1
> foo
$ diff --version
diff (GNU diffutils) 2.8.4
Copyright (C) 2002 Free Software Foundation, Inc.

This program comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of this program
under the terms of the GNU General Public License.
For more information about these matters, see the files named COPYING.

Written by Paul Eggert, Mike Haertel, David Hayes,
Richard Stallman, and Len Tower.





reply via email to

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