humanzip compresses ASCII text files in a human readable way. It finds
common words and strings of words, replaces them with single UTF-8 characters
and puts a key at the top. humanunzip can restore zipped files to their
original state. humanzip is meant to reduce the print and screen size of files,
not to reduce their size in bytes, although that generally happens incidentally.
Reduction is typically on order of 10%.
humanzip replaces each file with one with the extension
.hz appended to its name. humanunzip does the reverse, except that if
it is given a file whose name does not end in
.hz it will replace it with a file with
.out appended to its name. If given no files, it will read from stdin and write
You are encouraged to manually customize the compressed output to suit
your tastes. As long as you follow the pattern, the result
will still be decompressable by humanunzip.
humanunzip will try to decompress mangled files. If it detects
errors which might be recoverable, it will still write the output, but
keep the input.
humanzip options are deliberately similar to those of gzip and
humanzip and humanunzip each return 0 on sucess, 1 if they
get bad arguments, and the number of failed files if any fail. If
humanunzip encounters possibly recoverable errors in its input, it
will count that file as a failure for this purpose even if the output
turns out to be correct.
The newest version can always be found at ???
humanzips version number is currently less than 1. When it becomes 1
or larger, that means that I promise not to change the file format,
command line options or return values without warning and/or backwards
compatibility. Until then, new versions may break old versions files
and your scripts.