Small gzip implementation
ugzip
is a small, non-POSIX compatible alternative to GNU gzip.
It depends on zlib and lowfat.
The GNU gzip 1.4 fails to build with dietlibc because of its dependency on the internal structure of FILE in e.g. lib/freadahead.c.
Gzip 1.2.4 compiles with dietlibc, but it may crash when an input file name is too long (over 1020 characters).
ugzip
supports the following options:
-c, --stdout write on standard output, keep original files unchanged
-d, --decompress decompress
-f, --force force overwrite of output file and compress links
-q, --quiet suppress all warnings
-S, --suffix=SUF use suffix SUF on compressed files (only in the -S=SUF form)
-v, --verbose verbose mode
-1, --fast compress faster
-9, --best compress better
Running it as [u]gunzip
will act like [u]gzip -d
.
- Initial version ugzip.tar.gz, alpha quality.