Decklin Foster wrote:
> However, I soon discovered that gzip apparenly creates different
> compressed files for the same input on i386 and ppc.

It has nothing to do with architecture; gzip records the timestamp of the file
it compresses:

joey@gumdrop:~>touch foo          
joey@gumdrop:~>gzip < foo > a.gz
joey@gumdrop:~>touch foo
joey@gumdrop:~>gzip < foo > b.gz 
joey@gumdrop:~>md5sum [ab].gz  
ea064b002ea0850c8025588f2d5a8b6b  a.gz
3352b896bb8b29e01e7522f1d835b443  b.gz
joey@gumdrop:~>file [ab].gz
a.gz: gzip compressed data, deflated, last modified: Wed Jan  3 16:30:11 2001, os: Unix
b.gz: gzip compressed data, deflated, last modified: Wed Jan  3 16:30:33 2001, os: Unix

-- 
see shy jo


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to