Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

uncompressing unix Z files on Win32

40 views
Skip to first unread message

Peter Wilson

unread,
Nov 16, 2005, 3:29:25 PM11/16/05
to
Can anyone help me? I can't work out how to uncompress .Z files on a win32
machine using perl.

Thanks in advance

Peter


Reinhard Pagitsch

unread,
Nov 17, 2005, 2:45:34 AM11/17/05
to
http://unxutils.sourceforge.net/ there is a gunzip.exe included which do
the work.

regards,
Reinhard

Peter Wilson

unread,
Nov 17, 2005, 6:26:00 AM11/17/05
to

"Reinhard Pagitsch" <rp...@gmx.net> wrote in message
news:437c351f$0$41148$1472...@news.sunsite.dk...

Hi

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

Best regards

Peter


Reinhard Pagitsch

unread,
Nov 17, 2005, 7:20:18 AM11/17/05
to
Hi,

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

0 new messages