I tried running zdiff on two gzipped xml files, like: zdiff Accounts.xac Accounts.xac.gnucash.20110520085906.gnucash It reported that the two binary files differed, so I ran zdiff -a, which spewed binary data. I then symlinked xxx.gz to xxx and ran: zdiff Accounts.xac.gz Accounts.xac.gnucash.20110520085906.gnucash.gz That worked fine. Please make zdiff work with gzipped files that don't have the .gz extension. Thanks, Jayen
tags 343575 patch tags 630111 patch stop ----- Hello, Here is a small patch for this bug. Regards,
tags 343575 patch tags 630111 patch stop ----- Hello, Here is a small patch for this bug. Regards,
Thanks for the patch you provided in early Feb. Unfortunately, applying
this patch causes 'make check' to fail like so:
make[4]: Leaving directory `/tmp/buildd/gzip-1.4/build'
GEN gzip.doc.gz
{ test '..' != . || ./zdiff --__bindir . -c gzip.doc.gz; }
./zdiff --__bindir . -c ../gzip.doc ../gzip.doc
./zdiff --__bindir . ../gzip.doc gzip.doc.gz
./zdiff --__bindir . -c - ../gzip.doc <gzip.doc.gz
*** - Fri Apr 13 05:13:31 2012
--- ../gzip.doc Fri Apr 13 05:13:02 2012
***************
*** 0 ****
--- 1,372 ----
+ GZIP(1) GZIP(1)
+
+ NAME
+ gzip, gunzip, zcat - compress or expand files
And so on.
Want to try again?
Bdale
----- Need to rework the patch.