📄 readme
字号:
This is the README for bzip2, a block-sorting file compressor, version0.9.0. This version is fully compatible with the previous publicrelease, bzip2-0.1pl2.bzip2-0.9.0 is distributed under a BSD-style license. For details,see the file LICENSE.Complete documentation is available in Postscript form (manual.ps)or html (manual_toc.html). A plain-text version of the manual page isavailable as bzip2.txt.HOW TO BUILD -- UNIXType `make'.This creates binaries "bzip2" and "bzip2recover".It also runs four compress-decompress tests to make sure things areworking properly. If all goes well, you should be up & running.Please be sure to read the output from `make' just to be sure that thetests went ok.To install bzip2 properly:* Copy the binaries "bzip2" and "bzip2recover" to a publically visible place, possibly /usr/bin or /usr/local/bin.* In that directory, make "bunzip2" and "bzcat" be symbolic links to "bzip2".* Copy the manual page, bzip2.1, to the relevant place. Probably the right place is /usr/man/man1/.If you want to program with the library, you'll need to copy libbz2.aand bzlib.h to /usr/lib and /usr/include respectively. HOW TO BUILD -- Windows 95, NT, DOS, Mac, etc.It's difficult for me to support compilation on all these platforms.My approach is to collect binaries for these platforms, and put themon my web page (http://www.muraroa.demon.co.uk). Look there.VALIDATIONCorrect operation, in the sense that a compressed file can always bedecompressed to reproduce the original, is obviously of paramountimportance. To validate bzip2, I used a modified version of MarkNelson's churn program. Churn is an automated test driver whichrecursively traverses a directory structure, using bzip2 to compressand then decompress each file it encounters, and checking that thedecompressed data is the same as the original. There are more detailsin Section 4 of the user guide.Please read and be aware of the following:WARNING: This program (attempts to) compress data by performing several non-trivial transformations on it. Unless you are 100% familiar with *all* the algorithms contained herein, and with the consequences of modifying them, you should NOT meddle with the compression or decompression machinery. Incorrect changes can and very likely *will* lead to disastrous loss of data.DISCLAIMER: I TAKE NO RESPONSIBILITY FOR ANY LOSS OF DATA ARISING FROM THE USE OF THIS PROGRAM, HOWSOEVER CAUSED. Every compression of a file implies an assumption that the compressed file can be decompressed to reproduce the original. Great efforts in design, coding and testing have been made to ensure that this program works correctly. However, the complexity of the algorithms, and, in particular, the presence of various special cases in the code which occur with very low but non-zero probability make it impossible to rule out the possibility of bugs remaining in the program. DO NOT COMPRESS ANY DATA WITH THIS PROGRAM UNLESS YOU ARE PREPARED TO ACCEPT THE POSSIBILITY, HOWEVER SMALL, THAT THE DATA WILL NOT BE RECOVERABLE. That is not to say this program is inherently unreliable. Indeed, I very much hope the opposite is true. bzip2 has been carefully constructed and extensively tested.PATENTS: To the best of my knowledge, bzip2 does not use any patented algorithms. However, I do not have the resources available to carry out a full patent search. Therefore I cannot give any guarantee of the above statement.End of legalities.WHAT'S NEW IN 0.9.0 (as compared to 0.1pl2) ? * Approx 10% faster compression, 30% faster decompression * -t (test mode) is a lot quicker * Can decompress concatenated compressed files * Programming interface, so programs can directly read/write .bz2 files * Less restrictive (BSD-style) licensing * Flag handling more compatible with GNU gzip * Much more documentation, i.e., a proper user manual * Hopefully, improved portability (at least of the library)I hope you find bzip2 useful. Feel free to contact me at jseward@acm.orgif you have any suggestions or queries. Many people mailed me withcomments, suggestions and patches after the releases of bzip-0.15,bzip-0.21 and bzip2-0.1pl2, and the changes in bzip2 are largely aresult of this feedback. I thank you for your comments.At least for the time being, bzip2's "home" is http://www.muraroa.demon.co.uk.Julian Sewardjseward@acm.orgManchester, UK18 July 1996 (version 0.15)25 August 1996 (version 0.21)Guildford, Surrey, UK7 August 1997 (bzip2, version 0.1)29 August 1997 (bzip2, version 0.1pl2)23 August 1998 (bzip2, version 0.9.0)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -