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

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

Re: Small issue with diff utils


From: Paul Eggert
Subject: Re: Small issue with diff utils
Date: Sat, 14 Dec 2002 22:58:13 -0800 (PST)

> From: Mark Veltzer <address@hidden>
> Date: Sat, 14 Dec 2002 11:45:23 +0200

> 1. Document this issue in the diff manual (it is undocumented).

The manual currently says "An exit status of 0 means no differences
were found, 1 means some differences were found, and 2 means trouble."

> 2. To keep backward compatibility make a new option in diff that
> when used will cause diff to return an error code ONLY if there were
> technical problems

That is easily achieved with a wrapper shell script, e.g.

#! /bin/sh
diff "$@"
case $? in
1) exit 0;;
esac



reply via email to

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