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~
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/