2025-02-24 04:42:45 +01:00
|
|
|
Description
|
|
|
|
|
2025-02-24 05:04:07 +01:00
|
|
|
Zutils is a collection of utilities able to deal with any combination of
|
2025-02-24 05:43:06 +01:00
|
|
|
compressed and uncompressed files transparently. If any given file,
|
|
|
|
including standard input, is compressed, its decompressed content is
|
2025-02-24 05:04:07 +01:00
|
|
|
used. Compressed files are decompressed on the fly; no temporary files
|
2025-02-24 05:40:46 +01:00
|
|
|
are created.
|
|
|
|
|
|
|
|
These utilities are not wrapper scripts but safer and more efficient C++
|
|
|
|
programs. In particular the "--recursive" option is very efficient in
|
|
|
|
those utilities supporting it.
|
2025-02-24 04:42:45 +01:00
|
|
|
|
2025-02-24 05:45:59 +01:00
|
|
|
The provided utilities are zcat, zcmp, zdiff, zgrep, ztest and zupdate.
|
2025-02-24 05:40:46 +01:00
|
|
|
The supported formats are bzip2, gzip, lzip and xz.
|
2025-02-24 05:43:06 +01:00
|
|
|
The compressor to be used for each format is configurable at runtime.
|
2025-02-24 05:40:46 +01:00
|
|
|
|
|
|
|
Zcat, zcmp, zdiff, and zgrep are improved replacements for the shell
|
2025-02-24 05:48:02 +01:00
|
|
|
scripts provided by GNU gzip. Ztest is unique to zutils. Zupdate is
|
2025-02-24 05:45:59 +01:00
|
|
|
similar to gzip's znew.
|
2025-02-24 04:42:45 +01:00
|
|
|
|
2025-02-24 05:42:37 +01:00
|
|
|
NOTE: Bzip2 and lzip provide well-defined values of exit status, which
|
|
|
|
makes them safe to use with zutils. Gzip and xz may return ambiguous
|
2025-02-24 05:45:59 +01:00
|
|
|
warning values, making them less reliable back ends for zutils.
|
2025-02-24 05:42:37 +01:00
|
|
|
|
2025-02-24 05:49:21 +01:00
|
|
|
FORMAT NOTE: If the "--format" option is given, the corresponding files
|
|
|
|
are passed to the decompressor without verifying their format, allowing
|
|
|
|
for example the processing of compress'd (.Z) files with gzip:
|
|
|
|
"zcmp --format=gz file.Z file.lz".
|
|
|
|
|
2025-02-24 05:43:06 +01:00
|
|
|
LANGUAGE NOTE: Uncompressed = not compressed = plain data; it may never
|
|
|
|
have been compressed. Decompressed is used to refer to data which has
|
|
|
|
undergone the process of decompression.
|
|
|
|
|
2025-02-24 04:42:45 +01:00
|
|
|
|
2025-02-24 05:47:25 +01:00
|
|
|
Copyright (C) 2009, 2010, 2011, 2012, 2013, 2014 Antonio Diaz Diaz.
|
2025-02-24 04:42:45 +01:00
|
|
|
|
|
|
|
This file is free documentation: you have unlimited permission to copy,
|
|
|
|
distribute and modify it.
|
|
|
|
|
|
|
|
The file Makefile.in is a data file used by configure to produce the
|
2025-02-24 05:04:07 +01:00
|
|
|
Makefile. It has the same copyright owner and permissions that configure
|
|
|
|
itself.
|