Pack (Unix)
From Just Solve the File Format Problem
(Difference between revisions)
(Identification) |
|||
Line 1: | Line 1: | ||
{{FormatInfo | {{FormatInfo | ||
+ | |name=pack | ||
|formattype=electronic | |formattype=electronic | ||
|subcat=Compression | |subcat=Compression | ||
|extensions={{ext|z}} | |extensions={{ext|z}} | ||
}} | }} | ||
− | |||
'''pack''' is a command in Unix-style operating systems to compress files using [[Huffman coding]]. Files normally have a .z extension, appended to their names including any other extension they may already have in their uncompressed versions, e.g., '''file.txt.z'''. | '''pack''' is a command in Unix-style operating systems to compress files using [[Huffman coding]]. Files normally have a .z extension, appended to their names including any other extension they may already have in their uncompressed versions, e.g., '''file.txt.z'''. | ||
== See also == | == See also == | ||
− | * [[compress]] | + | * [[compress]]: A compressed file format with a similar filename extension |
+ | |||
+ | == Identification == | ||
+ | Files begin with bytes <code>0x1F 0x1E</code>. | ||
+ | |||
+ | The gzip source code mentions an "old pack format" that begins with <code>0x1F 0x1F</code>. | ||
== Software == | == Software == | ||
− | * [http://www.gnu.org/software/gzip/ gzip] can uncompress '''pack''' files. | + | * [http://www.gnu.org/software/gzip/ GNU gzip] can uncompress '''pack''' files. |
== References == | == References == | ||
* [http://www.mkssoftware.com/docs/man1/pack.1.asp pack man page (MKS Toolkit)] | * [http://www.mkssoftware.com/docs/man1/pack.1.asp pack man page (MKS Toolkit)] | ||
* [http://publib.boulder.ibm.com/infocenter/zos/v1r13/index.jsp?topic=%2Fcom.ibm.zos.r13.bpxa500%2Fpack.htm pack man page (IBM)] | * [http://publib.boulder.ibm.com/infocenter/zos/v1r13/index.jsp?topic=%2Fcom.ibm.zos.r13.bpxa500%2Fpack.htm pack man page (IBM)] |
Revision as of 02:21, 29 December 2013
pack is a command in Unix-style operating systems to compress files using Huffman coding. Files normally have a .z extension, appended to their names including any other extension they may already have in their uncompressed versions, e.g., file.txt.z.
Contents |
See also
- compress: A compressed file format with a similar filename extension
Identification
Files begin with bytes 0x1F 0x1E
.
The gzip source code mentions an "old pack format" that begins with 0x1F 0x1F
.
Software
- GNU gzip can uncompress pack files.