Bug#879086: diffoscope: please use exit codes to indicate if files are the same or not
Stuart Prescott
stuart at debian.org
Thu Oct 19 07:22:11 UTC 2017
Package: diffoscope
Version: 78
Severity: wishlist
Dear Maintainer,
It would be handy if diffoscope used the same exit codes as diff to indicate
the similarity (or otherwise) of files. diff(1) says:
Exit status is 0 if inputs are the same, 1 if different, 2 if trouble.
which makes it very easy to programmatically detect if two files are the same
or if diffoscope otherwise exited. (diff's exit 2 includes "no such file or
directory" errors)
cheers
Stuart
More information about the Reproducible-builds
mailing list