Hi,
On Fri, 18 Nov 2005, Matthias Urlichs wrote:
So the trivial fix is to emit our own "Binary files FOO and BAR differ"
line if the exit status is 2.
From my diff man page:
-- snip --
DIAGNOSTICS
An exit status of 0 means no differences were found, 1 means some
differences were found, and 2 means trouble.
-- snap --
The exit value 2 is ambiguous for at least one version of GNU diff.
Hth,
Dscho