4 ms·
There's an even more obscure Unix compression tool of the same vintage as pack. While pack originated in USG Unix (System V and its predecessors), the early BSD
by bbanyc 9y ago
There's an even more obscure Unix compression tool of the same vintage as pack. While pack originated in USG Unix (System V and its predecessors), the early BSD releases contained a program called "compact" which used adaptive Huffman coding. According to the creator of compress [0], compact had a comparable compression ratio to pack but took six times as long to run.
The original versions of both can be found on the Unix Tree [1] which I've found to generally be an incredible resource/time-sink.
[0] https://groups.google.com/d/msg/net.sources/fonve4JCDpQ/39VkTFQV7ScJ https://groups.google.com/d/msg/net.sources/fonve4JCDpQ/39Vk...
[1] http://www.tuhs.org/cgi-bin/utree.pl http://www.tuhs.org/cgi-bin/utree.pl
- tempay 9y agoThe article mentions compress but states that pack is it's predecessor. It even gives a comparison of their compression ratios on a kernel release, showing compress is significantly better: compress: 302 MiB (-61%) pack: 548 MiB (-30%)
- bbanyc 9y agocompact != compress The easily confused names don't help with the obscurity.