Re: assign default value to variables I assign from split

[email protected] (Richard Lee)
Newsgroups perl.beginners
Message-ID <[email protected]>
John W. Krahn wrote:
>
>
> SYNOPSIS
>        gzip [ -acdfhlLnNrtvV19 ] [-S suffix] [ name ...  ]
>        gunzip [ -acfhlLnNrtvV ] [-S suffix] [ name ...  ]
>        zcat [ -fhLV ] [ name ...  ]
>
>
> Note that the -d switch applies to gzip only.  zcat by definition is 
> *supposed* to decompress files.  (Why would zcat *compress* files?)
>
>
>
> John
Hi John,

I used these to decompress file without actually decompressing the file.

 zcat  is  identical  to gunzip -c.  (On some systems, zcat may be 
installed as gzcat to preserve the original link to com-
       press.)  zcat uncompresses either a list of files on the command 
line or its standard input and  writes  the  uncompressed
       data  on standard output.  zcat will uncompress files that have 
the correct magic number whether they have a .gz suffix or
       not.

so that i can see what's inside of gz file without actually unzipping 
them. It works for me but I guess I have been using it without really 
understanding nor seeing the man page!

thanks~
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.