|
|
1.1 root 1:
2:
3: compress Command compress
4:
5:
6:
7:
8: Compress a file
9:
10: ccoommpprreessss [ -ddffvvcc ] [ -bb_n_u_m ] [ -ww _t_e_m_p_f_i_l_e ] [ _f_i_l_e ... ]
11:
12: compress compresses a file using the Lempel-Ziv algorithm. With
13: text files and archives, it often can achieve 50% rate of
14: compression.
15:
16: If one or more files are specified on the command, compress com-
17: presses them and appends the suffix .ZZ onto the end of each com-
18: pressed file's name. If no file is specified on the command
19: line, compress compresses text from the standard input and writes
20: the compressed text to the standard output.
21:
22: compress recognizes the following options:
23:
24: -dd Decompress rather than compress.
25:
26: -ff Force an output file to be generated even if no space is
27: saved by compression.
28:
29: -vv Verbose mode: force compress to write statistics about its
30: performance.
31:
32: -cc Send output to stdout.
33:
34: -bb The ``bits'' option. compress uses the compression level
35: set via the num argument. Previous releases of compress
36: would only allow values of num up to 12, with 12 being the
37: default value if the -b option was not specified. The ver-
38: sion of compress introduced with COHERENT version 3.1 hand-
39: les values up to 16, with 12 being the default.
40:
41: -ww The ``workfile'' option. compress uses workfile to write
42: its temporary file. By default compress uses RAM device
43: /dev/ram1 for temporary storage. For this reason, it is
44: strongly advised that you not use /dev/ram1 as a RAM disk.
45: This option may be necessary on machines with limited
46: amounts of RAM.
47:
48: If you wish to ensure backwards compatibility with previous
49: releases of COHERENT, do not use compress with a num value
50: greater than 12.
51:
52: ***** See Also *****
53:
54: commands, ram, uncompress, zcat
55:
56:
57:
58:
59:
60:
61:
62:
63:
64: COHERENT Lexicon Page 1
65:
66:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.