~ubuntu-branches/ubuntu/vivid/gzip/vivid

« back to all changes in this revision

Viewing changes to doc/gzip.texi

  • Committer: Steve Langasek
  • Date: 2012-06-29 02:07:40 UTC
  • mfrom: (4.1.9 sid)
  • Revision ID: steve.langasek@canonical.com-20120629020740-qqikrblzana08v2y
Merge version 1.5-1.1 from Debian

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
(version @value{VERSION}, @value{UPDATED}),
12
12
and documents commands for compressing and decompressing data.
13
13
 
14
 
Copyright @copyright{} 1998-1999, 2001-2002, 2006-2007, 2009-2010 Free Software
 
14
Copyright @copyright{} 1998-1999, 2001-2002, 2006-2007, 2009-2012 Free Software
15
15
Foundation, Inc.
16
16
 
17
17
Copyright @copyright{} 1992, 1993 Jean-loup Gailly
207
207
  -V, --version     display version number
208
208
  -1, --fast        compress faster
209
209
  -9, --best        compress better
 
210
    --rsyncable   Make rsync-friendly archive
210
211
 
211
212
With no FILE, or when FILE is -, read standard input.
212
213
 
228
229
find . -name '*
229
230
*' -prune -o -name '*.gz' -type f -print |
230
231
  sed "
231
 
    s/'/'\\''/g
 
232
    s/'/'\\\\''/g
232
233
    s/^\\(.*\\)\\.gz$/gunzip <'\\1.gz' >'\\1'/
233
234
  " |
234
235
  sh -e
361
362
this flag.  @code{gunzip} cannot tell the difference between a
362
363
compressed file created with this option, and one created without it.
363
364
 
 
365
@item --rsyncable
 
366
While compressing, synchronize the output occasionally based on
 
367
the input.  This increases size by less than 1 percent most
 
368
cases, but means that the @command{rsync} program can much more efficiently
 
369
synchronize files compressed with this flag.  @command{gunzip}
 
370
cannot tell the difference between a compressed file created
 
371
with this option, and one created without it.
 
372
 
 
373
@item --rsyncable
 
374
While compressing, synchronize the output occasionally based on the
 
375
input.  This can reduce the compression slightly in some cases, but
 
376
means that the @code{rsync} program can take advantage of similarities
 
377
in the uncompressed input when syncronizing two files compressed with
 
378
this flag.  @code{gunzip} cannot tell the difference between a
 
379
compressed file created with this option, and one created without it.
 
380
 
364
381
@item --suffix @var{suf}
365
382
@itemx -S @var{suf}
366
383
Use suffix @var{suf} instead of @samp{.gz}.  Any suffix can be