|
|
coherent
compress Command compress
Compress a file
ccoommpprreessss [ -ddffvvcc ] [ -bb_n_u_m ] [ -ww _t_e_m_p_f_i_l_e ] [ _f_i_l_e ... ]
compress compresses a file using the Lempel-Ziv algorithm. With
text files and archives, it often can achieve 50% rate of
compression.
If one or more files are specified on the command, compress com-
presses them and appends the suffix .ZZ onto the end of each com-
pressed file's name. If no file is specified on the command
line, compress compresses text from the standard input and writes
the compressed text to the standard output.
compress recognizes the following options:
-dd Decompress rather than compress.
-ff Force an output file to be generated even if no space is
saved by compression.
-vv Verbose mode: force compress to write statistics about its
performance.
-cc Send output to stdout.
-bb The ``bits'' option. compress uses the compression level
set via the num argument. Previous releases of compress
would only allow values of num up to 12, with 12 being the
default value if the -b option was not specified. The ver-
sion of compress introduced with COHERENT version 3.1 hand-
les values up to 16, with 12 being the default.
-ww The ``workfile'' option. compress uses workfile to write
its temporary file. By default compress uses RAM device
/dev/ram1 for temporary storage. For this reason, it is
strongly advised that you not use /dev/ram1 as a RAM disk.
This option may be necessary on machines with limited
amounts of RAM.
If you wish to ensure backwards compatibility with previous
releases of COHERENT, do not use compress with a num value
greater than 12.
***** See Also *****
commands, ram, uncompress, zcat
COHERENT Lexicon Page 1
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.