mersenneforum.org  

Go Back   mersenneforum.org > Fun Stuff > Lounge

Reply
 
Thread Tools
Old 2008-02-06, 17:35   #1
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Cambridge (GMT/BST)

10110111110002 Posts
Default Decompressing files

how can i decompress main.gz from this page 7-zip wont read them
http://cage.ugent.be/~jdemeyer/cunningham/
henryzz is online now   Reply With Quote
Old 2008-02-06, 17:52   #2
kar_bon
 
kar_bon's Avatar
 
Mar 2006
Germany

B5816 Posts
Default

the "gz" files are not zipped!

they're *.txt. rename them only!
kar_bon is offline   Reply With Quote
Old 2008-02-06, 18:01   #3
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA (GMT-5)

3×2,083 Posts
Default

Quote:
Originally Posted by kar_bon View Post
the "gz" files are not zipped!

they're *.txt. rename them only!
No, no--they aren't just raw text files. They're compressed, but not with the zip algorithm. They're compressed with the gzip algorithm, which is sort of like the Unix/Linux counterpart of zip.

It can be decompressed on Windows with most freeware compression programs, such as [url=http://www.7-zip.com]7-zip[/i]. You can also decompress it with a Windows port of the Linux "gunzip" command; such a port can be found at http://unxutils.sourceforge.net.
mdettweiler is offline   Reply With Quote
Old 2008-02-06, 18:33   #4
kar_bon
 
kar_bon's Avatar
 
Mar 2006
Germany

23×3×112 Posts
Default

sorry,
i downloaded them (with IE) and:
the file size on the page: 1.610.614 bytes
downloaded size: 3.660.535 bytes
so IE seems to write them as text!
kar_bon is offline   Reply With Quote
Old 2008-02-06, 18:37   #5
Mini-Geek
Account Deleted
 
Mini-Geek's Avatar
 
"Tim Sorbera"
Aug 2006
San Antonio, TX USA

10000101010112 Posts
Default

My version of 7-zip can read it just fine. Do you have an old version or something? You should try opening the files both in notepad (or similar), and 7-zip. Maybe your browser is converting it from a .gz'd .txt file to plain .txt file when you save it to your drive. Maybe it's not.
In my version of Firefox, it saves the file as .gz. If I save it, either by right click on link > save or go to the page > file > save, it saves it encoded as .gz that opens just fine in 7-zip. If I go to the page, it displays as plain text in Firefox.
Mini-Geek is offline   Reply With Quote
Old 2008-02-06, 18:45   #6
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA (GMT-5)

3·2,083 Posts
Default

Oh, duh, now I feel like an idiot: somehow I missed the part in henryzz's post that said 7-zip wouldn't open it, so I recommended he try 7-zip!

Hmm...maybe if IE's not downloading it correctly, you could try Firefox? (Assuming you have a copy of Firefox that is.)
mdettweiler is offline   Reply With Quote
Old 2008-02-06, 19:53   #7
ewmayer
2ω=0
 
ewmayer's Avatar
 
Sep 2002
República de California

103×113 Posts
Default

Random linux-system-at-work handles it just fine via gzip -d:

[mayer@linux_foo ~]$ ll *gz
-rwx------ 1 mayer mygroup 1610614 2008-02-06 11:49 main.gz
[mayer@linux_foo ~]$ gzip -d main.gz
[mayer@linux_foo ~]$ ll main
-rwx------ 1 mayer mygroup 3660535 2008-02-06 11:49 main
[mayer@linux_foo ~]$ head main
(2,1-)
(2,1+) 3
(2,2-) 3
(2,2+) 5
(2,3-) 7
(2,3+) 3.3
(2,4-) 3.5
(2,4+) 17
(2,5-) 31
(2,5+) 3.11
ewmayer is offline   Reply With Quote
Old 2008-02-06, 19:58   #8
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA (GMT-5)

141518 Posts
Default

Since Linux seems to work fine on it, I'd be glad to decompress it and put it in a normal zip file for you. (I have Linux on my primary machine.) All I'll need is an email address to send it to you at.
mdettweiler is offline   Reply With Quote
Old 2008-02-06, 21:31   #9
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Cambridge (GMT/BST)

23·3·5·72 Posts
Default

after reading ur posts i realized it was in text format
how wierd
henryzz is online now   Reply With Quote
Old 2008-02-06, 23:21   #10
ewmayer
2ω=0
 
ewmayer's Avatar
 
Sep 2002
República de California

103·113 Posts
Default

Quote:
Originally Posted by henryzz View Post
after reading ur posts i realized it was in text format
how wierd
No, it's not - but some browsers are smart enough to decompress it on the fly.

When I look at the contents of the uncompressed main.gz file as saved-to-disk, they are gzip-style gibberish.
ewmayer is offline   Reply With Quote
Old 2008-02-07, 07:36   #11
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Cambridge (GMT/BST)

23·3·5·72 Posts
Default

it was IE7 that did it for me
henryzz is online now   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Posting log files or other text files Xyzzy Forum Feedback 3 2018-12-30 19:37
Format for .alq files schickel Aliquot Sequences 5 2009-04-02 12:44
Help using .ini files only in v24 petrw1 PrimeNet 1 2008-10-15 03:24
Backup Files Unregistered Information & Answers 1 2008-05-30 03:30
Is there a way to... temp files... dsouza123 Software 2 2004-03-07 01:28

All times are UTC. The time now is 13:07.


Sat Jul 17 13:07:58 UTC 2021 up 50 days, 10:55, 1 user, load averages: 1.69, 2.01, 1.86

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.