[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Incorrect zdiff behaviour
From: |
Matthew Burgess |
Subject: |
Incorrect zdiff behaviour |
Date: |
Thu, 8 Oct 2009 16:09:07 -0600 |
User-agent: |
RoundCube Webmail/0.1b |
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.
- Incorrect zdiff behaviour,
Matthew Burgess <=