Pack (Compression)

From Handwiki

Pack
Filename extension.z
Type of formatdata compression

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.

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

  • Data compression
  • Image compression
  • List of Unix commands

References

  1. [[[:Template:Man/v8]] pack(Template:Man/v8)] – Template:Man/v8
  2. pack(1) – Solaris 10 User Commands Reference Manual
  3. Holen, Vidar. "An ode to pack: gzip's forgotten decompressor". https://www.vidarholen.net/contents/blog/?p=691. 

External links

  • 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
  • [[[:Template:Man/v8]] pack(Template:Man/v8)] – Template:Man/v8
  • pack(1) – Solaris 10 User Commands Reference Manual
  • Pack command Manual




Retrieved from "https://handwiki.org/wiki/index.php?title=Software:Pack_(compression)&oldid=3051524"

Categories: [Data compression software]


Download as ZWI file | Last modified: 09/17/2024 12:53:59 | 14 views
☰ Source: https://handwiki.org/wiki/Software:Pack_(compression) | License: CC BY-SA 3.0

ZWI is not signed. [what is this?]