uncompressing unix Z files on Win32

uncompressing unix Z files on Win32

am 16.11.2005 21:29:25 von Peter Wilson

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

Thanks in advance

Peter

Re: uncompressing unix Z files on Win32

am 17.11.2005 08:45:34 von Reinhard Pagitsch

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

Re: uncompressing unix Z files on Win32

am 17.11.2005 12:26:00 von Peter Wilson

"Reinhard Pagitsch" wrote in message
news:437c351f$0$41148$14726298@news.sunsite.dk...
> 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.

Best regards

Peter

Re: uncompressing unix Z files on Win32

am 17.11.2005 13:20:18 von Reinhard Pagitsch

Hi,
Peter Wilson wrote:
> "Reinhard Pagitsch" wrote in message
> news:437c351f$0$41148$14726298@news.sunsite.dk...
>
>>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