COMPRESS.1
资源名称:os_source.zip [点击查看]
上传用户:datang2001
上传日期:2007-02-01
资源大小:53269k
文件大小:1k
源码类别:
操作系统开发
开发平台:
C/C++
- .TH COMPRESS 1
- .SH NAME
- compress, uncompress, zcat - compress a file using modified Lempel-Ziv coding
- .SH SYNOPSIS
- fBcompressfR [fB-cdfvfR]fR [fIfilefR] ...fR
- .br
- .de FL
- .TP
- \fB\$1\fR
- \$2
- ..
- .de EX
- .TP 20
- \fB\$1\fR
- # \$2
- ..
- .SH OPTIONS
- .FL "-c" "Put output on fIstdoutfR instead of on fIfile.ZfR"
- .FL "-d" "Decompress instead of compress"
- .FL "-f" "Force output even if there is no saving"
- .FL "-v" "Verbose mode"
- .SH EXAMPLES
- .EX "compress <infile >outfile" "Compress 1 file"
- .EX "compress x y z" "Compress 3 files to fIx.ZfR, fIy.ZfR, and fIz.ZfR"
- .EX "compress -d file.Z" "Decompress fIfile.ZfR to fIfilefR"
- .SH DESCRIPTION
- .PP
- The listed files (or fIstdinfR, if none are given) are compressed
- using the Ziv-Lempel algorithm. If the output is smaller than the input,
- the output is put on fIfile.ZfR or fIstdoutfR if no files are listed.
- If fIcompressfR is linked to fIuncompressfR, the latter is the same
- as giving the fB-dfP flag.
- Similarly, a link to fIzcatfR decompresses to fIstdoutfR.
- The
- s-2MINIXs+2
- version of fIcompressfR uses 13-bit compression.
- This means that when compressing files on other systems for transmission to
- s-2MINIXs+2,
- be sure that only 13-bit compression is used.
- On many systems, the default is 16-bit (too big).
- .SH "SEE ALSO"
- .BR tar (1).