diff on .gz and .bz2 files

2010-01-30 Thread Peng Yu
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

Re: diff on .gz and .bz2 files

2010-01-30 Thread jellybean stonerfish
On Fri, 29 Jan 2010 09:20:22 -0600, 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 explicit

Re: diff on .gz and .bz2 files

2010-01-30 Thread Peng Yu
On Sat, Jan 30, 2010 at 10:11 AM, jellybean stonerfish wrote: > On Fri, 29 Jan 2010 09:20:22 -0600, 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

Re: diff on .gz and .bz2 files

2010-01-30 Thread jellybean stonerfish
On Sat, 30 Jan 2010 20:34:05 -0600, Peng Yu wrote: > On Sat, Jan 30, 2010 at 10:11 AM, jellybean stonerfish > wrote: >> On Fri, 29 Jan 2010 09:20:22 -0600, Peng Yu wrote: >> >>> It seems that diff can not do comparison on the decompressed files in >>> .gz and .bz2 files. I could first decompress