Thanks Mark. Just changing the single quotes to double quotes worked for
me. Your help is appreciated.
Manas.
Quoting Mark Goland <[EMAIL PROTECTED]>:
>
> ----- Original Message -----
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, October 22, 2004 1:27 AM
> Subject: zcat
>
>
> > Hi
> Hello,
> > 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');
> Problem is when ever your put anything into ' ', parser will not
> inflate it.
> so basicly $file is what zcat to be as file.
>
> HTH,
> Mark
> > 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.
> >
> > Thanks,
> > Manas.
> >
> > --
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > <http://learn.perl.org/> <http://learn.perl.org/first-response>
> >
> >
> >
>
>
>
>
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>