pack (compression)

Pack
Filename extension .z
Type of format data compression

Pack is a (now deprecated) Unix shell compression program based on Huffman coding.[1]

The unpack utility will restore files to their original state after they have been compressed using the pack utility. If no files are specified, the standard input will be uncompressed to the standard output.

Although obsolete, support for pack'd files exists in modern compression tools such as gzip and 7-zip.

Description of program

Files compressed by pack are typically given the extension ".z" (not to be confused with the ".Z" of compress). Files can be returned to their original state using unpack. In addition, there may also be a pcat command which reads in a compressed file and sends its output to stdout.

See also

References

  1. ↑ "Compress and uncompress of files in UNIX", Superuser, retrieved 14 January 2013
This article is issued from Wikipedia - version of the 11/2/2015. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.