Pack (software)
Pack is a legacy Unix shell compression program based on Huffman coding.
≈ 2 min read
Names in other languages
No names in other languages are held for this entry yet.
Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.
Pack is a legacy Unix shell compression program based on Huffman coding.[1][2]
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 packed files exists in modern compression tools such as gzip[3] and 7-zip.
Contents
Description of program
edit edit sourceFiles 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
edit edit sourceReferences
edit edit source- ^
pack(1)– Version 8 Unix Programmer's Manual Wikipedia revision 1150785373, retrieved 2026-11-20 - ^
pack(1)– Solaris 11.4 User Commands Reference Manual Wikipedia revision 1150785373, retrieved 2026-11-20 - ^ Holen, Vidar. "An ode to pack: gzip's forgotten decompressor". Vidar’s Blog: GNU, Linux and technology in general. Retrieved 16 November 2018.
External links
edit edit source- pack(1) in The Single UNIX Specification, Version 2, 1997, opengroup.org
- C.4 Utilities in The Open Group Base Specifications Issue 6, opengroup.org – indicates pack as excluded
pack(1)– Version 8 Unix Programmer's Manualpack(1)– Solaris 11.4 User Commands Reference Manual- Pack command Manual
compression
(comparison)
compressors
compression
(comparison)
compression
(comparison)
- See also: compression methods and compression formats
Text derived from https://en.wikipedia.org/w/index.php?oldid=1150785373 under CC BY-SA 4.0; modifications have been made.