xz/src/scripts
Jonathan Nieder e71903fc61 “xzdiff a.xz b.xz” always fails
Attempts to compare two compressed files result in no output and
exit status 2.

Instead of going to standard output, ‘diff’ output is being
captured in the xz_status variable along with the exit status from
the decompression commands.  Later, when this variable is examined
for nonzero status codes, numerals from dates in the ‘diff’ output
make it appear as though decompression failed.

So let the ‘diff’ output leak to standard output with another file
descriptor.  (This trick is used in all similar contexts elsewhere
in xzdiff and in the analogous context in gzip’s zdiff script.)
2009-08-09 22:55:19 +03:00
..
Makefile.am Use sed instead of $(SED) so that we don't need to 2009-07-06 10:36:04 +03:00
xzdiff.1 Major update to the xzgrep and other scripts based on 2009-07-05 22:25:17 +03:00
xzdiff.in “xzdiff a.xz b.xz” always fails 2009-08-09 22:55:19 +03:00
xzgrep.1 Major update to the xzgrep and other scripts based on 2009-07-05 22:25:17 +03:00
xzgrep.in Major update to the xzgrep and other scripts based on 2009-07-05 22:25:17 +03:00
xzless.1 Major update to the xzgrep and other scripts based on 2009-07-05 22:25:17 +03:00
xzless.in xzless: Support compressed standard input 2009-08-09 22:27:22 +03:00
xzmore.1 Major update to the xzgrep and other scripts based on 2009-07-05 22:25:17 +03:00
xzmore.in Major update to the xzgrep and other scripts based on 2009-07-05 22:25:17 +03:00