.BR "\&.gz" ,
while keeping the same ownership modes, access and modification times.
(The default extension is
-.B "\-gz"
-for VMS,
.B "z"
for MSDOS, OS/2 FAT, Windows NT FAT and Atari.)
If no files are specified, or if a file name is "-", the standard input is
are used when decompressing the file with the
.B \-N
option. This is useful when the compressed file name was truncated or
-when the time stamp was not preserved after a file transfer.
+when the timestamp was not preserved after a file transfer.
.PP
Compressed files can be restored to their original form using
.I gzip -d
method: compression method
crc: the 32-bit CRC of the uncompressed data
- date & time: time stamp for the uncompressed file
+ date & time: timestamp for the uncompressed file
The compression methods currently supported are deflate, compress, lzh
(SCO compress -H) and pack. The crc is given as ffffffff for a file
license and quit.
.TP
.B \-n --no-name
-When compressing, do not save the original file name and time stamp by
+When compressing, do not save the original file name and timestamp by
default. (The original name is always saved if the name had to be
truncated.) When decompressing, do not restore the original file name
if present (remove only the
.I gzip
suffix from the compressed file name) and do not restore the original
-time stamp if present (copy it from the compressed file). This option
+timestamp if present (copy it from the compressed file). This option
is the default when decompressing.
.TP
.B \-N --name
-When compressing, always save the original file name and time stamp; this
+When compressing, always save the original file name and timestamp; this
is the default. When decompressing, restore the original file name and
-time stamp if present. This option is useful on systems which have
-a limit on file name length or when the time stamp has been lost after
+timestamp if present. This option is useful on systems which have
+a limit on file name length or when the timestamp has been lost after
a file transfer.
.TP
.B \-q --quiet
#! /bin/sh
export PATH=/usr/bin
exec gzip \-9 "$@"
-
-On VMS, the name of the obsolescent 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)
.PP
.I gzip
file format is specified in P. Deutsch, \s-1GZIP\s0 file format
specification version 4.3,
-.BR <http://www.ietf.org/rfc/rfc1952.txt> ,
+.BR <https://www.ietf.org/rfc/rfc1952.txt> ,
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 <http://www.ietf.org/rfc/rfc1951.txt> ,
+.BR <https://www.ietf.org/rfc/rfc1951.txt> ,
Internet RFC 1951 (May 1996).
.SH "DIAGNOSTICS"
Exit status is normally 0;
compresses better than
.IR gzip .
.SH "COPYRIGHT NOTICE"
-Copyright \(co 1998-1999, 2001-2002, 2012, 2015-2016 Free Software Foundation,
+Copyright \(co 1998-1999, 2001-2002, 2012, 2015-2018 Free Software Foundation,
Inc.
.br
Copyright \(co 1992, 1993 Jean-loup Gailly