Re: uncompressing unix Z files on Win32



Hi,
Peter Wilson wrote:
"Reinhard Pagitsch" <rprp@xxxxxxx> wrote in message news:437c351f$0$41148$14726298@xxxxxxxxxxxxxxxxxx

Peter Wilson wrote:

Can anyone help me? I can't work out how to uncompress .Z files on a win32 machine using perl.

Thanks in advance

Peter

http://unxutils.sourceforge.net/ there is a gunzip.exe included which do the work.


regards,
Reinhard


Hi

Many thanks but can i do it within perl? The Compress::Zlib does not support the unix compress format.

Only if you want to use system() or backticks.

Like
system("gunzip.exe", "file.Z");
or
$ret = `gunzip.exe file.Z`;




Best regards

Peter




--
regards,
Reinhard
.



Relevant Pages

  • Re: how to append blocks in same file
    ... > Aditi Gupta wrote: ... I bet Perl would be good ...
    (perl.beginners)
  • perl question
    ... I have a question in regards to an error i receive from running a script in perl from a user on my ... Spam Administrator ...
    (perl.beginners)
  • Re: C related, but not a C question..
    ... You didn't seem to have any trouble. ... In regards to? ... statistics, etc.]) and instead write it in Perl, since it would require ... let's use a crappier tool for the task because ...
    (comp.lang.c)
  • Re: Help with SlickEdit and PERL set up
    ... Regards ... > Try a Slickedit-specific forum: ... >> I seem to get nothing but errors when I attempt to compile and run my pl ... PERL, cant seem to set it up properly. ...
    (comp.editors)
  • Re: Changing from C thought to Perl
    ... > pretty good C programmer, but Perl seems to make much more sense ... > Has anyone else moved from C to Perl who has some advice. ... In regards ...
    (comp.lang.perl.misc)