Hi,

With recent versions of gzip, including 1.3.13, zdiff appears to
be misbehaving.  This is on a recent Linux system with Bash-4.0
installed:

$ echo "File1" > file1
$ echo "File2" > file2
$ gzip file1
$ gzip file2
$ zdiff file1.gz file2.gz
[no output]

If I do the following (which just changes line 111) then things
appear to work again:

$ sed -i 's/5 -)/5 - >\&3)/' /usr/bin/zdiff
$ zdiff file1.gz file2.gz
1c1
< File1
---
> File2

Is this the correct fix, or are we hitting a bug in Bash?

Thanks,

Matt.



Reply via email to