| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | .\" $NetBSD: bzip2.1,v 1.8 2010/05/14 16:43:07 joerg Exp $ | | 1 | .\" $NetBSD: bzip2.1,v 1.9 2010/05/14 16:43:34 joerg Exp $ |
2 | .\" | | 2 | .\" |
3 | .Dd May 14, 2010 | | 3 | .Dd May 14, 2010 |
4 | .Dt BZIP2 1 | | 4 | .Dt BZIP2 1 |
5 | .Os | | 5 | .Os |
6 | .Sh NAME | | 6 | .Sh NAME |
7 | .Nm bzip2 , | | 7 | .Nm bzip2 , |
8 | .Nm bunzip2 , | | 8 | .Nm bunzip2 , |
9 | .Nm bzcat , | | 9 | .Nm bzcat , |
10 | .Nm bzip2recover | | 10 | .Nm bzip2recover |
11 | .Nd block-sorting file compressor | | 11 | .Nd block-sorting file compressor |
12 | .Sh SYNOPSIS | | 12 | .Sh SYNOPSIS |
13 | .Nm bzip2 | | 13 | .Nm bzip2 |
14 | .Op Fl 123456789cdfkLqstVvz | | 14 | .Op Fl 123456789cdfkLqstVvz |
| @@ -419,41 +419,41 @@ Decompression speed is unaffected by the | | | @@ -419,41 +419,41 @@ Decompression speed is unaffected by the |
419 | .Pp | | 419 | .Pp |
420 | .Nm bzip2 | | 420 | .Nm bzip2 |
421 | usually allocates several megabytes of memory to operate in, and then | | 421 | usually allocates several megabytes of memory to operate in, and then |
422 | charges all over it in a fairly random fashion. | | 422 | charges all over it in a fairly random fashion. |
423 | This means that performance, both for compressing and decompressing, | | 423 | This means that performance, both for compressing and decompressing, |
424 | is largely determined by the speed at which your machine can service | | 424 | is largely determined by the speed at which your machine can service |
425 | cache misses. | | 425 | cache misses. |
426 | Because of this, small changes to the code to reduce the miss rate | | 426 | Because of this, small changes to the code to reduce the miss rate |
427 | have been observed to give disproportionately large performance | | 427 | have been observed to give disproportionately large performance |
428 | improvements. | | 428 | improvements. |
429 | I imagine | | 429 | I imagine |
430 | .Nm bzip2 | | 430 | .Nm bzip2 |
431 | will perform best on machines with very large caches. | | 431 | will perform best on machines with very large caches. |
432 | .Sh EXIT STATUS | | | |
433 | 0 for a normal exit, 1 for environmental problems (file not found, | | | |
434 | invalid flags, I/O errors, etc.), 2 to indicate a corrupt compressed | | | |
435 | file, 3 for an internal consistency error (e.g., bug) which caused | | | |
436 | .Nm bzip2 | | | |
437 | to panic. | | | |
438 | .Sh ENVIRONMENT | | 432 | .Sh ENVIRONMENT |
439 | .Nm bzip2 | | 433 | .Nm bzip2 |
440 | will read arguments from the environment variables | | 434 | will read arguments from the environment variables |
441 | .Ev BZIP2 | | 435 | .Ev BZIP2 |
442 | and | | 436 | and |
443 | .Ev BZIP , | | 437 | .Ev BZIP , |
444 | in that order, and will process them before any arguments read from | | 438 | in that order, and will process them before any arguments read from |
445 | the command line. | | 439 | the command line. |
446 | This gives a convenient way to supply default arguments. | | 440 | This gives a convenient way to supply default arguments. |
| | | 441 | .Sh EXIT STATUS |
| | | 442 | 0 for a normal exit, 1 for environmental problems (file not found, |
| | | 443 | invalid flags, I/O errors, etc.), 2 to indicate a corrupt compressed |
| | | 444 | file, 3 for an internal consistency error (e.g., bug) which caused |
| | | 445 | .Nm bzip2 |
| | | 446 | to panic. |
447 | .Sh AUTHORS | | 447 | .Sh AUTHORS |
448 | .An -nosplit | | 448 | .An -nosplit |
449 | .An Julian Seward | | 449 | .An Julian Seward |
450 | .Aq jseward@bzip.org | | 450 | .Aq jseward@bzip.org |
451 | .Pp | | 451 | .Pp |
452 | .Pa http://www.bzip.org | | 452 | .Pa http://www.bzip.org |
453 | .Pp | | 453 | .Pp |
454 | The ideas embodied in | | 454 | The ideas embodied in |
455 | .Nm bzip2 | | 455 | .Nm bzip2 |
456 | are due to (at least) the following people: | | 456 | are due to (at least) the following people: |
457 | .An Michael Burrows | | 457 | .An Michael Burrows |
458 | and | | 458 | and |
459 | .An David Wheeler | | 459 | .An David Wheeler |