Re: diff on .gz and .bz2 files

"Colin S. Miller" <[email protected]> Sun, 31 Jan 2010 14:14:12 +0000
Newsgroups gmane.comp.gnu.utils
Organization SunSITE.dk - Supporting Open source
Message-ID <[email protected]>
Peng Yu wrote:
> It seems that diff can not do comparison on the decompressed files in
> .gz and .bz2 files. I could first decompress the .gz and .bz2 file and
> then do the comparison. But it would be convenient to be able to
> directly compare without explicitly decompressing any files. Could
> somebody add this feature to diff?
> 
> 
Peng,

The utils "zdiff" and "bzdiff" will do this.
HTH,
Colin S. Miller

-- 
Replace the obvious in my email address with the first three letters of the hostname to reply.