Bryan Kadzban wrote:
> (Does that actually help? :-) )
>
LOL I started to do the same, and then I read what would have been
posted about half way through, and said the hell with it.
-- DJ Lucas
--
This message has been scanned for viruses and
dangerous content, and is believed to be clean
Bruce Dubbs wrote:
> Bryan Kadzban wrote:
>> Sheesh, that's complicated!
>
> Yes, it's bad. Earlier they have:
>
> for file
> do
>test "X$file" = X- || <"$file" || exit 2
> done
>
> but file is never defined, so this always fails. It might be for another
> shell
> or architecture, but
Bryan Kadzban wrote:
> Bruce Dubbs wrote:
>> The problem code looks like:
>>
>> gzip_status=$(
>>exec 4>&1
>>(gzip -cdfq -- "$1" 4>&-; echo $? >&4) 3>&- |
>> ( (gzip -cdfq -- "$2" 4>&-; echo $? >&4) 3>&- 5<&- > eval "$cmp" /dev/fd/5 -) 5<&0
>> )
>
> Sheesh, that's complica
Dan Nicholson wrote:
> On Sun, May 17, 2009 at 6:49 PM, Bruce Dubbs wrote:
>> I'm trying to address ticket #2315 that says zdiff doesn't work. I confirmed
>> this by creating two files with a one line difference and compressing them:
>>
>> gzip file1
>> gzip file2
>>
>> But 'zdiff file1.gz file2.
Bruce Dubbs wrote:
> The problem code looks like:
>
> gzip_status=$(
>exec 4>&1
>(gzip -cdfq -- "$1" 4>&-; echo $? >&4) 3>&- |
> ( (gzip -cdfq -- "$2" 4>&-; echo $? >&4) 3>&- 5<&- eval "$cmp" /dev/fd/5 -) 5<&0
> )
Sheesh, that's complicated! Let's see if I can decipher.
I'm trying to address ticket #2315 that says zdiff doesn't work. I confirmed
this by creating two files with a one line difference and compressing them:
gzip file1
gzip file2
But 'zdiff file1.gz file2.gz' gives no output. Older versions of the script
work properly.
The code in the script is
On Sun, May 17, 2009 at 6:49 PM, Bruce Dubbs wrote:
> I'm trying to address ticket #2315 that says zdiff doesn't work. I confirmed
> this by creating two files with a one line difference and compressing them:
>
> gzip file1
> gzip file2
>
> But 'zdiff file1.gz file2.gz' gives no output. Older ve