[Bug 252515] diff incorrectly reports files as different when with -q -w options set

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jan 8 17:54:55 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252515

--- Comment #1 from Ed Maste <emaste at freebsd.org> ---
Interesting; GNU diff behaves as you expected:

$ diff -qw a b; echo $?
Files a and b differ
1
$ gdiff -qw a b; echo $?
0

That said I think the behaviour of BSD diff is more useful; in any case the man
page needs to be more clear.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list