summaryrefslogtreecommitdiff
path: root/sys/man/1/gzip
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2021-07-21 17:36:02 +0000
committercinap_lenrek <cinap_lenrek@felloff.net>2021-07-21 17:36:02 +0000
commit403149d7de4dbe4cc4b1fd9cb3a164e51dbccc15 (patch)
tree3d17aedc0c1da86ccb20db16a8be28bf4ac97029 /sys/man/1/gzip
parent28057f67a04fc9e666cdb698d811c9d26c94f28c (diff)
gzip, bzip2: add -n flag to suppress modification timestamp
Diffstat (limited to 'sys/man/1/gzip')
-rw-r--r--sys/man/1/gzip17
1 files changed, 15 insertions, 2 deletions
diff --git a/sys/man/1/gzip b/sys/man/1/gzip
index f56a6a246..12288e8bb 100644
--- a/sys/man/1/gzip
+++ b/sys/man/1/gzip
@@ -3,7 +3,7 @@
gzip, gunzip, bzip2, bunzip2, compress, uncompress, zip, unzip \- compress and expand data
.SH SYNOPSIS
.B gzip
-.RB [ -cvD [ 1-9 ]]
+.RB [ -cvnD [ 1-9 ]]
.RI [ file
.BR ... ]
.PP
@@ -13,7 +13,7 @@ gzip, gunzip, bzip2, bunzip2, compress, uncompress, zip, unzip \- compress and e
.BR ... ]
.PP
.B bzip2
-.RB [ -cvD [ 1-9 ]]
+.RB [ -cvnD [ 1-9 ]]
.RI [ file
.BR ... ]
.PP
@@ -180,6 +180,19 @@ Without
.BR -t ,
prints the names of files on standard error as they are compressed or decompressed.
.TP
+.B -n
+The
+.I gzip
+and
+.I bzip2
+file formats include a modification timestamp which is by default set
+to the modification time of the files being compressed or the current
+time when the source file is read from standard input.
+The
+.B -n
+flag overrides this behaviour and puts a timestamp of zero instead,
+making the compressed output deterministic.
+.TP
.B -D
Produce debugging output.
.SH SOURCE