⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 compact.1

📁 <B>Digital的Unix操作系统VAX 4.2源码</B>
💻 1
字号:
.\" SCCSID: @(#)compact.1	8.1	9/11/90.TH compact 1.SH Namecompact, uncompact, ccat \- compress and uncompress files, and cat them.SH Syntax.B compact[\|\fIname...\fR\|].br.B uncompact[\|\fIname...\fR\|].br.B ccat[\|\fIfile...\fR\|].SH Description.NXR "compact command".NXR "uncompact command".NXR "ccat command".NXR "file" "compressing".NXR "file" "displayingThe.PN compactcommandcompresses the named files using an adaptive Huffman code.  If no filenames are given, the standard input is compacted to the standard output.The.PN compactcommandoperates as an on-line algorithm.  Each time a byte is read,it is encoded immediately according to the current prefix code.This code is an optimal Huffman code for the set of frequencies seen so far.It is unnecessary to prepend a decoding tree to the compressed filesince the encoder and the decoder start in the same state and staysynchronized.  Furthermore,.PN compactand.PN uncompactcan operate as filters.  In particular,.EX	... | compact | uncompact | ....EEoperates as a (very slow) no-op..PPWhen an argument.I fileis given, it is compacted and the resulting file is placed in.I file.C;.I fileis unlinked.  The first two bytes of the compacted file code thefact that the file is compacted.  Thiscode is used to prohibit recompaction..PPThe amount of compression to beexpected depends on the type of file beingcompressed.  Typical values of compression are:Text (38%), Pascal Source (43%), C Source (36%) and Binary (19%).These values are the percentages of file bytes reduced..PPThe.PN uncompactcommandrestores the original file from a file compressed by.PN compact .If no file names are given, the standard input is uncompacted tothe standard output..PPThe.PN ccatcommandcats the original file from a file compressed by.PN compact ,without uncompressing the file..PPThe .PN compactcommand is present only for compatibility.  In general, the.MS compress 1command runs faster and gives better compression..SH RestrictionsThe last segment of the file namemust contain fewer than thirteen charactersto allow space for the appended '.C'..SH Files.TP 7.PN *.Ccompacted file created by compact, removed by uncompact.SH See Alsocompress(1)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -