restore rsyncable docs to man page
authorBdale Garbee <bdale@gag.com>
Tue, 11 Jun 2013 17:53:10 +0000 (11:53 -0600)
committerBdale Garbee <bdale@gag.com>
Tue, 11 Jun 2013 17:53:10 +0000 (11:53 -0600)
debian/patches/rsyncable.diff
gzip.1

index 1bb7d4a745fa5b4abbb5796a6f9b48a88239f011..c2eb37999632afc1266131dea019a7c97ee5030b 100644 (file)
@@ -280,3 +280,32 @@ diff -u -r gzip-1.5/gzip.h /home/bdale/debian/gzip/gzip.h
  
  extern off_t bytes_in;   /* number of input bytes */
  extern off_t bytes_out;  /* number of output bytes */
+diff --git a/gzip.1 b/gzip.1
+index 71e097c..faee860 100644
+--- a/gzip.1
++++ b/gzip.1
+@@ -5,6 +5,7 @@ gzip, gunzip, zcat \- compress or expand files
+ .ll +8
+ .B gzip
+ .RB [ " \-acdfhklLnNrtvV19 " ]
++.RB [ --rsyncable ]
+ .RB [ \-S\ suffix ]
+ [
+ .I "name \&..."
+@@ -287,6 +288,16 @@ will descend into the directory and compress all the files it finds there
+ .I gunzip
+ ).
+ .TP
++.B --rsyncable
++While compressing, synchronize the output occasionally based on the input.
++This increases size by less than 1 percent most cases, but means that the
++.BR rsync (1)
++program can take advantage of similarities in the uncompressed input
++when syncronizing two files compressed with this flag.
++.I gunzip
++cannot tell the difference between a compressed file created with this option,
++and one created without it.
++.TP
+ .B \-S .suf   --suffix .suf
+ When compressing, use suffix .suf instead of .gz.
+ Any non-empty suffix can be given, but suffixes
diff --git a/gzip.1 b/gzip.1
index 71e097cefc04feb33d3dc44c59bf7f8058e1cf73..faee860f266e2cf96c06d44988b64caf7c1dfe00 100644 (file)
--- a/gzip.1
+++ b/gzip.1
@@ -5,6 +5,7 @@ gzip, gunzip, zcat \- compress or expand files
 .ll +8
 .B gzip
 .RB [ " \-acdfhklLnNrtvV19 " ]
+.RB [ --rsyncable ]
 .RB [ \-S\ suffix ]
 [
 .I "name \&..."
@@ -287,6 +288,16 @@ will descend into the directory and compress all the files it finds there
 .I gunzip
 ).
 .TP
+.B --rsyncable
+While compressing, synchronize the output occasionally based on the input.
+This increases size by less than 1 percent most cases, but means that the
+.BR rsync (1)
+program can take advantage of similarities in the uncompressed input
+when syncronizing two files compressed with this flag.
+.I gunzip
+cannot tell the difference between a compressed file created with this option,
+and one created without it.
+.TP
 .B \-S .suf   --suffix .suf
 When compressing, use suffix .suf instead of .gz.
 Any non-empty suffix can be given, but suffixes