83916 packages online


No screenshot available
Short:Data (de)compressor like gzip or bzip2
Author:antonio at (Antonio Diaz Diaz), port by uploader
Uploader:polluks+aminet sdf lonestar org (Stefan Haubenthal)
Architecture:ppc-morphos; m68k-amigaos
Download: - View contents


Clzip is a C language version of lzip, fully compatible with lzip-1.4 or
newer. As clzip is written in C, it may be easier to integrate in
applications like package managers, embedded devices, or systems lacking
a C++ compiler.

Lzip is a lossless data compressor with a user interface similar to the
one of gzip or bzip2. Lzip can compress about as fast as gzip (lzip -0),
or compress most files more than bzip2 (lzip -9). Decompression speed is
intermediate between gzip and bzip2. Lzip is better than gzip and bzip2
from a data recovery perspective.

The lzip file format is designed for data sharing and long-term
archiving, taking into account both data integrity and decoder

   * The lzip format provides very safe integrity checking and some data
     recovery means. The lziprecover program can repair bit-flip errors
     (one of the most common forms of data corruption) in lzip files,
     and provides data recovery capabilities, including error-checked
     merging of damaged copies of a file.

   * The lzip format is as simple as possible (but not simpler). The
     lzip manual provides the source code of a simple decompressor along
     with a detailed explanation of how it works, so that with the only
     help of the lzip manual it would be possible for a digital
     archaeologist to extract the data from a lzip file long after
     quantum computers eventually render LZMA obsolete.

   * Additionally the lzip reference implementation is copylefted, which
     guarantees that it will remain free forever.

A nice feature of the lzip format is that a corrupt byte is easier to
repair the nearer it is from the beginning of the file. Therefore, with
the help of lziprecover, losing an entire archive just because of a
corrupt byte near the beginning is a thing of the past.

Clzip uses the same well-defined exit status values used by lzip and
bzip2, which makes it safer than compressors returning ambiguous warning
values (like gzip) when it is used as a back end for other programs like
tar or zutils.

Clzip will automatically use the smallest possible dictionary size for
each file without exceeding the given limit. Keep in mind that the
decompression memory requirement is affected at compression time by the
choice of dictionary size limit.

The amount of memory required for compression is about 1 or 2 times the
dictionary size limit (1 if input file size is less than dictionary size
limit, else 2) plus 9 times the dictionary size really used. The option
'-0' is special and only requires about 1.5 MiB at most. The amount of
memory required for decompression is about 46 kB larger than the
dictionary size really used.

When compressing, clzip replaces every file given in the command line
with a compressed version of itself, with the name "original_name.lz".
When decompressing, clzip attempts to guess the name for the decompressed
file from that of the compressed file as follows:

filename.lz    becomes   filename
filename.tlz   becomes   filename.tar
anyothername   becomes   anyothername.out

(De)compressing a file is much like copying or moving it; therefore clzip
preserves the access and modification dates, permissions, and, when
possible, ownership of the file just as "cp -p" does. (If the user ID or
the group ID can't be duplicated, the file permission bits S_ISUID and
S_ISGID are cleared).

Clzip is able to read from some types of non regular files if the
"--stdout" option is specified.

If no file names are specified, clzip compresses (or decompresses) from
standard input to standard output. In this case, clzip will decline to
write compressed output to a terminal, as this would be entirely
incomprehensible and therefore pointless.

Clzip will correctly decompress a file which is the concatenation of two
or more compressed files. The result is the concatenation of the
corresponding uncompressed files. Integrity testing of concatenated
compressed files is also supported.

Clzip can produce multimember files, and lziprecover can safely recover
the undamaged members in case of file damage. Clzip can also split the
compressed output in volumes of a given size, even when reading from
standard input. This allows the direct creation of multivolume
compressed tar archives.

Clzip is able to compress and decompress streams of unlimited size by
automatically creating multimember output. The members so created are
large, about 2 PiB each.

In spite of its name (Lempel-Ziv-Markov chain-Algorithm), LZMA is not a
concrete algorithm; it is more like "any algorithm using the LZMA coding
scheme". For example, the option '-0' of lzip uses the scheme in almost
the simplest way possible; issuing the longest match it can find, or a
literal byte if it can't find a match. Inversely, a much more elaborated
way of finding coding sequences of minimum size than the one currently
used by lzip could be developed, and the resulting sequence could also
be coded using the LZMA coding scheme.

Clzip currently implements two variants of the LZMA algorithm; fast
(used by option '-0') and normal (used by all other compression levels).

The high compression of LZMA comes from combining two basic, well-proven
compression ideas: sliding dictionaries (LZ77/78) and markov models (the
thing used by every compression algorithm that uses a range encoder or
similar order-0 entropy coder as its last stage) with segregation of
contexts according to what the bits are used for.

The ideas embodied in clzip are due to (at least) the following people:
Abraham Lempel and Jacob Ziv (for the LZ algorithm), Andrey Markov (for
the definition of Markov chains), G.N.N. Martin (for the definition of
range encoding), Igor Pavlov (for putting all the above together in
LZMA), and Julian Seward (for bzip2's CLI).

Copyright (C) 2010-2017 Antonio Diaz Diaz.

This file is free documentation: you have unlimited permission to copy,
distribute and modify it.

The file is a data file used by configure to produce the
Makefile. It has the same copyright owner and permissions that configure

Contents of util/pack/clzip.lha
---------- ----------- ------- ------- ------ ---------- ------------ ----------
[generic]                  243     368  66.0% -lh5- fe54 Jul 27  2013 clzip-1.9/AUTHORS
[generic]                 2243    8447  26.6% -lh5- 3b0e Jan 12 23:05 clzip-1.9/carg_parser.c
[generic]                 1273    3076  41.4% -lh5- e1ab Jan  5 13:11 clzip-1.9/carg_parser.h
[generic]                 1866    4735  39.4% -lh5- ce45 Apr 13 00:41 clzip-1.9/ChangeLog
[generic]                52449  110256  47.6% -lh5- deb4 Jun 15 13:42 clzip-1.9/clzip
[generic]                47446   97360  48.7% -lh5- 0aaa Jun 15 15:39 clzip-1.9/clzip.68k
[generic]                 2058    5766  35.7% -lh5- 112e Apr 13 00:41 clzip-1.9/configure
[generic]                 6967   18025  38.7% -lh5- 37dd Jun 16  2014 clzip-1.9/COPYING
[generic]                 3052   10323  29.6% -lh5- b442 Feb  3 22:31 clzip-1.9/decoder.c
[generic]                 2545   10349  24.6% -lh5- cf7e Jan 17 13:26 clzip-1.9/decoder.h
[generic]                 1497    3109  48.2% -lh5- 189f Apr 13 00:42 clzip-1.9/doc/clzip.1
[generic]                20182   58815  34.3% -lh5- 225e Apr 13 00:41 clzip-1.9/doc/
[generic]                19975   57271  34.9% -lh5- b05c Apr 13 00:41 clzip-1.9/doc/clzip.texi
[generic]                 5199   21665  24.0% -lh5- 79ca Jan 15 02:19 clzip-1.9/encoder.c
[generic]                 2923   10866  26.9% -lh5- ee4c Jan 15 02:19 clzip-1.9/encoder.h
[generic]                 2061    6491  31.8% -lh5- 6862 Jan 15 02:19 clzip-1.9/encoder_base.c
[generic]                 3811   17474  21.8% -lh5- fdfe Mar  3 18:48 clzip-1.9/encoder_base.h
[generic]                 1991    6876  29.0% -lh5- 190a Feb  4 16:49 clzip-1.9/fast_encoder.c
[generic]                 1002    2371  42.3% -lh5- 1d27 Mar  3 19:42 clzip-1.9/fast_encoder.h
[generic]                 2564    9319  27.5% -lh5- 4f7b Feb 28 22:57 clzip-1.9/file_index.c
[generic]                 1031    3035  34.0% -lh5- 4ee0 Jan 21 19:40 clzip-1.9/file_index.h
[generic]                  982    2069  47.5% -lh5- c766 Jan 15 02:19 clzip-1.9/INSTALL
[generic]                 1548    4380  35.3% -lh5- 7bd6 Mar 15 23:32 clzip-1.9/list.c
[generic]                 3089   10151  30.4% -lh5- ed14 Mar 16 18:44 clzip-1.9/lzip.h
[generic]                10479   33431  31.3% -lh5- 48e0 Mar 16 18:44 clzip-1.9/main.c
[generic]                 1160    4296  27.0% -lh5- 694f Jan 20 18:06 clzip-1.9/
[generic]                  367     674  54.5% -lh5- c892 Mar 14 10:20 clzip-1.9/NEWS
[generic]                 2703    6082  44.4% -lh5- 82de Mar  4 12:17 clzip-1.9/README
[generic]                 1887    9150  20.6% -lh5- 4746 Mar 12 19:44 clzip-1.9/testsuite/
[generic]                13650   36388  37.5% -lh5- 8ee1 Jun 16  2014 clzip-1.9/testsuite/test.txt
[generic]                 7376    7376 100.0% -lh0- e4f2 May 30  2016 clzip-1.9/testsuite/test.txt.lz
---------- ----------- ------- ------- ------ ---------- ------------ ----------
 Total        31 files  225619  579994  38.9%            Jun 15 21:17

Aminet © 1992-2022 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>