Package: cvs Version: 1.12.9-13 cvs diff exits: 0 on success when no diffs are found 1 on success when diffs are found 1 if you ^C it (and perhaps in the face of other errors)
Obviously this makes it impossible to correctly write scripts that use cvs diff. It should: * propagate the exit status from the underlying diff command accurately * never synthesize an exit status that already has meaning from diff unless it definitely means the same thing. As an example consider a script that performs many cvs diff operations. If you treat status 1 as an error then your script reports an error whenever differnces are found; if you do not then it cannot be interrupted by ^C and presumably ignores other serious errors. ttfn/rjk -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]