Pack (Unix)
From Just Solve the File Format Problem
(Difference between revisions)
(Added sample files) |
Dexvertbot (Talk | contribs) m (Change telparia.com samples link to template) |
||
Line 28: | Line 28: | ||
== Sample files == | == Sample files == | ||
− | * | + | * {{DexvertSamples|archive/pack}} |
== References == | == References == |
Latest revision as of 02:54, 28 December 2023
pack is a command in Unix-style operating systems to compress files using Huffman coding. Files normally have a lowercase .z extension, appended to their names including any other extension they may already have in their uncompressed versions, e.g., file.txt.z.
Contents |
[edit] See also
[edit] Identification
Files begin with bytes 0x1F 0x1E
.
The gzip source code mentions an "old pack format" that begins with 0x1F 0x1F
.
See also compress (Unix)#The 0x1f compression family.
[edit] Software
- GNU gzip [Note: Broken in v1.6 - 1.8]
- Ancient
- Deark
- Tenth Edition of Unix → v10src.tar.bz2 → cmd/pack/ - Source code
- illumos: pack, unpack - Source code
- https://github.com/koalaman/pack - A modern implementation in Haskell (write-only)