Code Comments
Programming Forum and web based access to our favorite programming groups.I got a strange thing. I download c++builderx personal solaris version. In solaris,gzip return error message. In windows winzip decompress the file successfully. Anyone knows reason?
Post Follow-up to this messageIn article <7d4caedb.0410162049.77601d64@posting.google.com>, te0543@giga.net.tw (Joseph) wrote: > I got a strange thing. > I download c++builderx personal solaris version. > In solaris,gzip return error message. > In windows winzip decompress the file successfully. > Anyone knows reason? Well, gzip uses a different compression algorithm than winzip -- have you tried using /usr/bin/zip? (gzip generally works on "*.gz" files, while zip works on "*.zip") Cheers, - jonathan
Post Follow-up to this messageJonathan Adams <jwadams@gmail.com> wrote in message news:<jwadams-49E7E4.00065617102004@new s1nwk.sfbay.sun.com>... > In article <7d4caedb.0410162049.77601d64@posting.google.com>, > te0543@giga.net.tw (Joseph) wrote: > > > Well, gzip uses a different compression algorithm than winzip -- have you > tried using /usr/bin/zip? (gzip generally works on "*.gz" files, while > zip works on "*.zip") > But the file ends with .tgz,how to decompress the file?
Post Follow-up to this messagete0543@giga.net.tw (Joseph) writes: > Jonathan Adams <jwadams@gmail.com> wrote in message > news:<jwadams-49E7E4.00065617102004@news1nwk.sfbay.sun.com>... > But the file ends with .tgz,how to decompress the file? 1. use gunzip to unzip the file 2. use tar to extract the file It is possible to use a shortcut: tar -zxf fileName.tgz
Post Follow-up to this messagebazad <nobody@noreply.not> wrote in message news:<1098040337.kR9r76fuXK2lZpXe75meiQ@teranew s>... > te0543@giga.net.tw (Joseph) writes: > > > > 1. use gunzip to unzip the file > 2. use tar to extract the file > > It is possible to use a shortcut: > tar -zxf fileName.tgz I have tried gzip,it returned integrity check error.
Post Follow-up to this messageIn article <7d4caedb.0410180124.301acb0@posting.google.com>, Joseph wrote: > bazad <nobody@noreply.not> wrote in message news:<1098040337.kR9r76fuXK2lZ pXe75meiQ@teranews>... > > I have tried gzip,it returned integrity check error. What is the result of: file filename.tgz ? -- Jim Cochrane; jtc@dimensional.com [When responding by email, include the term non-spam in the subject line to get through my spam filter.]
Post Follow-up to this messageJim Cochrane <jtc@shell.dimensional.com> wrote: <snip> Did you by any chance download the file using FTP in ASCII mode? If so, line termination conversion may have corrupted the file. Pete
Post Follow-up to this messageIn article <417500dc.1283570947@news.business.ntl.com>, Pete Brett wrote: > Jim Cochrane <jtc@shell.dimensional.com> wrote: > ><snip> > > Did you by any chance download the file using FTP in ASCII mode? If so, li ne > termination conversion may have corrupted the file. You got the attribution wrong - I didn't write the above - just replied to it that he should try the file command. But your ftp/ascii corruption possibility sounds like a candidate. -- Jim Cochrane; jtc@dimensional.com [When responding by email, include the term non-spam in the subject line to get through my spam filter.]
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.