X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=gzip.1;h=4817180da9d09ea33cdd8ab02410ebf162bef560;hb=67574205b8050b3b25de4fc8009dc61306329f6b;hp=f5d03ff3ef59b6fa5ba6aa952f8d61d28509c3ab;hpb=ad96056bdcf62abd585cdb53768fbabdde75d1b5;p=debian%2Fgzip diff --git a/gzip.1 b/gzip.1 index f5d03ff..4817180 100644 --- a/gzip.1 +++ b/gzip.1 @@ -72,7 +72,7 @@ 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 @@ -180,12 +180,12 @@ or decompressing. The .I gzip file format is specified in P. Deutsch, \s-1GZIP\s0 file format -specification version 4.3, , +specification version 4.3, , 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, -, Internet RFC 1951 (May 1996). +, Internet RFC 1951 (May 1996). .SH OPTIONS .TP @@ -210,7 +210,7 @@ is read from or written to a terminal. If the input data is not in a format recognized by .I gzip, and if the option --stdout is also given, copy the input data without change -to the standard ouput: let +to the standard output: let .I zcat behave as .I cat. @@ -291,16 +291,14 @@ will descend into the directory and compress all the files it finds there ). .TP .B \-S .suf --suffix .suf -Use suffix .suf instead of .gz. Any suffix can be given, but suffixes +When compressing, use suffix .suf instead of .gz. +Any non-empty suffix can be given, but suffixes other than .z and .gz should be avoided to avoid confusion when files -are transferred to other systems. A null suffix forces gunzip to try -decompression on all given files regardless of suffix, as in: +are transferred to other systems. - gunzip -S "" * (*.* for MSDOS) +When decompressing, add .suf to the beginning of the list of +suffixes to try, when deriving an output file name from an input file name. -Previous versions of gzip used -the .z suffix. This was changed to avoid a conflict with -.IR pack "(1)". .TP .B \-t --test Test. Check the compressed file integrity. @@ -383,20 +381,19 @@ explicit command line parameters. For example: On Vax/VMS, the name of the environment variable is GZIP_OPT, to avoid a conflict with the symbol set for invocation of the program. .SH "SEE ALSO" -znew(1), zcmp(1), zmore(1), zforce(1), gzexe(1), zip(1), unzip(1), compress(1), -pack(1), compact(1) +znew(1), zcmp(1), zmore(1), zforce(1), gzexe(1), zip(1), unzip(1), compress(1) .PP The .I gzip file format is specified in P. Deutsch, \s-1GZIP\s0 file format specification version 4.3, -.BR , +.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; @@ -473,7 +470,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