On Fri, 22 Oct 2004 01:27:22 -0400
[EMAIL PROTECTED] wrote:

> I have a gunzip file which I have to decompress through a perl script 
> and copy the uncompressed file to another file.
> I used this
> 
> system('zcat -c $filename > out');
> where the filename is stored in $filename.
> 
> zcat gave me an error message that the output is not read from a 
> terminal. Could you please give me an option for zcat which I can use 
> for this.


zcat [ -fhLV ] [ name ...  ]


man zcat suggests -c is not an option.

-f --force
-h --help
-L --license
-V --version

what happens when you try it without the -c option?




Owen

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to