X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=gzip.1;h=9b221a78cb225161947916cf8744a012037df01e;hb=refs%2Ftags%2Fdebian%2F1.6-5;hp=06986eb02eb32908daa76462da612532fb3ab8ba;hpb=302189d124ed5849c2589ea92e912eb24fdc4ab3;p=debian%2Fgzip diff --git a/gzip.1 b/gzip.1 index 06986eb..9b221a7 100644 --- a/gzip.1 +++ b/gzip.1 @@ -4,7 +4,8 @@ gzip, gunzip, zcat \- compress or expand files .SH SYNOPSIS .ll +8 .B gzip -.RB [ " \-acdfhlLnNrtvV19 " ] +.RB [ " \-acdfhklLnNrtvV19 " ] +.RB [ --rsyncable ] .RB [ \-S\ suffix ] [ .I "name \&..." @@ -12,7 +13,7 @@ gzip, gunzip, zcat \- compress or expand files .ll -8 .br .B gunzip -.RB [ " \-acfhlLnNrtvV " ] +.RB [ " \-acfhklLnNrtvV " ] .RB [ \-S\ suffix ] [ .I "name \&..." @@ -28,7 +29,7 @@ gzip, gunzip, zcat \- compress or expand files reduces the size of the named files using Lempel-Ziv coding (LZ77). Whenever possible, each file is replaced by one with the extension -.B "\&.gz," +.BR "\&.gz" , while keeping the same ownership modes, access and modification times. (The default extension is .B "\-gz" @@ -65,14 +66,14 @@ Compressed files can be restored to their original form using or .I gunzip or -.I zcat. +.IR zcat . If the original name saved in the compressed file is not suitable for its file system, a new name is constructed from the original one to make it legal. .PP .I gunzip takes a list of files on its command line and replaces each -file whose name ends with .gz, -gz, .z, -z, _z or .Z +file whose name ends with .gz, -gz, .z, -z, or _z (ignoring case) and which begins with the correct magic number with an uncompressed file without the original extension. .I gunzip @@ -95,14 +96,19 @@ extension. .PP .I gunzip can currently decompress files created by -.I gzip, zip, compress, compress -H +.IR gzip , +.IR zip , +.IR compress , +.I "compress -H" or -.I pack. +.IR pack . The detection of the input format is automatic. When using the first two formats, .I gunzip checks a 32 bit CRC. For -.I pack, gunzip +.I pack +and +.I gunzip checks the uncompressed length. The standard .I compress format was not designed to allow consistency checks. However @@ -121,22 +127,28 @@ Files created by .I zip can be uncompressed by gzip only if they have a single member compressed with the 'deflation' method. This feature is only intended to help -conversion of tar.zip files to the tar.gz format. To extract zip files +conversion of tar.zip files to the tar.gz format. To extract a +.I zip +file with a single member, use a command like +.I "gunzip , +.BR , Internet RFC 1952 (May 1996). The .I zip deflation format is specified in P. Deutsch, \s-1DEFLATE\s0 Compressed Data Format Specification version 1.3, -.BR , +.BR , Internet RFC 1951 (May 1996). .SH "DIAGNOSTICS" Exit status is normally 0; if an error occurs, exit status is 1. If a warning occurs, exit status is 2. .TP -Usage: gzip [-cdfhlLnNrtvV19] [-S suffix] [file ...] +Usage: gzip [-cdfhklLnNrtvV19] [-S suffix] [file ...] Invalid options were specified on the command line. .TP \fIfile\fP\^: not in gzip format @@ -457,7 +477,7 @@ GNU tar. Make sure that the same block size (-b option of tar) is used for reading and writing compressed data on tapes. (This example assumes you are using the GNU version of tar.) .SH BUGS -The gzip format represents the the input size modulo 2^32, so the +The gzip format represents the input size modulo 2^32, so the --list option reports incorrect uncompressed sizes and compression ratios for uncompressed files 4 GB and larger. To work around this problem, you can use the following command to discover a large @@ -472,9 +492,9 @@ In some rare cases, the --best option gives worse compression than the default compression level (-6). On some highly redundant files, .I compress compresses better than -.I gzip. +.IR gzip . .SH "COPYRIGHT NOTICE" -Copyright \(co 1998, 1999, 2001 Free Software Foundation, Inc. +Copyright \(co 1998, 1999, 2001, 2002, 2012 Free Software Foundation, Inc. .br Copyright \(co 1992, 1993 Jean-loup Gailly .PP