home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / gzip-1.2.4-diffs.gz.pi < prev    next >
Text File  |  1996-10-12  |  5KB  |  96 lines

  1. .name
  2. gzip
  3. .fullname
  4. GNU compressing/decompressing programs
  5. .type
  6. Miscellaneous
  7. .short
  8. GNU compressing/decompressing programs
  9. .description
  10. Gzip reduces the size of the named files using Lempel-Ziv coding
  11. (LZ77).  Whenever possible, each file is replaced by one with the
  12. extension .gz, while keeping the same ownership modes, access and
  13. modification times.  (The default extension is -gz for VMS, z for
  14. MSDOS, OS/2 FAT, Windows NT FAT and Atari.) If no files are specified,
  15. or if a file name is "-", the standard input is compressed to the
  16. standard output.  Gzip will only attempt to compress regular files.
  17. In particular, it will ignore symbolic links.
  18.  
  19. If the compressed file name is too long for its file system, gzip
  20. truncates it.  Gzip attempts to truncate only the parts of the file
  21. name longer than 3 characters.  (A part is delimited by dots.) If the
  22. name consists of small parts only, the longest parts are truncated.
  23. For example, if file names are limited to 14 characters,
  24. gzip.msdos.exe is compressed to gzi.msd.exe.gz.  Names are not
  25. truncated on systems which do not have a limit on file name length.
  26.  
  27. By default, gzip keeps the original file name and timestamp in the
  28. compressed file. These are used when decompressing the file with the
  29. -N option.  This is useful when the compressed file name was truncated
  30. or when the time stamp was not preserved after a file transfer.
  31.  
  32. Compressed files can be restored to their original form using gzip -d
  33. or gunzip or zcat. If the original name saved in the compressed file
  34. is not suitable for its file system, a new name is constructed from
  35. the original one to make it legal.
  36.  
  37. gunzip takes a list of files on its command line and replaces each
  38. file whose name ends with .gz, -gz, .z, -z, _z or .Z and which begins
  39. with the correct magic number with an uncompressed file without the
  40. original extension.  gunzip also recognizes the special extensions
  41. ".tgz" and ".taz" as shorthands for .tar.gz and .tar.Z respectively.
  42. When compressing, gzip uses the .tgz extension if necessary instead of
  43. truncating a file with a .tar extension.
  44.  
  45. gunzip can currently decompress files created by gzip, zip, compress,
  46. compress -H or pack. The detection of the input format is automatic.
  47. When using the first two formats, gunzip checks a 32 bit CRC. For
  48. pack, gunzip checks the uncompressed length. The standard compress
  49. format was not designed to allow consistency checks.  However gunzip
  50. is sometimes able to detect a bad .Z file. If you get an error when
  51. uncompressing a .Z file, do not assume that the .Z file is correct
  52. simply because the standard uncompress does not complain.  This
  53. generally means that the standard uncompress does not check its input,
  54. and happily generates garbage output.  The SCO compress -H format (lzh
  55. compression method) does not include a CRC but also allows some
  56. consistency checks.
  57.  
  58. Files created by zip can be uncompressed by gzip only if they have a
  59. single member compressed with the 'deflation' method. This feature is
  60. only intended to help conversion of tar.zip files to the tar.gz
  61. format. To extract zip files with several members, use unzip instead
  62. of gunzip.
  63.  
  64. zcat is identical to gunzip -c. (On some systems, zcat may be
  65. installed as gzcat to preserve the original link to compress.) zcat
  66. uncompresses either a list of files on the command line or its
  67. standard input and writes the uncompressed data on standard output.
  68. zcat will uncompress files that have the correct magic number whether
  69. they have a .gz suffix or not.
  70.  
  71. Gzip uses the Lempel-Ziv algorithm used in zip and PKZIP.  The amount
  72. of compression obtained depends on the size of the input and the
  73. distribution of common substrings.  Typically, text such as source
  74. code or English is reduced by 60-70%.  Compression is generally much
  75. better than that achieved by LZW (as used in compress), Huffman coding
  76. (as used in pack), or adaptive Huffman coding (compact).
  77.  
  78. Compression is always performed, even if the compressed file is
  79. slightly larger than the original. The worst case expansion is a few
  80. bytes for the gzip file header, plus 5 bytes every 32K block, or an
  81. expansion ratio of 0.015% for large files. Note that the actual number
  82. of used disk blocks almost never increases.  gzip preserves the mode,
  83. ownership and timestamps of files when compressing or decompressing.
  84. .version
  85. 1.2.4
  86. .author
  87. Jean-loup Gailly
  88. .requirements
  89. Amiga binary requires ixemul.library.
  90. .distribution
  91. GNU Public License
  92. .email
  93. jloup@chorus.fr
  94. .described-by
  95. Fred Fish (fnf@amigalib.com)
  96.