[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to compare a .gz and a txt file
From: |
John Cowan |
Subject: |
Re: How to compare a .gz and a txt file |
Date: |
Wed, 19 May 2010 09:25:00 -0400 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Peng Yu scripsit:
> Thank you! One additional question. If I want to compare the contents
> of two gz files without creating temp files, is it possible?
If you are using bash or a similar shell, you can do this:
$ diff <(gunzip <a.gz) <(gunzip b.gz)
> Why this is not the right mailing list to ask? I thought this mailing
> list is for diff, right?
It's for reporting bugs and requesting enhancements, not for "how to use".
--
John Cowan address@hidden http://ccil.org/~cowan
I must confess that I have very little notion of what [s. 4 of the British
Trade Marks Act, 1938] is intended to convey, and particularly the sentence
of 253 words, as I make them, which constitutes sub-section 1. I doubt if
the entire statute book could be successfully searched for a sentence of
equal length which is of more fuliginous obscurity. --MacKinnon LJ, 1940