home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: SHell self-extracting ARchive
(archive/shar).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| SHell self-extracting ARchive (archive/shar)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/329 Shell Archive Format
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 4e 65 77 73 67 72 6f 75 | 70 73 3a 20 63 6f 6d 70 |Newsgrou|ps: comp|
|00000010| 2e 73 6f 75 72 63 65 73 | 2e 6d 69 73 63 0a 46 72 |.sources|.misc.Fr|
|00000020| 6f 6d 3a 20 44 61 76 65 | 20 4d 61 63 6b 20 3c 63 |om: Dave| Mack <c|
|00000030| 73 75 40 61 6c 65 6d 62 | 69 63 2e 41 43 53 2e 43 |su@alemb|ic.ACS.C|
|00000040| 4f 4d 3e 0a 53 75 62 6a | 65 63 74 3a 20 20 76 32 |OM>.Subj|ect: v2|
|00000050| 30 69 30 36 35 3a 20 20 | 63 6f 6d 70 72 65 73 73 |0i065: |compress|
|00000060| 20 2d 20 43 6f 6d 70 72 | 65 73 73 20 34 2e 31 2c | - Compr|ess 4.1,|
|00000070| 20 50 61 72 74 30 32 2f | 30 32 0a 4d 65 73 73 61 | Part02/|02.Messa|
|00000080| 67 65 2d 49 44 3a 20 3c | 31 39 39 31 4a 75 6e 32 |ge-ID: <|1991Jun2|
|00000090| 35 2e 31 38 33 39 31 31 | 2e 32 37 38 32 39 40 73 |5.183911|.27829@s|
|000000a0| 70 61 72 6b 79 2e 49 4d | 44 2e 53 74 65 72 6c 69 |parky.IM|D.Sterli|
|000000b0| 6e 67 2e 43 4f 4d 3e 0a | 58 2d 4d 64 34 2d 53 69 |ng.COM>.|X-Md4-Si|
|000000c0| 67 6e 61 74 75 72 65 3a | 20 64 63 33 34 36 34 33 |gnature:| dc34643|
|000000d0| 34 38 38 62 38 62 61 35 | 35 34 65 65 30 32 32 65 |488b8ba5|54ee022e|
|000000e0| 63 32 38 64 30 65 39 34 | 33 0a 44 61 74 65 3a 20 |c28d0e94|3.Date: |
|000000f0| 54 75 65 2c 20 32 35 20 | 4a 75 6e 20 31 39 39 31 |Tue, 25 |Jun 1991|
|00000100| 20 31 38 3a 33 39 3a 31 | 31 20 47 4d 54 0a 41 70 | 18:39:1|1 GMT.Ap|
|00000110| 70 72 6f 76 65 64 3a 20 | 6b 65 6e 74 40 73 70 61 |proved: |kent@spa|
|00000120| 72 6b 79 2e 69 6d 64 2e | 73 74 65 72 6c 69 6e 67 |rky.imd.|sterling|
|00000130| 2e 63 6f 6d 0a 0a 53 75 | 62 6d 69 74 74 65 64 2d |.com..Su|bmitted-|
|00000140| 62 79 3a 20 44 61 76 65 | 20 4d 61 63 6b 20 3c 63 |by: Dave| Mack <c|
|00000150| 73 75 40 61 6c 65 6d 62 | 69 63 2e 41 43 53 2e 43 |su@alemb|ic.ACS.C|
|00000160| 4f 4d 3e 0a 50 6f 73 74 | 69 6e 67 2d 6e 75 6d 62 |OM>.Post|ing-numb|
|00000170| 65 72 3a 20 56 6f 6c 75 | 6d 65 20 32 30 2c 20 49 |er: Volu|me 20, I|
|00000180| 73 73 75 65 20 36 35 0a | 41 72 63 68 69 76 65 2d |ssue 65.|Archive-|
|00000190| 6e 61 6d 65 3a 20 63 6f | 6d 70 72 65 73 73 2f 70 |name: co|mpress/p|
|000001a0| 61 72 74 30 32 0a 45 6e | 76 69 72 6f 6e 6d 65 6e |art02.En|vironmen|
|000001b0| 74 3a 20 55 4e 49 58 0a | 0a 23 21 20 2f 62 69 6e |t: UNIX.|.#! /bin|
|000001c0| 2f 73 68 0a 23 20 54 68 | 69 73 20 69 73 20 61 20 |/sh.# Th|is is a |
|000001d0| 73 68 65 6c 6c 20 61 72 | 63 68 69 76 65 2e 20 20 |shell ar|chive. |
|000001e0| 52 65 6d 6f 76 65 20 61 | 6e 79 74 68 69 6e 67 20 |Remove a|nything |
|000001f0| 62 65 66 6f 72 65 20 74 | 68 69 73 20 6c 69 6e 65 |before t|his line|
|00000200| 2c 20 74 68 65 6e 20 75 | 6e 70 61 63 6b 0a 23 20 |, then u|npack.# |
|00000210| 69 74 20 62 79 20 73 61 | 76 69 6e 67 20 69 74 20 |it by sa|ving it |
|00000220| 69 6e 74 6f 20 61 20 66 | 69 6c 65 20 61 6e 64 20 |into a f|ile and |
|00000230| 74 79 70 69 6e 67 20 22 | 73 68 20 66 69 6c 65 22 |typing "|sh file"|
|00000240| 2e 20 20 54 6f 20 6f 76 | 65 72 77 72 69 74 65 20 |. To ov|erwrite |
|00000250| 65 78 69 73 74 69 6e 67 | 0a 23 20 66 69 6c 65 73 |existing|.# files|
|00000260| 2c 20 74 79 70 65 20 22 | 73 68 20 66 69 6c 65 20 |, type "|sh file |
|00000270| 2d 63 22 2e 20 20 59 6f | 75 20 63 61 6e 20 61 6c |-c". Yo|u can al|
|00000280| 73 6f 20 66 65 65 64 20 | 74 68 69 73 20 61 73 20 |so feed |this as |
|00000290| 73 74 61 6e 64 61 72 64 | 20 69 6e 70 75 74 20 76 |standard| input v|
|000002a0| 69 61 0a 23 20 75 6e 73 | 68 61 72 2c 20 6f 72 20 |ia.# uns|har, or |
|000002b0| 62 79 20 74 79 70 69 6e | 67 20 22 73 68 20 3c 66 |by typin|g "sh <f|
|000002c0| 69 6c 65 22 2c 20 65 2e | 67 2e 2e 20 20 49 66 20 |ile", e.|g.. If |
|000002d0| 74 68 69 73 20 61 72 63 | 68 69 76 65 20 69 73 20 |this arc|hive is |
|000002e0| 63 6f 6d 70 6c 65 74 65 | 2c 20 79 6f 75 0a 23 20 |complete|, you.# |
|000002f0| 77 69 6c 6c 20 73 65 65 | 20 74 68 65 20 66 6f 6c |will see| the fol|
|00000300| 6c 6f 77 69 6e 67 20 6d | 65 73 73 61 67 65 20 61 |lowing m|essage a|
|00000310| 74 20 74 68 65 20 65 6e | 64 3a 0a 23 09 09 22 45 |t the en|d:.#.."E|
|00000320| 6e 64 20 6f 66 20 61 72 | 63 68 69 76 65 20 32 20 |nd of ar|chive 2 |
|00000330| 28 6f 66 20 32 29 2e 22 | 0a 23 20 43 6f 6e 74 65 |(of 2)."|.# Conte|
|00000340| 6e 74 73 3a 20 20 43 68 | 61 6e 67 65 73 20 41 63 |nts: Ch|anges Ac|
|00000350| 6b 73 20 4d 61 6b 65 66 | 69 6c 65 20 75 73 65 72 |ks Makef|ile user|
|00000360| 6d 65 6d 20 63 6f 6d 70 | 72 65 73 73 2e 31 20 7a |mem comp|ress.1 z|
|00000370| 63 6d 70 20 7a 63 6d 70 | 2e 31 20 7a 64 69 66 66 |cmp zcmp|.1 zdiff|
|00000380| 0a 23 20 20 20 7a 6d 6f | 72 65 20 7a 6d 6f 72 65 |.# zmo|re zmore|
|00000390| 2e 31 20 70 61 74 63 68 | 6c 65 76 65 6c 2e 68 0a |.1 patch|level.h.|
|000003a0| 23 20 57 72 61 70 70 65 | 64 20 62 79 20 63 73 75 |# Wrappe|d by csu|
|000003b0| 40 61 6c 65 6d 62 69 63 | 20 6f 6e 20 54 68 75 20 |@alembic| on Thu |
|000003c0| 4d 61 79 20 33 30 20 31 | 36 3a 32 34 3a 30 37 20 |May 30 1|6:24:07 |
|000003d0| 31 39 39 31 0a 50 41 54 | 48 3d 2f 62 69 6e 3a 2f |1991.PAT|H=/bin:/|
|000003e0| 75 73 72 2f 62 69 6e 3a | 2f 75 73 72 2f 75 63 62 |usr/bin:|/usr/ucb|
|000003f0| 20 3b 20 65 78 70 6f 72 | 74 20 50 41 54 48 0a 69 | ; expor|t PATH.i|
|00000400| 66 20 74 65 73 74 20 2d | 66 20 27 43 68 61 6e 67 |f test -|f 'Chang|
|00000410| 65 73 27 20 2d 61 20 22 | 24 7b 31 7d 22 20 21 3d |es' -a "|${1}" !=|
|00000420| 20 22 2d 63 22 20 3b 20 | 74 68 65 6e 20 0a 20 20 | "-c" ; |then . |
|00000430| 65 63 68 6f 20 73 68 61 | 72 3a 20 57 69 6c 6c 20 |echo sha|r: Will |
|00000440| 6e 6f 74 20 63 6c 6f 62 | 62 65 72 20 65 78 69 73 |not clob|ber exis|
|00000450| 74 69 6e 67 20 66 69 6c | 65 20 5c 22 27 43 68 61 |ting fil|e \"'Cha|
|00000460| 6e 67 65 73 27 5c 22 0a | 65 6c 73 65 0a 65 63 68 |nges'\".|else.ech|
|00000470| 6f 20 73 68 61 72 3a 20 | 45 78 74 72 61 63 74 69 |o shar: |Extracti|
|00000480| 6e 67 20 5c 22 27 43 68 | 61 6e 67 65 73 27 5c 22 |ng \"'Ch|anges'\"|
|00000490| 20 5c 28 32 31 32 36 20 | 63 68 61 72 61 63 74 65 | \(2126 |characte|
|000004a0| 72 73 5c 29 0a 73 65 64 | 20 22 73 2f 5e 58 2f 2f |rs\).sed| "s/^X//|
|000004b0| 22 20 3e 27 43 68 61 6e | 67 65 73 27 20 3c 3c 27 |" >'Chan|ges' <<'|
|000004c0| 45 4e 44 5f 4f 46 5f 46 | 49 4c 45 27 0a 58 4d 6f |END_OF_F|ILE'.XMo|
|000004d0| 64 69 66 69 63 61 74 69 | 6f 6e 73 20 66 6f 72 20 |dificati|ons for |
|000004e0| 76 65 72 73 69 6f 6e 20 | 34 2e 31 3a 20 0a 58 09 |version |4.1: .X.|
|000004f0| 6f 20 41 64 64 65 64 20 | 2d 72 20 63 6f 6d 6d 61 |o Added |-r comma|
|00000500| 6e 64 20 6c 69 6e 65 20 | 66 6c 61 67 20 74 6f 20 |nd line |flag to |
|00000510| 61 6c 6c 6f 77 20 72 65 | 63 75 72 73 69 76 65 20 |allow re|cursive |
|00000520| 63 6f 6d 70 72 65 73 73 | 69 6f 6e 2f 0a 58 09 20 |compress|ion/.X. |
|00000530| 20 64 65 63 6f 6d 70 72 | 65 73 73 69 6f 6e 20 6f | decompr|ession o|
|00000540| 66 20 64 69 72 65 63 74 | 6f 72 79 20 74 72 65 65 |f direct|ory tree|
|00000550| 73 2e 20 41 73 20 61 20 | 73 69 64 65 2d 65 66 66 |s. As a |side-eff|
|00000560| 65 63 74 2c 20 63 6f 6d | 70 72 65 73 73 0a 58 09 |ect, com|press.X.|
|00000570| 20 20 6e 6f 20 6c 6f 6e | 67 65 72 20 74 72 69 65 | no lon|ger trie|
|00000580| 73 20 74 6f 20 63 6f 6d | 70 72 65 73 73 2f 64 65 |s to com|press/de|
|00000590| 63 6f 6d 70 72 65 73 73 | 20 61 6e 79 74 68 69 6e |compress| anythin|
|000005a0| 67 20 74 68 61 74 20 69 | 73 6e 27 74 0a 58 09 20 |g that i|sn't.X. |
|000005b0| 20 61 20 72 65 67 75 6c | 61 72 20 66 69 6c 65 2e | a regul|ar file.|
|000005c0| 20 49 6e 20 70 61 72 74 | 69 63 75 6c 61 72 2c 20 | In part|icular, |
|000005d0| 69 74 20 69 67 6e 6f 72 | 65 73 20 73 79 6d 62 6f |it ignor|es symbo|
|000005e0| 6c 69 63 20 6c 69 6e 6b | 73 2e 0a 58 09 6f 20 7a |lic link|s..X.o z|
|000005f0| 63 61 74 20 6e 6f 20 6c | 6f 6e 67 65 72 20 63 61 |cat no l|onger ca|
|00000600| 72 65 73 20 77 68 65 74 | 68 65 72 20 61 20 66 69 |res whet|her a fi|
|00000610| 6c 65 6e 61 6d 65 20 65 | 6e 64 73 20 69 6e 20 2e |lename e|nds in .|
|00000620| 5a 20 6f 72 0a 58 09 20 | 20 6e 6f 74 20 2d 20 69 |Z or.X. | not - i|
|00000630| 74 20 72 65 6c 69 65 73 | 20 6f 6e 20 74 68 65 20 |t relies| on the |
|00000640| 6d 61 67 69 63 20 6e 75 | 6d 62 65 72 20 69 6e 20 |magic nu|mber in |
|00000650| 74 68 65 20 66 69 6c 65 | 2e 20 49 66 20 7a 63 61 |the file|. If zca|
|00000660| 74 0a 58 09 20 20 69 73 | 20 67 69 76 65 6e 20 61 |t.X. is| given a|
|00000670| 20 66 69 6c 65 6e 61 6d | 65 20 74 68 61 74 20 64 | filenam|e that d|
|00000680| 6f 65 73 6e 27 74 20 65 | 6e 64 20 77 69 74 68 20 |oesn't e|nd with |
|00000690| 2e 5a 20 61 6e 64 20 74 | 68 65 20 66 69 6c 65 0a |.Z and t|he file.|
|000006a0| 58 09 20 20 72 65 66 65 | 72 65 6e 63 65 64 20 64 |X. refe|renced d|
|000006b0| 6f 65 73 6e 27 74 20 65 | 78 69 73 74 2c 20 7a 63 |oesn't e|xist, zc|
|000006c0| 61 74 20 77 69 6c 6c 20 | 61 70 70 65 6e 64 20 61 |at will |append a|
|000006d0| 20 2e 5a 20 61 6e 64 20 | 74 72 79 0a 58 09 20 20 | .Z and |try.X. |
|000006e0| 74 6f 20 6f 70 65 6e 20 | 74 68 61 74 20 69 6e 73 |to open |that ins|
|000006f0| 74 65 61 64 2e 0a 58 09 | 6f 20 63 6f 6d 70 72 65 |tead..X.|o compre|
|00000700| 73 73 20 2d 66 20 77 69 | 6c 6c 20 6e 6f 77 20 63 |ss -f wi|ll now c|
|00000710| 6f 6d 70 72 65 73 73 20 | 6d 75 6c 74 69 70 6c 79 |ompress |multiply|
|00000720| 20 68 61 72 64 6c 69 6e | 6b 65 64 20 66 69 6c 65 | hardlin|ked file|
|00000730| 73 2e 0a 58 09 20 20 55 | 6e 63 6f 6d 70 72 65 73 |s..X. U|ncompres|
|00000740| 73 20 64 6f 65 73 20 6e | 6f 74 20 72 65 63 72 65 |s does n|ot recre|
|00000750| 61 74 65 20 74 68 65 20 | 68 61 72 64 20 6c 69 6e |ate the |hard lin|
|00000760| 6b 2c 20 69 74 20 63 72 | 65 61 74 65 73 0a 58 09 |k, it cr|eates.X.|
|00000770| 20 20 61 20 6e 65 77 20 | 66 69 6c 65 2e 0a 58 09 | a new |file..X.|
|00000780| 6f 20 52 65 6d 6f 76 65 | 64 20 63 6f 6d 70 72 65 |o Remove|d compre|
|00000790| 73 73 64 69 72 2f 75 6e | 63 6f 6d 70 72 65 73 73 |ssdir/un|compress|
|000007a0| 64 69 72 20 2d 20 6e 6f | 20 6c 6f 6e 67 65 72 20 |dir - no| longer |
|000007b0| 6e 65 65 64 65 64 2e 0a | 58 09 6f 20 52 65 6d 6f |needed..|X.o Remo|
|000007c0| 76 65 64 20 61 74 6f 62 | 2f 62 74 6f 61 2f 74 61 |ved atob|/btoa/ta|
|000007d0| 72 6d 61 69 6c 2f 75 6e | 74 61 72 6d 61 69 6c 20 |rmail/un|tarmail |
|000007e0| 2d 20 6d 79 20 76 65 72 | 73 69 6f 6e 73 20 61 72 |- my ver|sions ar|
|000007f0| 65 0a 58 09 20 20 62 61 | 73 65 64 20 6f 6e 20 62 |e.X. ba|sed on b|
|00000800| 74 6f 61 20 35 2e 32 20 | 77 68 69 63 68 20 69 73 |toa 5.2 |which is|
|00000810| 20 6e 6f 74 20 63 6f 6d | 70 61 74 69 62 6c 65 20 | not com|patible |
|00000820| 77 69 74 68 20 74 68 65 | 20 61 74 6f 62 0a 58 09 |with the| atob.X.|
|00000830| 20 20 69 6e 63 6c 75 64 | 65 64 20 77 69 74 68 20 | includ|ed with |
|00000840| 63 6f 6d 70 72 65 73 73 | 34 2e 30 2e 0a 58 43 6f |compress|4.0..XCo|
|00000850| 6d 70 72 65 73 73 20 76 | 65 72 73 69 6f 6e 20 34 |mpress v|ersion 4|
|00000860| 2e 30 20 69 6d 70 72 6f | 76 65 6d 65 6e 74 73 3a |.0 impro|vements:|
|00000870| 0a 58 09 6f 20 63 6f 6d | 70 72 65 73 73 28 29 20 |.X.o com|press() |
|00000880| 73 70 65 65 64 75 70 20 | 28 31 30 2d 35 30 25 29 |speedup |(10-50%)|
|00000890| 20 62 79 20 63 68 61 6e | 67 69 6e 67 20 64 69 76 | by chan|ging div|
|000008a0| 69 73 69 6f 6e 20 68 61 | 73 68 20 74 6f 20 78 6f |ision ha|sh to xo|
|000008b0| 72 0a 58 09 6f 20 64 65 | 63 6f 6d 70 72 65 73 73 |r.X.o de|compress|
|000008c0| 28 29 20 73 70 65 65 64 | 75 70 20 28 35 2d 31 30 |() speed|up (5-10|
|000008d0| 25 29 0a 58 09 6f 20 4d | 65 6d 6f 72 79 20 72 65 |%).X.o M|emory re|
|000008e0| 71 75 69 72 65 6d 65 6e | 74 73 20 72 65 64 75 63 |quiremen|ts reduc|
|000008f0| 65 64 20 28 33 2d 33 30 | 25 29 0a 58 09 6f 20 53 |ed (3-30|%).X.o S|
|00000900| 74 61 63 6b 20 72 65 71 | 75 69 72 65 6d 65 6e 74 |tack req|uirement|
|00000910| 73 20 72 65 64 75 63 65 | 64 20 74 6f 20 6c 65 73 |s reduce|d to les|
|00000920| 73 20 74 68 61 6e 20 34 | 6b 62 0a 58 09 6f 20 52 |s than 4|kb.X.o R|
|00000930| 65 6d 6f 76 65 64 20 27 | 42 69 67 2b 46 61 73 74 |emoved '|Big+Fast|
|00000940| 27 20 63 6f 6d 70 72 65 | 73 73 20 63 6f 64 65 20 |' compre|ss code |
|00000950| 28 46 42 49 54 53 29 20 | 62 65 63 61 75 73 65 20 |(FBITS) |because |
|00000960| 6f 66 20 63 6f 6d 70 72 | 65 73 73 20 73 70 65 65 |of compr|ess spee|
|00000970| 64 75 70 0a 58 20 20 20 | 20 09 6f 20 50 6f 72 74 |dup.X | .o Port|
|00000980| 61 62 69 6c 69 74 79 20 | 6d 6f 64 73 20 66 6f 72 |ability |mods for|
|00000990| 20 5a 38 30 30 30 20 61 | 6e 64 20 50 43 2f 58 54 | Z8000 a|nd PC/XT|
|000009a0| 20 28 62 75 74 20 6e 6f | 74 20 7a 65 75 73 20 33 | (but no|t zeus 3|
|000009b0| 2e 32 29 0a 58 09 6f 20 | 44 65 66 61 75 6c 74 20 |.2).X.o |Default |
|000009c0| 74 6f 20 27 71 75 69 65 | 74 27 20 6d 6f 64 65 0a |to 'quie|t' mode.|
|000009d0| 58 09 6f 20 55 6e 69 66 | 69 63 61 74 69 6f 6e 20 |X.o Unif|ication |
|000009e0| 6f 66 20 27 66 6f 72 63 | 65 27 20 66 6c 61 67 73 |of 'forc|e' flags|
|000009f0| 0a 58 09 6f 20 4d 61 6e | 75 61 6c 20 70 61 67 65 |.X.o Man|ual page|
|00000a00| 20 6f 76 65 72 68 61 75 | 6c 0a 58 09 6f 20 50 6f | overhau|l.X.o Po|
|00000a10| 72 74 61 62 69 6c 69 74 | 79 20 65 6e 68 61 6e 63 |rtabilit|y enhanc|
|00000a20| 65 6d 65 6e 74 20 66 6f | 72 20 4d 5f 58 45 4e 49 |ement fo|r M_XENI|
|00000a30| 58 0a 58 09 6f 20 52 65 | 6d 6f 76 65 64 20 74 65 |X.X.o Re|moved te|
|00000a40| 78 74 20 6f 6e 20 23 65 | 6c 73 65 20 61 6e 64 20 |xt on #e|lse and |
|00000a50| 23 65 6e 64 69 66 0a 58 | 09 6f 20 41 64 64 65 64 |#endif.X|.o Added|
|00000a60| 20 22 2d 56 22 20 73 77 | 69 74 63 68 20 74 6f 20 | "-V" sw|itch to |
|00000a70| 70 72 69 6e 74 20 76 65 | 72 73 69 6f 6e 20 61 6e |print ve|rsion an|
|00000a80| 64 20 6f 70 74 69 6f 6e | 73 0a 58 09 6f 20 41 64 |d option|s.X.o Ad|
|00000a90| 64 65 64 20 23 64 65 66 | 69 6e 65 73 20 66 6f 72 |ded #def|ines for|
|00000aa0| 20 53 49 47 4e 45 44 5f | 43 4f 4d 50 41 52 45 5f | SIGNED_|COMPARE_|
|00000ab0| 53 4c 4f 57 0a 58 09 6f | 20 41 64 64 65 64 20 4d |SLOW.X.o| Added M|
|00000ac0| 61 6b 65 66 69 6c 65 20 | 61 6e 64 20 22 75 73 65 |akefile |and "use|
|00000ad0| 72 6d 65 6d 22 20 70 72 | 6f 67 72 61 6d 0a 58 09 |rmem" pr|ogram.X.|
|00000ae0| 6f 20 52 65 6d 6f 76 65 | 64 20 61 6c 6c 20 66 6c |o Remove|d all fl|
|00000af0| 6f 61 74 69 6e 67 20 70 | 6f 69 6e 74 20 63 6f 6d |oating p|oint com|
|00000b00| 70 75 74 61 74 69 6f 6e | 73 0a 58 09 6f 20 4e 65 |putation|s.X.o Ne|
|00000b10| 77 20 70 72 6f 67 72 61 | 6d 73 3a 0a 58 09 09 63 |w progra|ms:.X..c|
|00000b20| 6f 6d 70 72 65 73 73 64 | 69 72 20 2d 20 63 6f 6d |ompressd|ir - com|
|00000b30| 70 72 65 73 73 20 61 6c | 6c 20 66 69 6c 65 73 20 |press al|l files |
|00000b40| 6f 6e 20 61 20 64 69 72 | 65 63 74 6f 72 79 0a 58 |on a dir|ectory.X|
|00000b50| 09 09 75 6e 63 6f 6d 70 | 72 65 73 73 64 69 72 20 |..uncomp|ressdir |
|00000b60| 2d 20 75 6e 63 6f 6d 70 | 72 65 73 73 20 61 6c 6c |- uncomp|ress all|
|00000b70| 20 66 69 6c 65 73 20 6f | 6e 20 61 20 64 69 72 65 | files o|n a dire|
|00000b80| 63 74 6f 72 79 0a 58 09 | 09 7a 63 6d 70 20 2d 20 |ctory.X.|.zcmp - |
|00000b90| 63 6d 70 20 63 6f 6d 70 | 72 65 73 73 65 64 20 66 |cmp comp|ressed f|
|00000ba0| 69 6c 65 73 0a 58 09 09 | 7a 64 69 66 66 20 2d 20 |iles.X..|zdiff - |
|00000bb0| 64 69 66 66 20 63 6f 6d | 70 72 65 73 73 65 64 20 |diff com|pressed |
|00000bc0| 66 69 6c 65 73 0a 58 09 | 20 20 54 68 65 20 66 6f |files.X.| The fo|
|00000bd0| 6c 6c 6f 77 69 6e 67 20 | 61 72 65 20 77 69 74 68 |llowing |are with|
|00000be0| 20 74 68 61 6e 6b 73 20 | 74 6f 20 70 68 69 6c 61 | thanks |to phila|
|00000bf0| 62 73 21 70 65 72 3a 0a | 58 09 09 62 74 6f 61 20 |bs!per:.|X..btoa |
|00000c00| 2d 20 63 6f 6e 76 65 72 | 74 20 62 69 6e 61 72 79 |- conver|t binary|
|00000c10| 20 74 6f 20 61 73 63 69 | 69 20 66 6f 72 20 6d 61 | to asci|i for ma|
|00000c20| 69 6c 69 6e 67 0a 58 09 | 09 61 74 6f 62 20 2d 20 |iling.X.|.atob - |
|00000c30| 63 6f 6e 76 65 72 74 20 | 61 73 63 69 69 20 74 6f |convert |ascii to|
|00000c40| 20 62 69 6e 61 72 79 20 | 77 69 74 68 20 63 68 65 | binary |with che|
|00000c50| 63 6b 73 75 6d 0a 58 09 | 09 74 61 72 6d 61 69 6c |cksum.X.|.tarmail|
|00000c60| 20 2d 20 74 61 72 2c 20 | 63 6f 6d 70 72 65 73 73 | - tar, |compress|
|00000c70| 2c 20 62 74 6f 61 2c 20 | 61 6e 64 20 6d 61 69 6c |, btoa, |and mail|
|00000c80| 20 66 69 6c 65 73 0a 58 | 09 09 75 6e 74 61 72 6d | files.X|..untarm|
|00000c90| 61 69 6c 20 2d 20 72 65 | 73 74 6f 72 65 20 22 74 |ail - re|store "t|
|00000ca0| 61 72 6d 61 69 6c 22 20 | 66 69 6c 65 73 0a 58 0a |armail" |files.X.|
|00000cb0| 58 09 09 57 41 52 4e 49 | 4e 47 3a 20 54 68 65 73 |X..WARNI|NG: Thes|
|00000cc0| 65 20 6c 61 73 74 20 66 | 65 77 20 70 72 6f 67 72 |e last f|ew progr|
|00000cd0| 61 6d 73 20 61 72 65 20 | 6e 6f 74 20 63 6f 6d 70 |ams are |not comp|
|00000ce0| 61 74 69 62 6c 65 20 0a | 58 09 09 77 69 74 68 20 |atible .|X..with |
|00000cf0| 74 68 65 20 6f 72 69 67 | 69 6e 61 6c 20 6f 6e 65 |the orig|inal one|
|00000d00| 73 20 66 72 6f 6d 20 74 | 68 65 20 6e 65 74 2e 20 |s from t|he net. |
|00000d10| 20 54 68 65 20 65 6e 63 | 6f 64 69 6e 67 0a 58 09 | The enc|oding.X.|
|00000d20| 09 68 61 73 20 63 68 61 | 6e 67 65 64 2e 20 20 53 |.has cha|nged. S|
|00000d30| 65 65 20 62 74 6f 61 2e | 63 20 66 6f 72 20 6d 6f |ee btoa.|c for mo|
|00000d40| 72 65 20 69 6e 66 6f 2e | 0a 58 0a 45 4e 44 5f 4f |re info.|.X.END_O|
|00000d50| 46 5f 46 49 4c 45 0a 69 | 66 20 74 65 73 74 20 32 |F_FILE.i|f test 2|
|00000d60| 31 32 36 20 2d 6e 65 20 | 60 77 63 20 2d 63 20 3c |126 -ne |`wc -c <|
|00000d70| 27 43 68 61 6e 67 65 73 | 27 60 3b 20 74 68 65 6e |'Changes|'`; then|
|00000d80| 0a 20 20 20 20 65 63 68 | 6f 20 73 68 61 72 3a 20 |. ech|o shar: |
|00000d90| 5c 22 27 43 68 61 6e 67 | 65 73 27 5c 22 20 75 6e |\"'Chang|es'\" un|
|00000da0| 70 61 63 6b 65 64 20 77 | 69 74 68 20 77 72 6f 6e |packed w|ith wron|
|00000db0| 67 20 73 69 7a 65 21 0a | 66 69 0a 23 20 65 6e 64 |g size!.|fi.# end|
|00000dc0| 20 6f 66 20 27 43 68 61 | 6e 67 65 73 27 0a 66 69 | of 'Cha|nges'.fi|
|00000dd0| 0a 69 66 20 74 65 73 74 | 20 2d 66 20 27 41 63 6b |.if test| -f 'Ack|
|00000de0| 73 27 20 2d 61 20 22 24 | 7b 31 7d 22 20 21 3d 20 |s' -a "$|{1}" != |
|00000df0| 22 2d 63 22 20 3b 20 74 | 68 65 6e 20 0a 20 20 65 |"-c" ; t|hen . e|
|00000e00| 63 68 6f 20 73 68 61 72 | 3a 20 57 69 6c 6c 20 6e |cho shar|: Will n|
|00000e10| 6f 74 20 63 6c 6f 62 62 | 65 72 20 65 78 69 73 74 |ot clobb|er exist|
|00000e20| 69 6e 67 20 66 69 6c 65 | 20 5c 22 27 41 63 6b 73 |ing file| \"'Acks|
|00000e30| 27 5c 22 0a 65 6c 73 65 | 0a 65 63 68 6f 20 73 68 |'\".else|.echo sh|
|00000e40| 61 72 3a 20 45 78 74 72 | 61 63 74 69 6e 67 20 5c |ar: Extr|acting \|
|00000e50| 22 27 41 63 6b 73 27 5c | 22 20 5c 28 35 32 35 20 |"'Acks'\|" \(525 |
|00000e60| 63 68 61 72 61 63 74 65 | 72 73 5c 29 0a 73 65 64 |characte|rs\).sed|
|00000e70| 20 22 73 2f 5e 58 2f 2f | 22 20 3e 27 41 63 6b 73 | "s/^X//|" >'Acks|
|00000e80| 27 20 3c 3c 27 45 4e 44 | 5f 4f 46 5f 46 49 4c 45 |' <<'END|_OF_FILE|
|00000e90| 27 0a 58 41 63 6b 6e 6f | 77 6c 65 64 67 6d 65 6e |'.XAckno|wledgmen|
|00000ea0| 74 73 3a 0a 58 0a 58 43 | 6f 6d 70 72 65 73 73 2c |ts:.X.XC|ompress,|
|00000eb0| 20 56 65 72 73 69 6f 6e | 20 34 2e 31 0a 58 0a 58 | Version| 4.1.X.X|
|00000ec0| 50 61 74 20 4d 79 72 74 | 6f 20 28 72 77 69 6e 67 |Pat Myrt|o (rwing|
|00000ed0| 21 70 61 74 40 63 73 2e | 77 61 73 68 69 6e 67 74 |!pat@cs.|washingt|
|00000ee0| 6f 6e 2e 65 64 75 29 20 | 64 65 73 65 72 76 65 73 |on.edu) |deserves|
|00000ef0| 20 74 68 65 20 63 72 65 | 64 69 74 0a 58 66 6f 72 | the cre|dit.Xfor|
|00000f00| 20 75 6e 64 6f 69 6e 67 | 20 61 6c 6c 20 74 68 65 | undoing| all the|
|00000f10| 20 64 61 6d 61 67 65 20 | 49 20 64 69 64 20 74 6f | damage |I did to|
|00000f20| 20 74 68 69 73 20 76 65 | 72 73 69 6f 6e 20 77 69 | this ve|rsion wi|
|00000f30| 74 68 20 72 65 73 70 65 | 63 74 0a 58 74 6f 20 53 |th respe|ct.Xto S|
|00000f40| 79 73 74 65 6d 20 56 20 | 61 6e 64 20 66 6f 72 20 |ystem V |and for |
|00000f50| 67 69 76 69 6e 67 20 6d | 65 20 74 68 65 20 6f 63 |giving m|e the oc|
|00000f60| 63 61 73 69 6f 6e 61 6c | 20 6b 69 63 6b 20 77 68 |casional| kick wh|
|00000f70| 65 6e 20 6d 79 0a 58 63 | 68 61 6e 67 65 73 20 63 |en my.Xc|hanges c|
|00000f80| 6c 6f 62 62 65 72 65 64 | 20 73 6f 6d 65 20 6e 65 |lobbered| some ne|
|00000f90| 63 65 73 73 61 72 79 20 | 66 75 6e 63 74 69 6f 6e |cessary |function|
|00000fa0| 61 6c 69 74 79 2e 0a 58 | 0a 58 54 68 61 6e 6b 73 |ality..X|.XThanks|
|00000fb0| 20 74 6f 20 4a 61 6d 65 | 73 20 41 2e 20 57 6f 6f | to Jame|s A. Woo|
|00000fc0| 64 73 20 66 6f 72 20 70 | 65 72 6d 69 74 74 69 6e |ds for p|ermittin|
|00000fd0| 67 20 6d 65 20 74 6f 20 | 63 6f 72 72 75 70 74 20 |g me to |corrupt |
|00000fe0| 68 69 73 20 62 61 62 79 | 0a 58 61 6e 64 20 66 6f |his baby|.Xand fo|
|00000ff0| 72 20 70 61 73 73 69 6e | 67 20 61 6c 6f 6e 67 20 |r passin|g along |
|00001000| 73 6f 6d 65 20 74 69 70 | 73 20 6f 6e 20 77 61 79 |some tip|s on way|
|00001010| 73 20 74 6f 20 69 6d 70 | 72 6f 76 65 20 74 68 65 |s to imp|rove the|
|00001020| 20 70 65 72 66 6f 72 6d | 61 6e 63 65 0a 58 6f 76 | perform|ance.Xov|
|00001030| 65 72 20 34 2e 30 2e 0a | 58 0a 58 54 68 61 6e 6b |er 4.0..|X.XThank|
|00001040| 73 20 74 6f 20 74 68 65 | 20 70 72 65 76 69 6f 75 |s to the| previou|
|00001050| 73 20 61 75 74 68 6f 72 | 73 20 77 68 6f 6d 20 49 |s author|s whom I|
|00001060| 20 64 69 64 6e 27 74 20 | 63 6f 6e 74 61 63 74 2c | didn't |contact,|
|00001070| 20 66 6f 72 20 6d 61 6b | 69 6e 67 0a 58 74 68 65 | for mak|ing.Xthe|
|00001080| 20 70 72 6f 67 72 61 6d | 20 61 76 61 69 6c 61 62 | program| availab|
|00001090| 6c 65 20 6f 72 69 67 69 | 6e 61 6c 6c 79 2e 0a 58 |le origi|nally..X|
|000010a0| 0a 58 2d 2d 20 0a 58 44 | 61 76 65 20 4d 61 63 6b |.X-- .XD|ave Mack|
|000010b0| 0a 45 4e 44 5f 4f 46 5f | 46 49 4c 45 0a 69 66 20 |.END_OF_|FILE.if |
|000010c0| 74 65 73 74 20 35 32 35 | 20 2d 6e 65 20 60 77 63 |test 525| -ne `wc|
|000010d0| 20 2d 63 20 3c 27 41 63 | 6b 73 27 60 3b 20 74 68 | -c <'Ac|ks'`; th|
|000010e0| 65 6e 0a 20 20 20 20 65 | 63 68 6f 20 73 68 61 72 |en. e|cho shar|
|000010f0| 3a 20 5c 22 27 41 63 6b | 73 27 5c 22 20 75 6e 70 |: \"'Ack|s'\" unp|
|00001100| 61 63 6b 65 64 20 77 69 | 74 68 20 77 72 6f 6e 67 |acked wi|th wrong|
|00001110| 20 73 69 7a 65 21 0a 66 | 69 0a 23 20 65 6e 64 20 | size!.f|i.# end |
|00001120| 6f 66 20 27 41 63 6b 73 | 27 0a 66 69 0a 69 66 20 |of 'Acks|'.fi.if |
|00001130| 74 65 73 74 20 2d 66 20 | 27 4d 61 6b 65 66 69 6c |test -f |'Makefil|
|00001140| 65 27 20 2d 61 20 22 24 | 7b 31 7d 22 20 21 3d 20 |e' -a "$|{1}" != |
|00001150| 22 2d 63 22 20 3b 20 74 | 68 65 6e 20 0a 20 20 65 |"-c" ; t|hen . e|
|00001160| 63 68 6f 20 73 68 61 72 | 3a 20 57 69 6c 6c 20 6e |cho shar|: Will n|
|00001170| 6f 74 20 63 6c 6f 62 62 | 65 72 20 65 78 69 73 74 |ot clobb|er exist|
|00001180| 69 6e 67 20 66 69 6c 65 | 20 5c 22 27 4d 61 6b 65 |ing file| \"'Make|
|00001190| 66 69 6c 65 27 5c 22 0a | 65 6c 73 65 0a 65 63 68 |file'\".|else.ech|
|000011a0| 6f 20 73 68 61 72 3a 20 | 45 78 74 72 61 63 74 69 |o shar: |Extracti|
|000011b0| 6e 67 20 5c 22 27 4d 61 | 6b 65 66 69 6c 65 27 5c |ng \"'Ma|kefile'\|
|000011c0| 22 20 5c 28 32 33 36 33 | 20 63 68 61 72 61 63 74 |" \(2363| charact|
|000011d0| 65 72 73 5c 29 0a 73 65 | 64 20 22 73 2f 5e 58 2f |ers\).se|d "s/^X/|
|000011e0| 2f 22 20 3e 27 4d 61 6b | 65 66 69 6c 65 27 20 3c |/" >'Mak|efile' <|
|000011f0| 3c 27 45 4e 44 5f 4f 46 | 5f 46 49 4c 45 27 0a 58 |<'END_OF|_FILE'.X|
|00001200| 23 0a 58 23 20 4d 61 6b | 65 66 69 6c 65 20 66 6f |#.X# Mak|efile fo|
|00001210| 72 20 63 6f 6d 70 72 65 | 73 73 20 76 65 72 73 69 |r compre|ss versi|
|00001220| 6f 6e 20 34 2e 31 0a 58 | 23 0a 58 43 43 3d 63 63 |on 4.1.X|#.XCC=cc|
|00001230| 0a 58 23 43 43 3d 67 63 | 63 20 2d 74 72 61 64 69 |.X#CC=gc|c -tradi|
|00001240| 74 69 6f 6e 61 6c 0a 58 | 23 0a 58 23 20 73 65 74 |tional.X|#.X# set|
|00001250| 20 79 6f 75 72 20 63 6f | 6d 70 69 6c 65 20 66 6c | your co|mpile fl|
|00001260| 61 67 73 2e 0a 58 23 20 | 73 65 74 20 2d 44 56 4f |ags..X# |set -DVO|
|00001270| 49 44 53 49 47 20 69 66 | 20 79 6f 75 72 20 73 69 |IDSIG if| your si|
|00001280| 67 6e 61 6c 28 29 20 66 | 75 6e 63 74 69 6f 6e 20 |gnal() f|unction |
|00001290| 72 65 74 75 72 6e 73 20 | 61 20 70 6f 69 6e 74 65 |returns |a pointe|
|000012a0| 72 20 74 6f 0a 58 23 20 | 61 20 66 75 6e 63 74 69 |r to.X# |a functi|
|000012b0| 6f 6e 20 72 65 74 75 72 | 6e 69 6e 67 20 76 6f 69 |on retur|ning voi|
|000012c0| 64 2e 0a 58 23 20 73 65 | 74 20 42 53 44 34 20 69 |d..X# se|t BSD4 i|
|000012d0| 66 20 79 6f 75 20 68 61 | 76 65 20 61 20 67 65 6e |f you ha|ve a gen|
|000012e0| 65 72 61 6c 6c 79 20 42 | 53 44 69 73 68 20 73 79 |erally B|SDish sy|
|000012f0| 73 74 65 6d 20 2d 20 53 | 75 6e 4f 53 2c 20 55 6c |stem - S|unOS, Ul|
|00001300| 74 72 69 78 2c 20 65 74 | 63 2e 0a 58 23 20 49 66 |trix, et|c..X# If|
|00001310| 20 79 6f 75 27 72 65 20 | 73 61 64 64 6c 65 64 20 | you're |saddled |
|00001320| 77 69 74 68 20 61 20 73 | 79 73 74 65 6d 20 74 68 |with a s|ystem th|
|00001330| 61 74 20 6f 6e 6c 79 20 | 61 6c 6c 6f 77 73 20 31 |at only |allows 1|
|00001340| 34 2d 63 68 61 72 61 63 | 74 65 72 0a 58 23 20 66 |4-charac|ter.X# f|
|00001350| 69 6c 65 6e 61 6d 65 73 | 2c 20 73 65 74 20 2d 44 |ilenames|, set -D|
|00001360| 53 48 4f 52 54 4e 41 4d | 45 53 0a 58 23 20 69 6e |SHORTNAM|ES.X# in|
|00001370| 63 6c 75 64 65 20 2d 44 | 44 49 52 45 4e 54 20 69 |clude -D|DIRENT i|
|00001380| 66 20 79 6f 75 72 20 73 | 79 73 74 65 6d 20 77 61 |f your s|ystem wa|
|00001390| 6e 74 73 20 79 6f 75 20 | 74 6f 20 23 69 6e 63 6c |nts you |to #incl|
|000013a0| 75 64 65 20 3c 64 69 72 | 65 6e 74 2e 68 3e 0a 58 |ude <dir|ent.h>.X|
|000013b0| 23 20 69 6e 73 74 65 61 | 64 20 6f 66 20 3c 73 79 |# instea|d of <sy|
|000013c0| 73 2f 64 69 72 2e 68 3e | 0a 58 23 20 54 68 65 20 |s/dir.h>|.X# The |
|000013d0| 52 45 41 44 4d 45 20 66 | 69 6c 65 20 64 65 73 63 |README f|ile desc|
|000013e0| 72 69 62 65 73 20 6f 74 | 68 65 72 20 66 6c 61 67 |ribes ot|her flag|
|000013f0| 73 20 79 6f 75 20 6d 61 | 79 20 6e 65 65 64 2e 0a |s you ma|y need..|
|00001400| 58 23 0a 58 23 20 43 46 | 4c 41 47 53 20 66 6f 72 |X#.X# CF|LAGS for|
|00001410| 20 53 75 6e 4f 53 34 2e | 31 0a 58 43 46 4c 41 47 | SunOS4.|1.XCFLAG|
|00001420| 53 3d 2d 4f 20 2d 44 56 | 4f 49 44 53 49 47 20 2d |S=-O -DV|OIDSIG -|
|00001430| 44 42 53 44 34 20 2d 44 | 44 49 52 45 4e 54 0a 58 |DBSD4 -D|DIRENT.X|
|00001440| 23 20 43 46 4c 41 47 53 | 20 66 6f 72 20 53 79 73 |# CFLAGS| for Sys|
|00001450| 74 65 6d 20 56 20 52 65 | 6c 20 33 2e 78 0a 58 23 |tem V Re|l 3.x.X#|
|00001460| 43 46 4c 41 47 53 3d 2d | 4f 20 2d 44 53 48 4f 52 |CFLAGS=-|O -DSHOR|
|00001470| 54 4e 41 4d 45 53 20 2d | 44 44 49 52 45 4e 54 0a |TNAMES -|DDIRENT.|
|00001480| 58 23 0a 58 23 20 42 49 | 4e 20 69 73 20 77 68 65 |X#.X# BI|N is whe|
|00001490| 72 65 20 74 68 65 20 65 | 78 65 63 75 74 61 62 6c |re the e|xecutabl|
|000014a0| 65 73 20 28 63 6f 6d 70 | 72 65 73 73 2c 20 75 6e |es (comp|ress, un|
|000014b0| 63 6f 6d 70 72 65 73 73 | 2c 20 7a 63 61 74 2c 20 |compress|, zcat, |
|000014c0| 7a 63 6d 70 2c 20 7a 64 | 69 66 66 0a 58 23 20 61 |zcmp, zd|iff.X# a|
|000014d0| 6e 64 20 7a 6d 6f 72 65 | 29 20 77 69 6c 6c 20 62 |nd zmore|) will b|
|000014e0| 65 20 69 6e 73 74 61 6c | 6c 65 64 2e 0a 58 23 0a |e instal|led..X#.|
|000014f0| 58 42 49 4e 3d 2f 75 73 | 72 2f 6c 6f 63 61 6c 2f |XBIN=/us|r/local/|
|00001500| 62 69 6e 0a 58 23 0a 58 | 23 20 4d 41 4e 20 73 61 |bin.X#.X|# MAN sa|
|00001510| 79 73 20 77 68 65 72 65 | 20 74 6f 20 69 6e 73 74 |ys where| to inst|
|00001520| 61 6c 6c 20 74 68 65 20 | 6d 61 6e 20 70 61 67 65 |all the |man page|
|00001530| 0a 58 23 0a 58 4d 41 4e | 3d 2f 75 73 72 2f 6d 61 |.X#.XMAN|=/usr/ma|
|00001540| 6e 2f 6d 61 6e 6c 0a 58 | 23 0a 58 23 20 4d 41 4e |n/manl.X|#.X# MAN|
|00001550| 53 55 46 20 69 73 20 74 | 68 65 20 73 75 66 66 69 |SUF is t|he suffi|
|00001560| 78 20 74 68 65 20 69 6e | 73 74 61 6c 6c 65 64 20 |x the in|stalled |
|00001570| 6d 61 6e 75 61 6c 20 70 | 61 67 65 20 73 68 6f 75 |manual p|age shou|
|00001580| 6c 64 20 68 61 76 65 0a | 58 23 0a 58 4d 41 4e 53 |ld have.|X#.XMANS|
|00001590| 55 46 3d 6c 0a 58 23 0a | 58 23 20 4c 4e 20 69 73 |UF=l.X#.|X# LN is|
|000015a0| 20 68 6f 77 20 74 6f 20 | 6d 61 6b 65 20 6c 69 6e | how to |make lin|
|000015b0| 6b 73 20 28 68 61 72 64 | 20 6f 72 20 73 79 6d 62 |ks (hard| or symb|
|000015c0| 6f 6c 69 63 29 20 6f 6e | 20 79 6f 75 72 20 73 79 |olic) on| your sy|
|000015d0| 73 74 65 6d 0a 58 23 0a | 58 4c 4e 3d 6c 6e 20 2d |stem.X#.|XLN=ln -|
|000015e0| 73 0a 58 23 0a 58 23 20 | 4c 49 42 53 20 63 6f 6e |s.X#.X# |LIBS con|
|000015f0| 74 61 69 6e 73 20 61 6e | 79 20 61 64 64 69 74 69 |tains an|y additi|
|00001600| 6f 6e 61 6c 20 6c 69 62 | 72 61 72 69 65 73 20 79 |onal lib|raries y|
|00001610| 6f 75 20 6d 61 79 20 6e | 65 65 64 20 74 6f 20 6c |ou may n|eed to l|
|00001620| 69 6e 6b 2e 0a 58 23 20 | 49 6e 20 70 61 72 74 69 |ink..X# |In parti|
|00001630| 63 75 6c 61 72 2c 20 79 | 6f 75 20 6d 61 79 20 6e |cular, y|ou may n|
|00001640| 65 65 64 20 2d 6c 6e 64 | 69 72 20 6f 72 20 65 71 |eed -lnd|ir or eq|
|00001650| 75 69 76 2e 20 74 6f 20 | 67 65 74 20 74 68 65 0a |uiv. to |get the.|
|00001660| 58 23 20 70 75 62 6c 69 | 63 20 64 6f 6d 61 69 6e |X# publi|c domain|
|00001670| 20 64 69 72 65 63 74 6f | 72 79 20 61 63 63 65 73 | directo|ry acces|
|00001680| 73 20 72 6f 75 74 69 6e | 65 73 20 69 66 20 74 68 |s routin|es if th|
|00001690| 65 79 20 61 72 65 6e 27 | 74 20 69 6e 20 79 6f 75 |ey aren'|t in you|
|000016a0| 72 20 6c 69 62 63 2e 0a | 58 23 0a 58 4c 49 42 53 |r libc..|X#.XLIBS|
|000016b0| 3d 0a 58 23 0a 58 23 20 | 45 4e 44 20 4f 46 20 43 |=.X#.X# |END OF C|
|000016c0| 4f 4e 46 49 47 55 52 41 | 54 49 4f 4e 20 4f 50 54 |ONFIGURA|TION OPT|
|000016d0| 49 4f 4e 53 0a 58 23 0a | 58 0a 58 53 48 41 52 53 |IONS.X#.|X.XSHARS|
|000016e0| 45 54 31 3d 52 45 41 44 | 4d 45 20 63 6f 6d 70 72 |ET1=READ|ME compr|
|000016f0| 65 73 73 2e 63 0a 58 53 | 48 41 52 53 45 54 32 3d |ess.c.XS|HARSET2=|
|00001700| 43 68 61 6e 67 65 73 20 | 41 63 6b 73 20 4d 61 6b |Changes |Acks Mak|
|00001710| 65 66 69 6c 65 20 75 73 | 65 72 6d 65 6d 20 20 63 |efile us|ermem c|
|00001720| 6f 6d 70 72 65 73 73 2e | 31 20 7a 63 6d 70 20 7a |ompress.|1 zcmp z|
|00001730| 63 6d 70 2e 31 20 5c 0a | 58 09 7a 64 69 66 66 20 |cmp.1 \.|X.zdiff |
|00001740| 7a 6d 6f 72 65 20 7a 6d | 6f 72 65 2e 31 20 70 61 |zmore zm|ore.1 pa|
|00001750| 74 63 68 6c 65 76 65 6c | 2e 68 0a 58 0a 58 61 6c |tchlevel|.h.X.Xal|
|00001760| 6c 3a 20 63 6f 6d 70 72 | 65 73 73 0a 58 0a 58 63 |l: compr|ess.X.Xc|
|00001770| 6f 6d 70 72 65 73 73 3a | 20 55 53 45 52 4d 45 4d |ompress:| USERMEM|
|00001780| 20 63 6f 6d 70 72 65 73 | 73 2e 63 0a 58 09 24 28 | compres|s.c.X.$(|
|00001790| 43 43 29 20 24 28 43 46 | 4c 41 47 53 29 20 2d 44 |CC) $(CF|LAGS) -D|
|000017a0| 55 53 45 52 4d 45 4d 3d | 60 63 61 74 20 55 53 45 |USERMEM=|`cat USE|
|000017b0| 52 4d 45 4d 60 20 2d 6f | 20 63 6f 6d 70 72 65 73 |RMEM` -o| compres|
|000017c0| 73 20 63 6f 6d 70 72 65 | 73 73 2e 63 20 24 28 4c |s compre|ss.c $(L|
|000017d0| 49 42 53 29 0a 58 0a 58 | 23 20 55 53 45 52 4d 45 |IBS).X.X|# USERME|
|000017e0| 4d 20 6d 61 79 20 68 61 | 76 65 20 74 6f 20 62 65 |M may ha|ve to be|
|000017f0| 20 73 65 74 20 62 79 20 | 68 61 6e 64 2e 20 20 49 | set by |hand. I|
|00001800| 74 20 73 68 6f 75 6c 64 | 20 63 6f 6e 74 61 69 6e |t should| contain|
|00001810| 20 74 68 65 20 61 6d 6f | 75 6e 74 20 6f 66 0a 58 | the amo|unt of.X|
|00001820| 23 20 61 76 61 69 6c 61 | 62 6c 65 20 75 73 65 72 |# availa|ble user|
|00001830| 20 6d 65 6d 6f 72 79 20 | 69 6e 20 62 79 74 65 73 | memory |in bytes|
|00001840| 2e 20 20 53 65 65 20 74 | 68 65 20 52 45 41 44 4d |. See t|he READM|
|00001850| 45 20 66 69 6c 65 20 66 | 6f 72 20 6d 6f 72 65 20 |E file f|or more |
|00001860| 69 6e 66 6f 2e 0a 58 55 | 53 45 52 4d 45 4d 3a 0a |info..XU|SERMEM:.|
|00001870| 58 09 73 68 20 75 73 65 | 72 6d 65 6d 20 3e 20 55 |X.sh use|rmem > U|
|00001880| 53 45 52 4d 45 4d 0a 58 | 0a 58 69 6e 73 74 61 6c |SERMEM.X|.Xinstal|
|00001890| 6c 3a 20 63 6f 6d 70 72 | 65 73 73 20 63 6f 6d 70 |l: compr|ess comp|
|000018a0| 72 65 73 73 2e 31 0a 58 | 09 2d 6d 76 20 24 28 42 |ress.1.X|.-mv $(B|
|000018b0| 49 4e 29 2f 63 6f 6d 70 | 72 65 73 73 20 24 28 42 |IN)/comp|ress $(B|
|000018c0| 49 4e 29 2f 63 6f 6d 70 | 72 65 73 73 2e 6f 6c 64 |IN)/comp|ress.old|
|000018d0| 0a 58 09 63 70 20 63 6f | 6d 70 72 65 73 73 20 24 |.X.cp co|mpress $|
|000018e0| 28 42 49 4e 29 0a 58 09 | 72 6d 20 2d 66 20 24 28 |(BIN).X.|rm -f $(|
|000018f0| 42 49 4e 29 2f 75 6e 63 | 6f 6d 70 72 65 73 73 20 |BIN)/unc|ompress |
|00001900| 24 28 42 49 4e 29 2f 7a | 63 61 74 0a 58 09 24 28 |$(BIN)/z|cat.X.$(|
|00001910| 4c 4e 29 20 24 28 42 49 | 4e 29 2f 63 6f 6d 70 72 |LN) $(BI|N)/compr|
|00001920| 65 73 73 20 24 28 42 49 | 4e 29 2f 75 6e 63 6f 6d |ess $(BI|N)/uncom|
|00001930| 70 72 65 73 73 0a 58 09 | 24 28 4c 4e 29 20 24 28 |press.X.|$(LN) $(|
|00001940| 42 49 4e 29 2f 63 6f 6d | 70 72 65 73 73 20 24 28 |BIN)/com|press $(|
|00001950| 42 49 4e 29 2f 7a 63 61 | 74 0a 58 09 63 70 20 63 |BIN)/zca|t.X.cp c|
|00001960| 6f 6d 70 72 65 73 73 2e | 31 20 24 28 4d 41 4e 29 |ompress.|1 $(MAN)|
|00001970| 2f 63 6f 6d 70 72 65 73 | 73 2e 24 28 4d 41 4e 53 |/compres|s.$(MANS|
|00001980| 55 46 29 0a 58 09 72 6d | 20 2d 66 20 24 28 4d 41 |UF).X.rm| -f $(MA|
|00001990| 4e 29 2f 75 6e 63 6f 6d | 70 72 65 73 73 2e 24 28 |N)/uncom|press.$(|
|000019a0| 4d 41 4e 53 55 46 29 20 | 24 28 4d 41 4e 29 2f 7a |MANSUF) |$(MAN)/z|
|000019b0| 63 61 74 2e 24 28 4d 41 | 4e 53 55 46 29 0a 58 09 |cat.$(MA|NSUF).X.|
|000019c0| 24 28 4c 4e 29 20 24 28 | 4d 41 4e 29 2f 63 6f 6d |$(LN) $(|MAN)/com|
|000019d0| 70 72 65 73 73 2e 24 28 | 4d 41 4e 53 55 46 29 20 |press.$(|MANSUF) |
|000019e0| 24 28 4d 41 4e 29 2f 75 | 6e 63 6f 6d 70 72 65 73 |$(MAN)/u|ncompres|
|000019f0| 73 2e 24 28 4d 41 4e 53 | 55 46 29 0a 58 09 24 28 |s.$(MANS|UF).X.$(|
|00001a00| 4c 4e 29 20 24 28 4d 41 | 4e 29 2f 63 6f 6d 70 72 |LN) $(MA|N)/compr|
|00001a10| 65 73 73 2e 24 28 4d 41 | 4e 53 55 46 29 20 24 28 |ess.$(MA|NSUF) $(|
|00001a20| 4d 41 4e 29 2f 7a 63 61 | 74 2e 24 28 4d 41 4e 53 |MAN)/zca|t.$(MANS|
|00001a30| 55 46 29 0a 58 09 63 70 | 20 7a 6d 6f 72 65 20 7a |UF).X.cp| zmore z|
|00001a40| 63 6d 70 20 7a 64 69 66 | 66 20 24 28 42 49 4e 29 |cmp zdif|f $(BIN)|
|00001a50| 0a 58 09 63 70 20 7a 6d | 6f 72 65 2e 31 20 24 28 |.X.cp zm|ore.1 $(|
|00001a60| 4d 41 4e 29 2f 7a 6d 6f | 72 65 2e 24 28 4d 41 4e |MAN)/zmo|re.$(MAN|
|00001a70| 53 55 46 29 0a 58 09 63 | 70 20 7a 63 6d 70 2e 31 |SUF).X.c|p zcmp.1|
|00001a80| 20 24 28 4d 41 4e 29 2f | 7a 63 6d 70 2e 24 28 4d | $(MAN)/|zcmp.$(M|
|00001a90| 41 4e 53 55 46 29 0a 58 | 09 72 6d 20 2d 66 20 24 |ANSUF).X|.rm -f $|
|00001aa0| 28 4d 41 4e 29 2f 7a 64 | 69 66 66 2e 24 28 4d 41 |(MAN)/zd|iff.$(MA|
|00001ab0| 4e 53 55 46 29 0a 58 09 | 24 28 4c 4e 29 20 24 28 |NSUF).X.|$(LN) $(|
|00001ac0| 4d 41 4e 29 2f 7a 63 6d | 70 2e 24 28 4d 41 4e 53 |MAN)/zcm|p.$(MANS|
|00001ad0| 55 46 29 20 24 28 4d 41 | 4e 29 2f 7a 64 69 66 66 |UF) $(MA|N)/zdiff|
|00001ae0| 2e 24 28 4d 41 4e 53 55 | 46 29 0a 58 0a 58 63 6c |.$(MANSU|F).X.Xcl|
|00001af0| 65 61 6e 3a 0a 58 09 72 | 6d 20 2d 66 20 63 6f 6d |ean:.X.r|m -f com|
|00001b00| 70 72 65 73 73 20 75 6e | 63 6f 6d 70 72 65 73 73 |press un|compress|
|00001b10| 20 7a 63 61 74 20 63 6f | 72 65 0a 58 0a 58 73 68 | zcat co|re.X.Xsh|
|00001b20| 61 72 3a 0a 58 09 73 68 | 61 72 20 2d 6f 20 63 6f |ar:.X.sh|ar -o co|
|00001b30| 6d 70 72 65 73 73 34 31 | 2e 73 68 61 72 2e 31 20 |mpress41|.shar.1 |
|00001b40| 2d 6e 30 31 20 2d 65 30 | 32 20 24 28 53 48 41 52 |-n01 -e0|2 $(SHAR|
|00001b50| 53 45 54 31 29 0a 58 09 | 73 68 61 72 20 2d 6f 20 |SET1).X.|shar -o |
|00001b60| 63 6f 6d 70 72 65 73 73 | 34 31 2e 73 68 61 72 2e |compress|41.shar.|
|00001b70| 32 20 2d 6e 30 32 20 2d | 65 30 32 20 24 28 53 48 |2 -n02 -|e02 $(SH|
|00001b80| 41 52 53 45 54 32 29 0a | 58 0a 58 0a 58 0a 58 0a |ARSET2).|X.X.X.X.|
|00001b90| 58 0a 45 4e 44 5f 4f 46 | 5f 46 49 4c 45 0a 69 66 |X.END_OF|_FILE.if|
|00001ba0| 20 74 65 73 74 20 32 33 | 36 33 20 2d 6e 65 20 60 | test 23|63 -ne `|
|00001bb0| 77 63 20 2d 63 20 3c 27 | 4d 61 6b 65 66 69 6c 65 |wc -c <'|Makefile|
|00001bc0| 27 60 3b 20 74 68 65 6e | 0a 20 20 20 20 65 63 68 |'`; then|. ech|
|00001bd0| 6f 20 73 68 61 72 3a 20 | 5c 22 27 4d 61 6b 65 66 |o shar: |\"'Makef|
|00001be0| 69 6c 65 27 5c 22 20 75 | 6e 70 61 63 6b 65 64 20 |ile'\" u|npacked |
|00001bf0| 77 69 74 68 20 77 72 6f | 6e 67 20 73 69 7a 65 21 |with wro|ng size!|
|00001c00| 0a 66 69 0a 23 20 65 6e | 64 20 6f 66 20 27 4d 61 |.fi.# en|d of 'Ma|
|00001c10| 6b 65 66 69 6c 65 27 0a | 66 69 0a 69 66 20 74 65 |kefile'.|fi.if te|
|00001c20| 73 74 20 2d 66 20 27 75 | 73 65 72 6d 65 6d 27 20 |st -f 'u|sermem' |
|00001c30| 2d 61 20 22 24 7b 31 7d | 22 20 21 3d 20 22 2d 63 |-a "${1}|" != "-c|
|00001c40| 22 20 3b 20 74 68 65 6e | 20 0a 20 20 65 63 68 6f |" ; then| . echo|
|00001c50| 20 73 68 61 72 3a 20 57 | 69 6c 6c 20 6e 6f 74 20 | shar: W|ill not |
|00001c60| 63 6c 6f 62 62 65 72 20 | 65 78 69 73 74 69 6e 67 |clobber |existing|
|00001c70| 20 66 69 6c 65 20 5c 22 | 27 75 73 65 72 6d 65 6d | file \"|'usermem|
|00001c80| 27 5c 22 0a 65 6c 73 65 | 0a 65 63 68 6f 20 73 68 |'\".else|.echo sh|
|00001c90| 61 72 3a 20 45 78 74 72 | 61 63 74 69 6e 67 20 5c |ar: Extr|acting \|
|00001ca0| 22 27 75 73 65 72 6d 65 | 6d 27 5c 22 20 5c 28 31 |"'userme|m'\" \(1|
|00001cb0| 37 34 38 20 63 68 61 72 | 61 63 74 65 72 73 5c 29 |748 char|acters\)|
|00001cc0| 0a 73 65 64 20 22 73 2f | 5e 58 2f 2f 22 20 3e 27 |.sed "s/|^X//" >'|
|00001cd0| 75 73 65 72 6d 65 6d 27 | 20 3c 3c 27 45 4e 44 5f |usermem'| <<'END_|
|00001ce0| 4f 46 5f 46 49 4c 45 27 | 0a 58 3a 20 54 68 69 73 |OF_FILE'|.X: This|
|00001cf0| 20 73 68 65 6c 6c 20 73 | 63 72 69 70 74 20 73 6e | shell s|cript sn|
|00001d00| 6f 6f 70 73 20 61 72 6f | 75 6e 64 20 74 6f 20 66 |oops aro|und to f|
|00001d10| 69 6e 64 20 74 68 65 20 | 6d 61 78 69 6d 75 6d 20 |ind the |maximum |
|00001d20| 61 6d 6f 75 6e 74 20 6f | 66 20 61 76 61 69 6c 61 |amount o|f availa|
|00001d30| 62 6c 65 0a 58 3a 20 75 | 73 65 72 20 6d 65 6d 6f |ble.X: u|ser memo|
|00001d40| 72 79 2e 20 20 54 68 65 | 73 65 20 76 61 72 69 61 |ry. The|se varia|
|00001d50| 62 6c 65 73 20 6e 65 65 | 64 20 74 6f 20 62 65 20 |bles nee|d to be |
|00001d60| 73 65 74 20 6f 6e 6c 79 | 20 69 66 20 74 68 65 72 |set only| if ther|
|00001d70| 65 20 69 73 20 6e 6f 0a | 58 3a 20 2f 75 73 72 2f |e is no.|X: /usr/|
|00001d80| 61 64 6d 2f 6d 65 73 73 | 61 67 65 73 2e 20 20 4b |adm/mess|ages. K|
|00001d90| 4d 45 4d 2c 20 55 4e 49 | 58 2c 20 61 6e 64 20 43 |MEM, UNI|X, and C|
|00001da0| 4c 49 43 4b 53 49 5a 45 | 20 63 61 6e 20 62 65 20 |LICKSIZE| can be |
|00001db0| 73 65 74 20 6f 6e 20 74 | 68 65 20 63 6f 6d 6d 61 |set on t|he comma|
|00001dc0| 6e 64 0a 58 3a 20 6c 69 | 6e 65 2c 20 69 66 20 64 |nd.X: li|ne, if d|
|00001dd0| 65 73 69 72 65 64 2c 20 | 65 2e 67 2e 20 55 4e 49 |esired, |e.g. UNI|
|00001de0| 58 3d 2f 75 6e 69 78 0a | 58 4b 4d 45 4d 3d 2f 64 |X=/unix.|XKMEM=/d|
|00001df0| 65 76 2f 6b 6d 65 6d 09 | 09 23 20 55 73 65 72 20 |ev/kmem.|.# User |
|00001e00| 6e 65 65 64 73 20 72 65 | 61 64 20 61 63 63 65 73 |needs re|ad acces|
|00001e10| 73 20 74 6f 20 4b 4d 45 | 4d 0a 58 55 4e 49 58 3d |s to KME|M.XUNIX=|
|00001e20| 0a 58 23 20 56 41 58 09 | 09 09 43 4c 49 43 4b 53 |.X# VAX.|..CLICKS|
|00001e30| 49 5a 45 3d 35 31 32 2c | 09 55 4e 49 58 3d 2f 76 |IZE=512,|.UNIX=/v|
|00001e40| 6d 75 6e 69 78 0a 58 23 | 20 50 44 50 2d 31 31 09 |munix.X#| PDP-11.|
|00001e50| 09 43 4c 49 43 4b 53 49 | 5a 45 3d 36 34 2c 09 55 |.CLICKSI|ZE=64,.U|
|00001e60| 4e 49 58 3d 2f 75 6e 69 | 78 0a 58 23 20 43 41 44 |NIX=/uni|x.X# CAD|
|00001e70| 4c 49 4e 43 20 36 38 30 | 30 30 09 09 43 4c 49 43 |LINC 680|00..CLIC|
|00001e80| 4b 53 49 5a 45 3d 34 30 | 39 36 2c 09 55 4e 49 58 |KSIZE=40|96,.UNIX|
|00001e90| 3d 2f 75 6e 69 78 0a 58 | 23 20 50 65 72 6b 69 6e |=/unix.X|# Perkin|
|00001ea0| 2d 45 6c 6d 65 72 20 33 | 32 30 35 09 43 4c 49 43 |-Elmer 3|205.CLIC|
|00001eb0| 4b 53 49 5a 45 3d 34 30 | 39 36 2c 09 55 4e 49 58 |KSIZE=40|96,.UNIX|
|00001ec0| 3d 2f 65 64 69 74 69 6f | 6e 37 0a 58 23 20 50 65 |=/editio|n7.X# Pe|
|00001ed0| 72 6b 69 6e 2d 45 6c 6d | 65 72 20 61 6c 6c 20 6f |rkin-Elm|er all o|
|00001ee0| 74 68 65 72 73 2c 20 43 | 4c 49 43 4b 53 49 5a 45 |thers, C|LICKSIZE|
|00001ef0| 3d 32 30 34 38 2c 20 55 | 4e 49 58 3d 2f 65 64 69 |=2048, U|NIX=/edi|
|00001f00| 74 69 6f 6e 37 0a 58 43 | 4c 49 43 4b 53 49 5a 45 |tion7.XC|LICKSIZE|
|00001f10| 3d 35 31 32 0a 58 65 76 | 61 6c 20 24 2a 0a 58 0a |=512.Xev|al $*.X.|
|00001f20| 58 53 49 5a 45 3d 30 0a | 58 69 66 20 74 65 73 74 |XSIZE=0.|Xif test|
|00001f30| 20 2d 72 20 2f 75 73 72 | 2f 61 64 6d 2f 6d 65 73 | -r /usr|/adm/mes|
|00001f40| 73 61 67 65 73 09 23 20 | 70 72 6f 62 61 62 6c 79 |sages.# |probably|
|00001f50| 20 74 68 65 20 6d 6f 73 | 74 20 74 72 61 6e 73 70 | the mos|t transp|
|00001f60| 6f 72 74 61 62 6c 65 0a | 58 74 68 65 6e 0a 58 20 |ortable.|Xthen.X |
|00001f70| 20 20 20 53 49 5a 45 3d | 60 67 72 65 70 20 61 76 | SIZE=|`grep av|
|00001f80| 61 69 6c 20 2f 75 73 72 | 2f 61 64 6d 2f 6d 65 73 |ail /usr|/adm/mes|
|00001f90| 73 61 67 65 73 20 7c 20 | 73 65 64 20 2d 6e 20 27 |sages | |sed -n '|
|00001fa0| 24 73 2f 2e 2a 5b 20 09 | 5d 2f 2f 70 27 60 0a 58 |$s/.*[ .|]//p'`.X|
|00001fb0| 66 69 0a 58 0a 58 69 66 | 20 74 65 73 74 20 30 24 |fi.X.Xif| test 0$|
|00001fc0| 53 49 5a 45 20 2d 6c 65 | 20 30 09 09 23 20 6e 6f |SIZE -le| 0..# no|
|00001fd0| 20 53 49 5a 45 20 69 6e | 20 2f 75 73 72 2f 61 64 | SIZE in| /usr/ad|
|00001fe0| 6d 2f 6d 65 73 73 61 67 | 65 73 0a 58 74 68 65 6e |m/messag|es.Xthen|
|00001ff0| 0a 58 20 20 20 20 69 66 | 20 74 65 73 74 20 2d 72 |.X if| test -r|
|00002000| 20 24 4b 4d 45 4d 09 09 | 23 20 52 65 61 64 61 62 | $KMEM..|# Readab|
|00002010| 6c 65 20 4b 4d 45 4d 0a | 58 20 20 20 20 74 68 65 |le KMEM.|X the|
|00002020| 6e 0a 58 09 69 66 20 74 | 65 73 74 20 2d 6e 20 22 |n.X.if t|est -n "|
|00002030| 24 55 4e 49 58 22 0a 58 | 09 74 68 65 6e 0a 58 09 |$UNIX".X|.then.X.|
|00002040| 20 20 20 20 3a 20 55 73 | 65 72 20 6d 75 73 74 20 | : Us|er must |
|00002050| 68 61 76 65 20 73 70 65 | 63 69 66 69 65 64 20 69 |have spe|cified i|
|00002060| 74 20 61 6c 72 65 61 64 | 79 2e 0a 58 09 65 6c 69 |t alread|y..X.eli|
|00002070| 66 20 74 65 73 74 20 2d | 72 20 2f 76 6d 75 6e 69 |f test -|r /vmuni|
|00002080| 78 0a 58 09 74 68 65 6e | 0a 58 09 20 20 20 20 55 |x.X.then|.X. U|
|00002090| 4e 49 58 3d 2f 76 6d 75 | 6e 69 78 0a 58 09 20 20 |NIX=/vmu|nix.X. |
|000020a0| 20 20 43 4c 49 43 4b 53 | 49 5a 45 3d 35 31 32 09 | CLICKS|IZE=512.|
|000020b0| 23 20 50 72 6f 62 61 62 | 6c 79 20 56 41 58 0a 58 |# Probab|ly VAX.X|
|000020c0| 09 65 6c 69 66 20 74 65 | 73 74 20 2d 72 20 2f 65 |.elif te|st -r /e|
|000020d0| 64 69 74 69 6f 6e 37 0a | 58 09 74 68 65 6e 0a 58 |dition7.|X.then.X|
|000020e0| 09 20 20 20 20 55 4e 49 | 58 3d 2f 65 64 69 74 69 |. UNI|X=/editi|
|000020f0| 6f 6e 37 0a 58 09 20 20 | 20 20 43 4c 49 43 4b 53 |on7.X. | CLICKS|
|00002100| 49 5a 45 3d 32 30 34 38 | 09 23 20 50 65 72 6b 69 |IZE=2048|.# Perki|
|00002110| 6e 2d 45 6c 6d 65 72 3a | 20 63 68 61 6e 67 65 20 |n-Elmer:| change |
|00002120| 74 6f 20 34 30 39 36 20 | 6f 6e 20 61 20 33 32 30 |to 4096 |on a 320|
|00002130| 35 0a 58 09 65 6c 69 66 | 20 74 65 73 74 20 2d 72 |5.X.elif| test -r|
|00002140| 20 2f 75 6e 69 78 0a 58 | 09 74 68 65 6e 0a 58 09 | /unix.X|.then.X.|
|00002150| 20 20 20 20 55 4e 49 58 | 3d 2f 75 6e 69 78 09 09 | UNIX|=/unix..|
|00002160| 23 20 43 6f 75 6c 64 20 | 62 65 20 61 6e 79 74 68 |# Could |be anyth|
|00002170| 69 6e 67 0a 58 09 66 69 | 0a 58 09 69 66 20 74 65 |ing.X.fi|.X.if te|
|00002180| 73 74 20 2d 6e 20 22 24 | 55 4e 49 58 22 0a 58 09 |st -n "$|UNIX".X.|
|00002190| 74 68 65 6e 0a 58 09 20 | 20 20 20 53 49 5a 45 3d |then.X. | SIZE=|
|000021a0| 60 65 63 68 6f 20 6d 61 | 78 6d 65 6d 2f 44 20 7c |`echo ma|xmem/D ||
|000021b0| 20 61 64 62 20 24 55 4e | 49 58 20 24 4b 4d 45 4d | adb $UN|IX $KMEM|
|000021c0| 20 7c 20 73 65 64 20 2d | 6e 20 27 24 73 2f 2e 2a | | sed -|n '$s/.*|
|000021d0| 5b 20 09 5d 2f 2f 70 27 | 60 0a 58 09 20 20 20 20 |[ .]//p'|`.X. |
|000021e0| 69 66 20 74 65 73 74 20 | 30 24 53 49 5a 45 20 2d |if test |0$SIZE -|
|000021f0| 6c 65 20 30 0a 58 09 20 | 20 20 20 74 68 65 6e 0a |le 0.X. | then.|
|00002200| 58 09 09 53 49 5a 45 3d | 60 65 63 68 6f 20 70 68 |X..SIZE=|`echo ph|
|00002210| 79 73 6d 65 6d 2f 44 20 | 7c 20 61 64 62 20 24 55 |ysmem/D || adb $U|
|00002220| 4e 49 58 20 24 4b 4d 45 | 4d 20 7c 20 73 65 64 20 |NIX $KME|M | sed |
|00002230| 2d 6e 20 27 24 73 2f 2e | 2a 5b 20 09 5d 2f 2f 70 |-n '$s/.|*[ .]//p|
|00002240| 27 60 0a 58 09 20 20 20 | 20 66 69 0a 58 09 20 20 |'`.X. | fi.X. |
|00002250| 20 20 53 49 5a 45 3d 60 | 65 78 70 72 20 30 24 53 | SIZE=`|expr 0$S|
|00002260| 49 5a 45 20 27 2a 27 20 | 24 43 4c 49 43 4b 53 49 |IZE '*' |$CLICKSI|
|00002270| 5a 45 60 0a 58 09 66 69 | 0a 58 20 20 20 20 66 69 |ZE`.X.fi|.X fi|
|00002280| 0a 58 66 69 0a 58 0a 58 | 63 61 73 65 20 24 55 4e |.Xfi.X.X|case $UN|
|00002290| 49 58 20 69 6e 0a 58 20 | 20 20 20 2f 76 6d 75 6e |IX in.X | /vmun|
|000022a0| 69 78 29 09 09 23 20 41 | 73 73 75 6d 65 20 34 2e |ix)..# A|ssume 4.|
|000022b0| 32 62 73 64 3a 20 63 68 | 65 63 6b 20 66 6f 72 20 |2bsd: ch|eck for |
|000022c0| 72 65 73 6f 75 72 63 65 | 20 6c 69 6d 69 74 73 0a |resource| limits.|
|000022d0| 58 09 4d 41 58 53 49 5a | 45 3d 60 63 73 68 20 2d |X.MAXSIZ|E=`csh -|
|000022e0| 63 20 6c 69 6d 69 74 20 | 7c 20 61 77 6b 20 27 42 |c limit || awk 'B|
|000022f0| 45 47 49 4e 09 7b 20 4d | 41 58 53 49 5a 45 20 3d |EGIN.{ M|AXSIZE =|
|00002300| 20 31 30 30 30 30 30 30 | 20 7d 0a 58 2f 64 61 74 | 1000000| }.X/dat|
|00002310| 61 73 69 7a 65 7c 6d 65 | 6d 6f 72 79 75 73 65 2f |asize|me|moryuse/|
|00002320| 20 26 26 20 4e 46 20 3d | 3d 20 33 09 7b 20 69 66 | && NF =|= 3.{ if|
|00002330| 20 28 24 32 20 3c 20 4d | 41 58 53 49 5a 45 29 20 | ($2 < M|AXSIZE) |
|00002340| 4d 41 58 53 49 5a 45 20 | 3d 20 24 32 20 7d 0a 58 |MAXSIZE |= $2 }.X|
|00002350| 45 4e 44 09 7b 20 70 72 | 69 6e 74 20 4d 41 58 53 |END.{ pr|int MAXS|
|00002360| 49 5a 45 20 2a 20 31 30 | 30 30 20 7d 27 60 0a 58 |IZE * 10|00 }'`.X|
|00002370| 09 69 66 20 74 65 73 74 | 20 24 4d 41 58 53 49 5a |.if test| $MAXSIZ|
|00002380| 45 20 2d 6c 74 20 24 53 | 49 5a 45 0a 58 09 74 68 |E -lt $S|IZE.X.th|
|00002390| 65 6e 0a 58 09 20 20 20 | 20 53 49 5a 45 3d 24 4d |en.X. | SIZE=$M|
|000023a0| 41 58 53 49 5a 45 0a 58 | 09 66 69 0a 58 09 3b 3b |AXSIZE.X|.fi.X.;;|
|000023b0| 0a 58 65 73 61 63 0a 58 | 0a 58 69 66 20 74 65 73 |.Xesac.X|.Xif tes|
|000023c0| 74 20 30 24 53 49 5a 45 | 20 2d 6c 65 20 30 0a 58 |t 0$SIZE| -le 0.X|
|000023d0| 74 68 65 6e 0a 58 20 20 | 20 20 65 63 68 6f 20 30 |then.X | echo 0|
|000023e0| 3b 65 78 69 74 20 31 0a | 58 65 6c 73 65 0a 58 20 |;exit 1.|Xelse.X |
|000023f0| 20 20 20 65 63 68 6f 20 | 24 53 49 5a 45 0a 58 66 | echo |$SIZE.Xf|
|00002400| 69 0a 45 4e 44 5f 4f 46 | 5f 46 49 4c 45 0a 69 66 |i.END_OF|_FILE.if|
|00002410| 20 74 65 73 74 20 31 37 | 34 38 20 2d 6e 65 20 60 | test 17|48 -ne `|
|00002420| 77 63 20 2d 63 20 3c 27 | 75 73 65 72 6d 65 6d 27 |wc -c <'|usermem'|
|00002430| 60 3b 20 74 68 65 6e 0a | 20 20 20 20 65 63 68 6f |`; then.| echo|
|00002440| 20 73 68 61 72 3a 20 5c | 22 27 75 73 65 72 6d 65 | shar: \|"'userme|
|00002450| 6d 27 5c 22 20 75 6e 70 | 61 63 6b 65 64 20 77 69 |m'\" unp|acked wi|
|00002460| 74 68 20 77 72 6f 6e 67 | 20 73 69 7a 65 21 0a 66 |th wrong| size!.f|
|00002470| 69 0a 63 68 6d 6f 64 20 | 2b 78 20 27 75 73 65 72 |i.chmod |+x 'user|
|00002480| 6d 65 6d 27 0a 23 20 65 | 6e 64 20 6f 66 20 27 75 |mem'.# e|nd of 'u|
|00002490| 73 65 72 6d 65 6d 27 0a | 66 69 0a 69 66 20 74 65 |sermem'.|fi.if te|
|000024a0| 73 74 20 2d 66 20 27 63 | 6f 6d 70 72 65 73 73 2e |st -f 'c|ompress.|
|000024b0| 31 27 20 2d 61 20 22 24 | 7b 31 7d 22 20 21 3d 20 |1' -a "$|{1}" != |
|000024c0| 22 2d 63 22 20 3b 20 74 | 68 65 6e 20 0a 20 20 65 |"-c" ; t|hen . e|
|000024d0| 63 68 6f 20 73 68 61 72 | 3a 20 57 69 6c 6c 20 6e |cho shar|: Will n|
|000024e0| 6f 74 20 63 6c 6f 62 62 | 65 72 20 65 78 69 73 74 |ot clobb|er exist|
|000024f0| 69 6e 67 20 66 69 6c 65 | 20 5c 22 27 63 6f 6d 70 |ing file| \"'comp|
|00002500| 72 65 73 73 2e 31 27 5c | 22 0a 65 6c 73 65 0a 65 |ress.1'\|".else.e|
|00002510| 63 68 6f 20 73 68 61 72 | 3a 20 45 78 74 72 61 63 |cho shar|: Extrac|
|00002520| 74 69 6e 67 20 5c 22 27 | 63 6f 6d 70 72 65 73 73 |ting \"'|compress|
|00002530| 2e 31 27 5c 22 20 5c 28 | 35 33 30 36 20 63 68 61 |.1'\" \(|5306 cha|
|00002540| 72 61 63 74 65 72 73 5c | 29 0a 73 65 64 20 22 73 |racters\|).sed "s|
|00002550| 2f 5e 58 2f 2f 22 20 3e | 27 63 6f 6d 70 72 65 73 |/^X//" >|'compres|
|00002560| 73 2e 31 27 20 3c 3c 27 | 45 4e 44 5f 4f 46 5f 46 |s.1' <<'|END_OF_F|
|00002570| 49 4c 45 27 0a 58 2e 50 | 55 0a 58 2e 54 48 20 43 |ILE'.X.P|U.X.TH C|
|00002580| 4f 4d 50 52 45 53 53 20 | 31 20 6c 6f 63 61 6c 0a |OMPRESS |1 local.|
|00002590| 58 2e 53 48 20 4e 41 4d | 45 0a 58 63 6f 6d 70 72 |X.SH NAM|E.Xcompr|
|000025a0| 65 73 73 2c 20 75 6e 63 | 6f 6d 70 72 65 73 73 2c |ess, unc|ompress,|
|000025b0| 20 7a 63 61 74 20 5c 2d | 20 63 6f 6d 70 72 65 73 | zcat \-| compres|
|000025c0| 73 20 61 6e 64 20 65 78 | 70 61 6e 64 20 64 61 74 |s and ex|pand dat|
|000025d0| 61 20 28 76 65 72 73 69 | 6f 6e 20 34 2e 31 29 0a |a (versi|on 4.1).|
|000025e0| 58 2e 53 48 20 53 59 4e | 4f 50 53 49 53 0a 58 2e |X.SH SYN|OPSIS.X.|
|000025f0| 6c 6c 20 2b 38 0a 58 2e | 42 20 63 6f 6d 70 72 65 |ll +8.X.|B compre|
|00002600| 73 73 0a 58 5b 0a 58 2e | 42 20 5c 2d 66 0a 58 5d |ss.X[.X.|B \-f.X]|
|00002610| 20 5b 0a 58 2e 42 20 5c | 2d 76 0a 58 5d 20 5b 0a | [.X.B \|-v.X] [.|
|00002620| 58 2e 42 20 5c 2d 63 0a | 58 5d 20 5b 0a 58 2e 42 |X.B \-c.|X] [.X.B|
|00002630| 20 5c 2d 56 0a 58 5d 20 | 5b 0a 58 2e 42 20 5c 2d | \-V.X] |[.X.B \-|
|00002640| 72 0a 58 5d 20 5b 0a 58 | 2e 42 20 5c 2d 62 0a 58 |r.X] [.X|.B \-b.X|
|00002650| 2e 49 20 62 69 74 73 0a | 58 5d 20 5b 0a 58 2e 49 |.I bits.|X] [.X.I|
|00002660| 20 22 6e 61 6d 65 20 5c | 26 2e 2e 2e 22 0a 58 5d | "name \|&...".X]|
|00002670| 0a 58 2e 6c 6c 20 2d 38 | 0a 58 2e 62 72 0a 58 2e |.X.ll -8|.X.br.X.|
|00002680| 42 20 75 6e 63 6f 6d 70 | 72 65 73 73 0a 58 5b 0a |B uncomp|ress.X[.|
|00002690| 58 2e 42 20 5c 2d 66 0a | 58 5d 20 5b 0a 58 2e 42 |X.B \-f.|X] [.X.B|
|000026a0| 20 5c 2d 76 0a 58 5d 20 | 5b 0a 58 2e 42 20 5c 2d | \-v.X] |[.X.B \-|
|000026b0| 63 0a 58 5d 20 5b 0a 58 | 2e 42 20 5c 2d 56 0a 58 |c.X] [.X|.B \-V.X|
|000026c0| 5d 20 5b 0a 58 2e 49 20 | 22 6e 61 6d 65 20 5c 26 |] [.X.I |"name \&|
|000026d0| 2e 2e 2e 22 0a 58 5d 0a | 58 2e 62 72 0a 58 2e 42 |...".X].|X.br.X.B|
|000026e0| 20 7a 63 61 74 0a 58 5b | 0a 58 2e 42 20 5c 2d 56 | zcat.X[|.X.B \-V|
|000026f0| 0a 58 5d 20 5b 0a 58 2e | 49 20 22 6e 61 6d 65 20 |.X] [.X.|I "name |
|00002700| 5c 26 2e 2e 2e 22 0a 58 | 5d 0a 58 2e 53 48 20 44 |\&...".X|].X.SH D|
|00002710| 45 53 43 52 49 50 54 49 | 4f 4e 0a 58 2e 49 20 43 |ESCRIPTI|ON.X.I C|
|00002720| 6f 6d 70 72 65 73 73 0a | 58 72 65 64 75 63 65 73 |ompress.|Xreduces|
|00002730| 20 74 68 65 20 73 69 7a | 65 20 6f 66 20 74 68 65 | the siz|e of the|
|00002740| 20 6e 61 6d 65 64 20 66 | 69 6c 65 73 20 75 73 69 | named f|iles usi|
|00002750| 6e 67 20 61 64 61 70 74 | 69 76 65 20 4c 65 6d 70 |ng adapt|ive Lemp|
|00002760| 65 6c 2d 5a 69 76 20 63 | 6f 64 69 6e 67 2e 0a 58 |el-Ziv c|oding..X|
|00002770| 57 68 65 6e 65 76 65 72 | 20 70 6f 73 73 69 62 6c |Whenever| possibl|
|00002780| 65 2c 0a 58 65 61 63 68 | 20 66 69 6c 65 20 69 73 |e,.Xeach| file is|
|00002790| 20 72 65 70 6c 61 63 65 | 64 20 62 79 20 6f 6e 65 | replace|d by one|
|000027a0| 20 77 69 74 68 20 74 68 | 65 20 65 78 74 65 6e 73 | with th|e extens|
|000027b0| 69 6f 6e 0a 58 2e 42 20 | 22 5c 26 2e 5a 2c 22 0a |ion.X.B |"\&.Z,".|
|000027c0| 58 77 68 69 6c 65 20 6b | 65 65 70 69 6e 67 20 74 |Xwhile k|eeping t|
|000027d0| 68 65 20 73 61 6d 65 20 | 6f 77 6e 65 72 73 68 69 |he same |ownershi|
|000027e0| 70 20 6d 6f 64 65 73 2c | 20 61 63 63 65 73 73 20 |p modes,| access |
|000027f0| 61 6e 64 20 6d 6f 64 69 | 66 69 63 61 74 69 6f 6e |and modi|fication|
|00002800| 20 74 69 6d 65 73 2e 0a | 58 49 66 20 6e 6f 20 66 | times..|XIf no f|
|00002810| 69 6c 65 73 20 61 72 65 | 20 73 70 65 63 69 66 69 |iles are| specifi|
|00002820| 65 64 2c 20 74 68 65 20 | 73 74 61 6e 64 61 72 64 |ed, the |standard|
|00002830| 20 69 6e 70 75 74 20 69 | 73 20 63 6f 6d 70 72 65 | input i|s compre|
|00002840| 73 73 65 64 20 74 6f 20 | 74 68 65 0a 58 73 74 61 |ssed to |the.Xsta|
|00002850| 6e 64 61 72 64 20 6f 75 | 74 70 75 74 2e 0a 58 43 |ndard ou|tput..XC|
|00002860| 6f 6d 70 72 65 73 73 65 | 64 20 66 69 6c 65 73 20 |ompresse|d files |
|00002870| 63 61 6e 20 62 65 20 72 | 65 73 74 6f 72 65 64 20 |can be r|estored |
|00002880| 74 6f 20 74 68 65 69 72 | 20 6f 72 69 67 69 6e 61 |to their| origina|
|00002890| 6c 20 66 6f 72 6d 20 75 | 73 69 6e 67 0a 58 2e 49 |l form u|sing.X.I|
|000028a0| 20 75 6e 63 6f 6d 70 72 | 65 73 73 0a 58 6f 72 0a | uncompr|ess.Xor.|
|000028b0| 58 2e 49 20 7a 63 61 74 | 2e 0a 58 2e 50 50 0a 58 |X.I zcat|..X.PP.X|
|000028c0| 54 68 65 0a 58 2e 42 20 | 5c 2d 66 0a 58 6f 70 74 |The.X.B |\-f.Xopt|
|000028d0| 69 6f 6e 20 77 69 6c 6c | 20 66 6f 72 63 65 20 63 |ion will| force c|
|000028e0| 6f 6d 70 72 65 73 73 69 | 6f 6e 20 6f 66 0a 58 2e |ompressi|on of.X.|
|000028f0| 49 20 6e 61 6d 65 2e 0a | 58 49 66 0a 58 2e 42 20 |I name..|XIf.X.B |
|00002900| 5c 2d 66 0a 58 69 73 20 | 6e 6f 74 20 67 69 76 65 |\-f.Xis |not give|
|00002910| 6e 20 61 6e 64 0a 58 2e | 49 20 63 6f 6d 70 72 65 |n and.X.|I compre|
|00002920| 73 73 0a 58 69 73 20 72 | 75 6e 20 69 6e 20 74 68 |ss.Xis r|un in th|
|00002930| 65 20 66 6f 72 65 67 72 | 6f 75 6e 64 2c 0a 58 74 |e foregr|ound,.Xt|
|00002940| 68 65 20 75 73 65 72 20 | 69 73 20 70 72 6f 6d 70 |he user |is promp|
|00002950| 74 65 64 20 61 73 20 74 | 6f 20 77 68 65 74 68 65 |ted as t|o whethe|
|00002960| 72 20 61 6e 20 65 78 69 | 73 74 69 6e 67 20 66 69 |r an exi|sting fi|
|00002970| 6c 65 20 73 68 6f 75 6c | 64 20 62 65 20 6f 76 65 |le shoul|d be ove|
|00002980| 72 77 72 69 74 74 65 6e | 2e 0a 58 2e 50 50 0a 58 |rwritten|..X.PP.X|
|00002990| 54 68 65 0a 58 2e 42 20 | 5c 2d 63 0a 58 6f 70 74 |The.X.B |\-c.Xopt|
|000029a0| 69 6f 6e 20 6d 61 6b 65 | 73 0a 58 2e 49 20 63 6f |ion make|s.X.I co|
|000029b0| 6d 70 72 65 73 73 2f 75 | 6e 63 6f 6d 70 72 65 73 |mpress/u|ncompres|
|000029c0| 73 0a 58 77 72 69 74 65 | 20 74 6f 20 74 68 65 20 |s.Xwrite| to the |
|000029d0| 73 74 61 6e 64 61 72 64 | 20 6f 75 74 70 75 74 3b |standard| output;|
|000029e0| 20 6e 6f 20 66 69 6c 65 | 73 20 61 72 65 20 63 68 | no file|s are ch|
|000029f0| 61 6e 67 65 64 2e 0a 58 | 54 68 65 20 6e 6f 6e 64 |anged..X|The nond|
|00002a00| 65 73 74 72 75 63 74 69 | 76 65 20 62 65 68 61 76 |estructi|ve behav|
|00002a10| 69 6f 72 20 6f 66 0a 58 | 2e 49 20 7a 63 61 74 0a |ior of.X|.I zcat.|
|00002a20| 58 69 73 20 69 64 65 6e | 74 69 63 61 6c 20 74 6f |Xis iden|tical to|
|00002a30| 20 74 68 61 74 20 6f 66 | 0a 58 2e 49 20 75 6e 63 | that of|.X.I unc|
|00002a40| 6f 6d 70 72 65 73 73 0a | 58 2e 42 20 5c 2d 63 2e |ompress.|X.B \-c.|
|00002a50| 0a 58 2e 50 50 0a 58 49 | 66 20 74 68 65 0a 58 2e |.X.PP.XI|f the.X.|
|00002a60| 42 20 5c 2d 72 0a 58 66 | 6c 61 67 20 69 73 20 73 |B \-r.Xf|lag is s|
|00002a70| 70 65 63 69 66 69 65 64 | 2c 20 0a 58 2e 49 20 63 |pecified|, .X.I c|
|00002a80| 6f 6d 70 72 65 73 73 0a | 58 77 69 6c 6c 20 6f 70 |ompress.|Xwill op|
|00002a90| 65 72 61 74 65 20 72 65 | 63 75 72 73 69 76 65 6c |erate re|cursivel|
|00002aa0| 79 2e 20 49 66 20 61 6e | 79 20 6f 66 20 74 68 65 |y. If an|y of the|
|00002ab0| 20 66 69 6c 65 20 6e 61 | 6d 65 73 20 73 70 65 63 | file na|mes spec|
|00002ac0| 69 66 69 65 64 20 6f 6e | 20 74 68 65 20 63 6f 6d |ified on| the com|
|00002ad0| 6d 61 6e 64 0a 58 6c 69 | 6e 65 20 61 72 65 20 64 |mand.Xli|ne are d|
|00002ae0| 69 72 65 63 74 6f 72 69 | 65 73 2c 20 0a 58 2e 49 |irectori|es, .X.I|
|00002af0| 20 63 6f 6d 70 72 65 73 | 73 0a 58 77 69 6c 6c 20 | compres|s.Xwill |
|00002b00| 64 65 73 63 65 6e 64 20 | 69 6e 74 6f 20 74 68 65 |descend |into the|
|00002b10| 20 64 69 72 65 63 74 6f | 72 79 20 61 6e 64 20 63 | directo|ry and c|
|00002b20| 6f 6d 70 72 65 73 73 20 | 61 6c 6c 20 74 68 65 20 |ompress |all the |
|00002b30| 66 69 6c 65 73 20 69 74 | 20 66 69 6e 64 73 20 74 |files it| finds t|
|00002b40| 68 65 72 65 2e 0a 58 2e | 50 50 0a 58 2e 49 20 43 |here..X.|PP.X.I C|
|00002b50| 6f 6d 70 72 65 73 73 0a | 58 75 73 65 73 20 74 68 |ompress.|Xuses th|
|00002b60| 65 20 6d 6f 64 69 66 69 | 65 64 20 4c 65 6d 70 65 |e modifi|ed Lempe|
|00002b70| 6c 2d 5a 69 76 20 61 6c | 67 6f 72 69 74 68 6d 20 |l-Ziv al|gorithm |
|00002b80| 70 6f 70 75 6c 61 72 69 | 7a 65 64 20 69 6e 0a 58 |populari|zed in.X|
|00002b90| 22 41 20 54 65 63 68 6e | 69 71 75 65 20 66 6f 72 |"A Techn|ique for|
|00002ba0| 20 48 69 67 68 20 50 65 | 72 66 6f 72 6d 61 6e 63 | High Pe|rformanc|
|00002bb0| 65 20 44 61 74 61 20 43 | 6f 6d 70 72 65 73 73 69 |e Data C|ompressi|
|00002bc0| 6f 6e 22 2c 0a 58 54 65 | 72 72 79 20 41 2e 20 57 |on",.XTe|rry A. W|
|00002bd0| 65 6c 63 68 2c 0a 58 2e | 49 20 22 49 45 45 45 20 |elch,.X.|I "IEEE |
|00002be0| 43 6f 6d 70 75 74 65 72 | 2c 22 0a 58 76 6f 6c 2e |Computer|,".Xvol.|
|00002bf0| 20 31 37 2c 20 6e 6f 2e | 20 36 20 28 4a 75 6e 65 | 17, no.| 6 (June|
|00002c00| 20 31 39 38 34 29 2c 20 | 70 70 2e 20 38 2d 31 39 | 1984), |pp. 8-19|
|00002c10| 2e 0a 58 43 6f 6d 6d 6f | 6e 20 73 75 62 73 74 72 |..XCommo|n substr|
|00002c20| 69 6e 67 73 20 69 6e 20 | 74 68 65 20 66 69 6c 65 |ings in |the file|
|00002c30| 20 61 72 65 20 66 69 72 | 73 74 20 72 65 70 6c 61 | are fir|st repla|
|00002c40| 63 65 64 20 62 79 20 39 | 2d 62 69 74 20 63 6f 64 |ced by 9|-bit cod|
|00002c50| 65 73 20 32 35 37 20 61 | 6e 64 20 75 70 2e 0a 58 |es 257 a|nd up..X|
|00002c60| 57 68 65 6e 20 63 6f 64 | 65 20 35 31 32 20 69 73 |When cod|e 512 is|
|00002c70| 20 72 65 61 63 68 65 64 | 2c 20 74 68 65 20 61 6c | reached|, the al|
|00002c80| 67 6f 72 69 74 68 6d 20 | 73 77 69 74 63 68 65 73 |gorithm |switches|
|00002c90| 20 74 6f 20 31 30 2d 62 | 69 74 20 63 6f 64 65 73 | to 10-b|it codes|
|00002ca0| 20 61 6e 64 0a 58 63 6f | 6e 74 69 6e 75 65 73 20 | and.Xco|ntinues |
|00002cb0| 74 6f 20 75 73 65 20 6d | 6f 72 65 20 62 69 74 73 |to use m|ore bits|
|00002cc0| 20 75 6e 74 69 6c 20 74 | 68 65 0a 58 6c 69 6d 69 | until t|he.Xlimi|
|00002cd0| 74 20 73 70 65 63 69 66 | 69 65 64 20 62 79 20 74 |t specif|ied by t|
|00002ce0| 68 65 0a 58 2e 42 20 5c | 2d 62 0a 58 66 6c 61 67 |he.X.B \|-b.Xflag|
|00002cf0| 20 69 73 20 72 65 61 63 | 68 65 64 20 28 64 65 66 | is reac|hed (def|
|00002d00| 61 75 6c 74 20 31 36 29 | 2e 0a 58 2e 49 20 42 69 |ault 16)|..X.I Bi|
|00002d10| 74 73 0a 58 6d 75 73 74 | 20 62 65 20 62 65 74 77 |ts.Xmust| be betw|
|00002d20| 65 65 6e 20 39 20 61 6e | 64 20 31 36 2e 20 20 54 |een 9 an|d 16. T|
|00002d30| 68 65 20 64 65 66 61 75 | 6c 74 20 63 61 6e 20 62 |he defau|lt can b|
|00002d40| 65 20 63 68 61 6e 67 65 | 64 20 69 6e 20 74 68 65 |e change|d in the|
|00002d50| 20 73 6f 75 72 63 65 20 | 74 6f 20 61 6c 6c 6f 77 | source |to allow|
|00002d60| 0a 58 2e 49 20 63 6f 6d | 70 72 65 73 73 0a 58 74 |.X.I com|press.Xt|
|00002d70| 6f 20 62 65 20 72 75 6e | 20 6f 6e 20 61 20 73 6d |o be run| on a sm|
|00002d80| 61 6c 6c 65 72 20 6d 61 | 63 68 69 6e 65 2e 0a 58 |aller ma|chine..X|
|00002d90| 2e 50 50 0a 58 41 66 74 | 65 72 20 74 68 65 0a 58 |.PP.XAft|er the.X|
|00002da0| 2e 49 20 62 69 74 73 0a | 58 6c 69 6d 69 74 20 69 |.I bits.|Xlimit i|
|00002db0| 73 20 61 74 74 61 69 6e | 65 64 2c 0a 58 2e 49 20 |s attain|ed,.X.I |
|00002dc0| 63 6f 6d 70 72 65 73 73 | 0a 58 70 65 72 69 6f 64 |compress|.Xperiod|
|00002dd0| 69 63 61 6c 6c 79 20 63 | 68 65 63 6b 73 20 74 68 |ically c|hecks th|
|00002de0| 65 20 63 6f 6d 70 72 65 | 73 73 69 6f 6e 20 72 61 |e compre|ssion ra|
|00002df0| 74 69 6f 2e 20 20 49 66 | 20 69 74 20 69 73 20 69 |tio. If| it is i|
|00002e00| 6e 63 72 65 61 73 69 6e | 67 2c 0a 58 2e 49 20 63 |ncreasin|g,.X.I c|
|00002e10| 6f 6d 70 72 65 73 73 0a | 58 63 6f 6e 74 69 6e 75 |ompress.|Xcontinu|
|00002e20| 65 73 20 74 6f 20 75 73 | 65 20 74 68 65 20 65 78 |es to us|e the ex|
|00002e30| 69 73 74 69 6e 67 20 63 | 6f 64 65 20 64 69 63 74 |isting c|ode dict|
|00002e40| 69 6f 6e 61 72 79 2e 20 | 20 48 6f 77 65 76 65 72 |ionary. | However|
|00002e50| 2c 0a 58 69 66 20 74 68 | 65 20 63 6f 6d 70 72 65 |,.Xif th|e compre|
|00002e60| 73 73 69 6f 6e 20 72 61 | 74 69 6f 20 64 65 63 72 |ssion ra|tio decr|
|00002e70| 65 61 73 65 73 2c 0a 58 | 2e 49 20 63 6f 6d 70 72 |eases,.X|.I compr|
|00002e80| 65 73 73 0a 58 64 69 73 | 63 61 72 64 73 20 74 68 |ess.Xdis|cards th|
|00002e90| 65 20 74 61 62 6c 65 20 | 6f 66 20 73 75 62 73 74 |e table |of subst|
|00002ea0| 72 69 6e 67 73 20 61 6e | 64 20 72 65 62 75 69 6c |rings an|d rebuil|
|00002eb0| 64 73 20 69 74 20 66 72 | 6f 6d 20 73 63 72 61 74 |ds it fr|om scrat|
|00002ec0| 63 68 2e 20 20 54 68 69 | 73 20 61 6c 6c 6f 77 73 |ch. Thi|s allows|
|00002ed0| 0a 58 74 68 65 20 61 6c | 67 6f 72 69 74 68 6d 20 |.Xthe al|gorithm |
|00002ee0| 74 6f 20 61 64 61 70 74 | 20 74 6f 20 74 68 65 20 |to adapt| to the |
|00002ef0| 6e 65 78 74 20 22 62 6c | 6f 63 6b 22 20 6f 66 20 |next "bl|ock" of |
|00002f00| 74 68 65 20 66 69 6c 65 | 2e 0a 58 2e 50 50 0a 58 |the file|..X.PP.X|
|00002f10| 4e 6f 74 65 20 74 68 61 | 74 20 74 68 65 0a 58 2e |Note tha|t the.X.|
|00002f20| 42 20 5c 2d 62 0a 58 66 | 6c 61 67 20 69 73 20 6f |B \-b.Xf|lag is o|
|00002f30| 6d 69 74 74 65 64 20 66 | 6f 72 0a 58 2e 49 20 75 |mitted f|or.X.I u|
|00002f40| 6e 63 6f 6d 70 72 65 73 | 73 2c 0a 58 73 69 6e 63 |ncompres|s,.Xsinc|
|00002f50| 65 20 74 68 65 20 0a 58 | 2e 49 20 62 69 74 73 0a |e the .X|.I bits.|
|00002f60| 58 70 61 72 61 6d 65 74 | 65 72 20 73 70 65 63 69 |Xparamet|er speci|
|00002f70| 66 69 65 64 20 64 75 72 | 69 6e 67 20 63 6f 6d 70 |fied dur|ing comp|
|00002f80| 72 65 73 73 69 6f 6e 0a | 58 69 73 20 65 6e 63 6f |ression.|Xis enco|
|00002f90| 64 65 64 20 77 69 74 68 | 69 6e 20 74 68 65 20 6f |ded with|in the o|
|00002fa0| 75 74 70 75 74 2c 20 61 | 6c 6f 6e 67 20 77 69 74 |utput, a|long wit|
|00002fb0| 68 0a 58 61 20 6d 61 67 | 69 63 20 6e 75 6d 62 65 |h.Xa mag|ic numbe|
|00002fc0| 72 20 74 6f 20 65 6e 73 | 75 72 65 20 74 68 61 74 |r to ens|ure that|
|00002fd0| 20 6e 65 69 74 68 65 72 | 20 64 65 63 6f 6d 70 72 | neither| decompr|
|00002fe0| 65 73 73 69 6f 6e 20 6f | 66 20 72 61 6e 64 6f 6d |ession o|f random|
|00002ff0| 20 64 61 74 61 20 6e 6f | 72 0a 58 72 65 63 6f 6d | data no|r.Xrecom|
|00003000| 70 72 65 73 73 69 6f 6e | 20 6f 66 20 63 6f 6d 70 |pression| of comp|
|00003010| 72 65 73 73 65 64 20 64 | 61 74 61 20 69 73 20 61 |ressed d|ata is a|
|00003020| 74 74 65 6d 70 74 65 64 | 2e 20 0a 58 2e 50 50 0a |ttempted|. .X.PP.|
|00003030| 58 2e 6e 65 20 38 0a 58 | 54 68 65 20 61 6d 6f 75 |X.ne 8.X|The amou|
|00003040| 6e 74 20 6f 66 20 63 6f | 6d 70 72 65 73 73 69 6f |nt of co|mpressio|
|00003050| 6e 20 6f 62 74 61 69 6e | 65 64 20 64 65 70 65 6e |n obtain|ed depen|
|00003060| 64 73 20 6f 6e 20 74 68 | 65 20 73 69 7a 65 20 6f |ds on th|e size o|
|00003070| 66 20 74 68 65 0a 58 69 | 6e 70 75 74 2c 20 74 68 |f the.Xi|nput, th|
|00003080| 65 20 6e 75 6d 62 65 72 | 20 6f 66 0a 58 2e 49 20 |e number| of.X.I |
|00003090| 62 69 74 73 0a 58 70 65 | 72 20 63 6f 64 65 2c 20 |bits.Xpe|r code, |
|000030a0| 61 6e 64 20 74 68 65 20 | 64 69 73 74 72 69 62 75 |and the |distribu|
|000030b0| 74 69 6f 6e 20 6f 66 20 | 63 6f 6d 6d 6f 6e 20 73 |tion of |common s|
|000030c0| 75 62 73 74 72 69 6e 67 | 73 2e 0a 58 54 79 70 69 |ubstring|s..XTypi|
|000030d0| 63 61 6c 6c 79 2c 20 74 | 65 78 74 20 73 75 63 68 |cally, t|ext such|
|000030e0| 20 61 73 20 73 6f 75 72 | 63 65 20 63 6f 64 65 20 | as sour|ce code |
|000030f0| 6f 72 20 45 6e 67 6c 69 | 73 68 0a 58 69 73 20 72 |or Engli|sh.Xis r|
|00003100| 65 64 75 63 65 64 20 62 | 79 20 35 30 5c 2d 36 30 |educed b|y 50\-60|
|00003110| 25 2e 0a 58 43 6f 6d 70 | 72 65 73 73 69 6f 6e 20 |%..XComp|ression |
|00003120| 69 73 20 67 65 6e 65 72 | 61 6c 6c 79 20 6d 75 63 |is gener|ally muc|
|00003130| 68 20 62 65 74 74 65 72 | 20 74 68 61 6e 20 74 68 |h better| than th|
|00003140| 61 74 20 61 63 68 69 65 | 76 65 64 20 62 79 0a 58 |at achie|ved by.X|
|00003150| 48 75 66 66 6d 61 6e 20 | 63 6f 64 69 6e 67 20 28 |Huffman |coding (|
|00003160| 61 73 20 75 73 65 64 20 | 69 6e 0a 58 2e 49 52 20 |as used |in.X.IR |
|00003170| 70 61 63 6b 20 29 2c 0a | 58 6f 72 20 61 64 61 70 |pack ),.|Xor adap|
|00003180| 74 69 76 65 20 48 75 66 | 66 6d 61 6e 20 63 6f 64 |tive Huf|fman cod|
|00003190| 69 6e 67 0a 58 2e 52 49 | 20 28 20 63 6f 6d 70 61 |ing.X.RI| ( compa|
|000031a0| 63 74 20 29 2c 0a 58 61 | 6e 64 20 74 61 6b 65 73 |ct ),.Xa|nd takes|
|000031b0| 20 6c 65 73 73 20 74 69 | 6d 65 20 74 6f 20 63 6f | less ti|me to co|
|000031c0| 6d 70 75 74 65 2e 0a 58 | 2e 50 50 0a 58 55 6e 64 |mpute..X|.PP.XUnd|
|000031d0| 65 72 20 74 68 65 0a 58 | 2e 42 20 5c 2d 76 0a 58 |er the.X|.B \-v.X|
|000031e0| 6f 70 74 69 6f 6e 2c 0a | 58 61 20 6d 65 73 73 61 |option,.|Xa messa|
|000031f0| 67 65 20 69 73 20 70 72 | 69 6e 74 65 64 20 79 69 |ge is pr|inted yi|
|00003200| 65 6c 64 69 6e 67 20 74 | 68 65 20 70 65 72 63 65 |elding t|he perce|
|00003210| 6e 74 61 67 65 20 6f 66 | 0a 58 72 65 64 75 63 74 |ntage of|.Xreduct|
|00003220| 69 6f 6e 20 66 6f 72 20 | 65 61 63 68 20 66 69 6c |ion for |each fil|
|00003230| 65 20 63 6f 6d 70 72 65 | 73 73 65 64 2e 0a 58 2e |e compre|ssed..X.|
|00003240| 50 50 0a 58 49 66 20 74 | 68 65 0a 58 2e 42 20 5c |PP.XIf t|he.X.B \|
|00003250| 2d 56 0a 58 6f 70 74 69 | 6f 6e 20 69 73 20 73 70 |-V.Xopti|on is sp|
|00003260| 65 63 69 66 69 65 64 2c | 20 74 68 65 20 63 75 72 |ecified,| the cur|
|00003270| 72 65 6e 74 20 76 65 72 | 73 69 6f 6e 20 61 6e 64 |rent ver|sion and|
|00003280| 20 63 6f 6d 70 69 6c 65 | 20 6f 70 74 69 6f 6e 73 | compile| options|
|00003290| 20 61 72 65 20 70 72 69 | 6e 74 65 64 20 6f 6e 0a | are pri|nted on.|
|000032a0| 58 73 74 64 65 72 72 2e | 0a 58 2e 50 50 0a 58 45 |Xstderr.|.X.PP.XE|
|000032b0| 78 69 74 20 73 74 61 74 | 75 73 20 69 73 20 6e 6f |xit stat|us is no|
|000032c0| 72 6d 61 6c 6c 79 20 30 | 3b 0a 58 69 66 20 74 68 |rmally 0|;.Xif th|
|000032d0| 65 20 6c 61 73 74 20 66 | 69 6c 65 20 69 73 20 6c |e last f|ile is l|
|000032e0| 61 72 67 65 72 20 61 66 | 74 65 72 20 28 61 74 74 |arger af|ter (att|
|000032f0| 65 6d 70 74 65 64 29 20 | 63 6f 6d 70 72 65 73 73 |empted) |compress|
|00003300| 69 6f 6e 2c 20 74 68 65 | 20 73 74 61 74 75 73 20 |ion, the| status |
|00003310| 69 73 20 32 3b 0a 58 69 | 66 20 61 6e 20 65 72 72 |is 2;.Xi|f an err|
|00003320| 6f 72 20 6f 63 63 75 72 | 73 2c 20 65 78 69 74 20 |or occur|s, exit |
|00003330| 73 74 61 74 75 73 20 69 | 73 20 31 2e 0a 58 2e 53 |status i|s 1..X.S|
|00003340| 48 20 22 53 45 45 20 41 | 4c 53 4f 22 0a 58 70 61 |H "SEE A|LSO".Xpa|
|00003350| 63 6b 28 31 29 2c 20 63 | 6f 6d 70 61 63 74 28 31 |ck(1), c|ompact(1|
|00003360| 29 0a 58 2e 53 48 20 22 | 44 49 41 47 4e 4f 53 54 |).X.SH "|DIAGNOST|
|00003370| 49 43 53 22 0a 58 55 73 | 61 67 65 3a 20 63 6f 6d |ICS".XUs|age: com|
|00003380| 70 72 65 73 73 20 5b 5c | 2d 64 66 76 63 56 5d 20 |press [\|-dfvcV] |
|00003390| 5b 5c 2d 62 20 6d 61 78 | 62 69 74 73 5d 20 5b 66 |[\-b max|bits] [f|
|000033a0| 69 6c 65 20 2e 2e 2e 5d | 0a 58 2e 69 6e 20 2b 38 |ile ...]|.X.in +8|
|000033b0| 0a 58 49 6e 76 61 6c 69 | 64 20 6f 70 74 69 6f 6e |.XInvali|d option|
|000033c0| 73 20 77 65 72 65 20 73 | 70 65 63 69 66 69 65 64 |s were s|pecified|
|000033d0| 20 6f 6e 20 74 68 65 20 | 63 6f 6d 6d 61 6e 64 20 | on the |command |
|000033e0| 6c 69 6e 65 2e 0a 58 2e | 69 6e 20 2d 38 0a 58 4d |line..X.|in -8.XM|
|000033f0| 69 73 73 69 6e 67 20 6d | 61 78 62 69 74 73 0a 58 |issing m|axbits.X|
|00003400| 2e 69 6e 20 2b 38 0a 58 | 4d 61 78 62 69 74 73 20 |.in +8.X|Maxbits |
|00003410| 6d 75 73 74 20 66 6f 6c | 6c 6f 77 0a 58 2e 42 52 |must fol|low.X.BR|
|00003420| 20 5c 2d 62 20 5c 2e 0a | 58 2e 69 6e 20 2d 38 0a | \-b \..|X.in -8.|
|00003430| 58 2e 49 52 20 66 69 6c | 65 20 3a 0a 58 6e 6f 74 |X.IR fil|e :.Xnot|
|00003440| 20 69 6e 20 63 6f 6d 70 | 72 65 73 73 65 64 20 66 | in comp|ressed f|
|00003450| 6f 72 6d 61 74 0a 58 2e | 69 6e 20 2b 38 0a 58 54 |ormat.X.|in +8.XT|
|00003460| 68 65 20 66 69 6c 65 20 | 73 70 65 63 69 66 69 65 |he file |specifie|
|00003470| 64 20 74 6f 0a 58 2e 49 | 20 75 6e 63 6f 6d 70 72 |d to.X.I| uncompr|
|00003480| 65 73 73 0a 58 68 61 73 | 20 6e 6f 74 20 62 65 65 |ess.Xhas| not bee|
|00003490| 6e 20 63 6f 6d 70 72 65 | 73 73 65 64 2e 0a 58 2e |n compre|ssed..X.|
|000034a0| 69 6e 20 2d 38 0a 58 2e | 49 52 20 66 69 6c 65 20 |in -8.X.|IR file |
|000034b0| 3a 0a 58 63 6f 6d 70 72 | 65 73 73 65 64 20 77 69 |:.Xcompr|essed wi|
|000034c0| 74 68 20 0a 58 2e 49 20 | 78 78 0a 58 62 69 74 73 |th .X.I |xx.Xbits|
|000034d0| 2c 20 63 61 6e 20 6f 6e | 6c 79 20 68 61 6e 64 6c |, can on|ly handl|
|000034e0| 65 20 0a 58 2e 49 20 79 | 79 0a 58 62 69 74 73 0a |e .X.I y|y.Xbits.|
|000034f0| 58 2e 69 6e 20 2b 38 0a | 58 2e 49 20 46 69 6c 65 |X.in +8.|X.I File|
|00003500| 0a 58 77 61 73 20 63 6f | 6d 70 72 65 73 73 65 64 |.Xwas co|mpressed|
|00003510| 20 62 79 20 61 20 70 72 | 6f 67 72 61 6d 20 74 68 | by a pr|ogram th|
|00003520| 61 74 20 63 6f 75 6c 64 | 20 64 65 61 6c 20 77 69 |at could| deal wi|
|00003530| 74 68 0a 58 6d 6f 72 65 | 20 0a 58 2e 49 20 62 69 |th.Xmore| .X.I bi|
|00003540| 74 73 0a 58 74 68 61 6e | 20 74 68 65 20 63 6f 6d |ts.Xthan| the com|
|00003550| 70 72 65 73 73 20 63 6f | 64 65 20 6f 6e 20 74 68 |press co|de on th|
|00003560| 69 73 20 6d 61 63 68 69 | 6e 65 2e 0a 58 52 65 63 |is machi|ne..XRec|
|00003570| 6f 6d 70 72 65 73 73 20 | 74 68 65 20 66 69 6c 65 |ompress |the file|
|00003580| 20 77 69 74 68 20 73 6d | 61 6c 6c 65 72 0a 58 2e | with sm|aller.X.|
|00003590| 49 52 20 62 69 74 73 20 | 5c 2e 0a 58 2e 69 6e 20 |IR bits |\..X.in |
|000035a0| 2d 38 0a 58 2e 49 52 20 | 66 69 6c 65 20 3a 0a 58 |-8.X.IR |file :.X|
|000035b0| 61 6c 72 65 61 64 79 20 | 68 61 73 20 2e 5a 20 73 |already |has .Z s|
|000035c0| 75 66 66 69 78 20 2d 2d | 20 6e 6f 20 63 68 61 6e |uffix --| no chan|
|000035d0| 67 65 0a 58 2e 69 6e 20 | 2b 38 0a 58 54 68 65 20 |ge.X.in |+8.XThe |
|000035e0| 66 69 6c 65 20 69 73 20 | 61 73 73 75 6d 65 64 20 |file is |assumed |
|000035f0| 74 6f 20 62 65 20 61 6c | 72 65 61 64 79 20 63 6f |to be al|ready co|
|00003600| 6d 70 72 65 73 73 65 64 | 2e 0a 58 52 65 6e 61 6d |mpressed|..XRenam|
|00003610| 65 20 74 68 65 20 66 69 | 6c 65 20 61 6e 64 20 74 |e the fi|le and t|
|00003620| 72 79 20 61 67 61 69 6e | 2e 0a 58 2e 69 6e 20 2d |ry again|..X.in -|
|00003630| 38 0a 58 2e 49 52 20 66 | 69 6c 65 20 3a 0a 58 66 |8.X.IR f|ile :.Xf|
|00003640| 69 6c 65 6e 61 6d 65 20 | 74 6f 6f 20 6c 6f 6e 67 |ilename |too long|
|00003650| 20 74 6f 20 74 61 63 6b | 20 6f 6e 20 2e 5a 0a 58 | to tack| on .Z.X|
|00003660| 2e 69 6e 20 2b 38 0a 58 | 54 68 65 20 66 69 6c 65 |.in +8.X|The file|
|00003670| 20 63 61 6e 6e 6f 74 20 | 62 65 20 63 6f 6d 70 72 | cannot |be compr|
|00003680| 65 73 73 65 64 20 62 65 | 63 61 75 73 65 20 69 74 |essed be|cause it|
|00003690| 73 20 6e 61 6d 65 20 69 | 73 20 6c 6f 6e 67 65 72 |s name i|s longer|
|000036a0| 20 74 68 61 6e 0a 58 31 | 32 20 63 68 61 72 61 63 | than.X1|2 charac|
|000036b0| 74 65 72 73 2e 0a 58 52 | 65 6e 61 6d 65 20 61 6e |ters..XR|ename an|
|000036c0| 64 20 74 72 79 20 61 67 | 61 69 6e 2e 0a 58 54 68 |d try ag|ain..XTh|
|000036d0| 69 73 20 6d 65 73 73 61 | 67 65 20 64 6f 65 73 20 |is messa|ge does |
|000036e0| 6e 6f 74 20 6f 63 63 75 | 72 20 6f 6e 20 42 53 44 |not occu|r on BSD|
|000036f0| 20 73 79 73 74 65 6d 73 | 2e 0a 58 2e 69 6e 20 2d | systems|..X.in -|
|00003700| 38 0a 58 2e 49 20 66 69 | 6c 65 0a 58 61 6c 72 65 |8.X.I fi|le.Xalre|
|00003710| 61 64 79 20 65 78 69 73 | 74 73 3b 20 64 6f 20 79 |ady exis|ts; do y|
|00003720| 6f 75 20 77 69 73 68 20 | 74 6f 20 6f 76 65 72 77 |ou wish |to overw|
|00003730| 72 69 74 65 20 28 79 20 | 6f 72 20 6e 29 3f 0a 58 |rite (y |or n)?.X|
|00003740| 2e 69 6e 20 2b 38 0a 58 | 52 65 73 70 6f 6e 64 20 |.in +8.X|Respond |
|00003750| 22 79 22 20 69 66 20 79 | 6f 75 20 77 61 6e 74 20 |"y" if y|ou want |
|00003760| 74 68 65 20 6f 75 74 70 | 75 74 20 66 69 6c 65 20 |the outp|ut file |
|00003770| 74 6f 20 62 65 20 72 65 | 70 6c 61 63 65 64 3b 20 |to be re|placed; |
|00003780| 22 6e 22 20 69 66 20 6e | 6f 74 2e 0a 58 2e 69 6e |"n" if n|ot..X.in|
|00003790| 20 2d 38 0a 58 75 6e 63 | 6f 6d 70 72 65 73 73 3a | -8.Xunc|ompress:|
|000037a0| 20 63 6f 72 72 75 70 74 | 20 69 6e 70 75 74 0a 58 | corrupt| input.X|
|000037b0| 2e 69 6e 20 2b 38 0a 58 | 41 20 53 49 47 53 45 47 |.in +8.X|A SIGSEG|
|000037c0| 56 20 76 69 6f 6c 61 74 | 69 6f 6e 20 77 61 73 20 |V violat|ion was |
|000037d0| 64 65 74 65 63 74 65 64 | 20 77 68 69 63 68 20 75 |detected| which u|
|000037e0| 73 75 61 6c 6c 79 20 6d | 65 61 6e 73 20 74 68 61 |sually m|eans tha|
|000037f0| 74 20 74 68 65 20 69 6e | 70 75 74 20 66 69 6c 65 |t the in|put file|
|00003800| 20 68 61 73 0a 58 62 65 | 65 6e 20 63 6f 72 72 75 | has.Xbe|en corru|
|00003810| 70 74 65 64 2e 0a 58 2e | 69 6e 20 2d 38 0a 58 43 |pted..X.|in -8.XC|
|00003820| 6f 6d 70 72 65 73 73 69 | 6f 6e 3a 20 0a 58 2e 49 |ompressi|on: .X.I|
|00003830| 20 22 78 78 2e 78 78 25 | 22 0a 58 2e 69 6e 20 2b | "xx.xx%|".X.in +|
|00003840| 38 0a 58 50 65 72 63 65 | 6e 74 61 67 65 20 6f 66 |8.XPerce|ntage of|
|00003850| 20 74 68 65 20 69 6e 70 | 75 74 20 73 61 76 65 64 | the inp|ut saved|
|00003860| 20 62 79 20 63 6f 6d 70 | 72 65 73 73 69 6f 6e 2e | by comp|ression.|
|00003870| 0a 58 28 52 65 6c 65 76 | 61 6e 74 20 6f 6e 6c 79 |.X(Relev|ant only|
|00003880| 20 66 6f 72 0a 58 2e 42 | 52 20 5c 2d 76 20 5c 2e | for.X.B|R \-v \.|
|00003890| 29 0a 58 2e 69 6e 20 2d | 38 0a 58 2d 2d 20 6e 6f |).X.in -|8.X-- no|
|000038a0| 74 20 61 20 72 65 67 75 | 6c 61 72 20 66 69 6c 65 |t a regu|lar file|
|000038b0| 3a 20 75 6e 63 68 61 6e | 67 65 64 0a 58 2e 69 6e |: unchan|ged.X.in|
|000038c0| 20 2b 38 0a 58 57 68 65 | 6e 20 74 68 65 20 69 6e | +8.XWhe|n the in|
|000038d0| 70 75 74 20 66 69 6c 65 | 20 69 73 20 6e 6f 74 20 |put file| is not |
|000038e0| 61 20 72 65 67 75 6c 61 | 72 20 66 69 6c 65 2c 0a |a regula|r file,.|
|000038f0| 58 28 65 2e 67 2e 20 61 | 20 64 69 72 65 63 74 6f |X(e.g. a| directo|
|00003900| 72 79 29 2c 20 69 74 20 | 69 73 0a 58 6c 65 66 74 |ry), it |is.Xleft|
|00003910| 20 75 6e 61 6c 74 65 72 | 65 64 2e 0a 58 2e 69 6e | unalter|ed..X.in|
|00003920| 20 2d 38 0a 58 2d 2d 20 | 68 61 73 20 0a 58 2e 49 | -8.X-- |has .X.I|
|00003930| 20 78 78 20 0a 58 6f 74 | 68 65 72 20 6c 69 6e 6b | xx .Xot|her link|
|00003940| 73 3a 20 75 6e 63 68 61 | 6e 67 65 64 0a 58 2e 69 |s: uncha|nged.X.i|
|00003950| 6e 20 2b 38 0a 58 54 68 | 65 20 69 6e 70 75 74 20 |n +8.XTh|e input |
|00003960| 66 69 6c 65 20 68 61 73 | 20 6c 69 6e 6b 73 3b 20 |file has| links; |
|00003970| 69 74 20 69 73 20 6c 65 | 66 74 20 75 6e 63 68 61 |it is le|ft uncha|
|00003980| 6e 67 65 64 2e 20 20 53 | 65 65 0a 58 2e 49 52 20 |nged. S|ee.X.IR |
|00003990| 6c 6e 20 22 28 31 29 22 | 0a 58 66 6f 72 20 6d 6f |ln "(1)"|.Xfor mo|
|000039a0| 72 65 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 2e 0a |re infor|mation..|
|000039b0| 58 2e 69 6e 20 2d 38 0a | 58 2d 2d 20 66 69 6c 65 |X.in -8.|X-- file|
|000039c0| 20 75 6e 63 68 61 6e 67 | 65 64 0a 58 2e 69 6e 20 | unchang|ed.X.in |
|000039d0| 2b 38 0a 58 4e 6f 20 73 | 61 76 69 6e 67 73 20 69 |+8.XNo s|avings i|
|000039e0| 73 20 61 63 68 69 65 76 | 65 64 20 62 79 0a 58 63 |s achiev|ed by.Xc|
|000039f0| 6f 6d 70 72 65 73 73 69 | 6f 6e 2e 20 20 54 68 65 |ompressi|on. The|
|00003a00| 20 69 6e 70 75 74 20 72 | 65 6d 61 69 6e 73 20 76 | input r|emains v|
|00003a10| 69 72 67 69 6e 2e 0a 58 | 2e 69 6e 20 2d 38 0a 58 |irgin..X|.in -8.X|
|00003a20| 2e 53 48 20 22 42 55 47 | 53 22 0a 58 41 6c 74 68 |.SH "BUG|S".XAlth|
|00003a30| 6f 75 67 68 20 63 6f 6d | 70 72 65 73 73 65 64 20 |ough com|pressed |
|00003a40| 66 69 6c 65 73 20 61 72 | 65 20 63 6f 6d 70 61 74 |files ar|e compat|
|00003a50| 69 62 6c 65 20 62 65 74 | 77 65 65 6e 20 6d 61 63 |ible bet|ween mac|
|00003a60| 68 69 6e 65 73 20 77 69 | 74 68 20 6c 61 72 67 65 |hines wi|th large|
|00003a70| 20 6d 65 6d 6f 72 79 2c | 0a 58 2e 42 52 20 5c 2d | memory,|.X.BR \-|
|00003a80| 62 20 5c 31 32 0a 58 73 | 68 6f 75 6c 64 20 62 65 |b \12.Xs|hould be|
|00003a90| 20 75 73 65 64 20 66 6f | 72 20 66 69 6c 65 20 74 | used fo|r file t|
|00003aa0| 72 61 6e 73 66 65 72 20 | 74 6f 20 61 72 63 68 69 |ransfer |to archi|
|00003ab0| 74 65 63 74 75 72 65 73 | 20 77 69 74 68 20 0a 58 |tectures| with .X|
|00003ac0| 61 20 73 6d 61 6c 6c 20 | 70 72 6f 63 65 73 73 20 |a small |process |
|00003ad0| 64 61 74 61 20 73 70 61 | 63 65 20 28 36 34 4b 42 |data spa|ce (64KB|
|00003ae0| 20 6f 72 20 6c 65 73 73 | 2c 20 61 73 20 65 78 68 | or less|, as exh|
|00003af0| 69 62 69 74 65 64 20 62 | 79 20 74 68 65 20 44 45 |ibited b|y the DE|
|00003b00| 43 20 50 44 50 0a 58 73 | 65 72 69 65 73 2c 20 74 |C PDP.Xs|eries, t|
|00003b10| 68 65 20 49 6e 74 65 6c | 20 38 30 32 38 36 2c 20 |he Intel| 80286, |
|00003b20| 65 74 63 2e 29 0a 45 4e | 44 5f 4f 46 5f 46 49 4c |etc.).EN|D_OF_FIL|
|00003b30| 45 0a 69 66 20 74 65 73 | 74 20 35 33 30 36 20 2d |E.if tes|t 5306 -|
|00003b40| 6e 65 20 60 77 63 20 2d | 63 20 3c 27 63 6f 6d 70 |ne `wc -|c <'comp|
|00003b50| 72 65 73 73 2e 31 27 60 | 3b 20 74 68 65 6e 0a 20 |ress.1'`|; then. |
|00003b60| 20 20 20 65 63 68 6f 20 | 73 68 61 72 3a 20 5c 22 | echo |shar: \"|
|00003b70| 27 63 6f 6d 70 72 65 73 | 73 2e 31 27 5c 22 20 75 |'compres|s.1'\" u|
|00003b80| 6e 70 61 63 6b 65 64 20 | 77 69 74 68 20 77 72 6f |npacked |with wro|
|00003b90| 6e 67 20 73 69 7a 65 21 | 0a 66 69 0a 23 20 65 6e |ng size!|.fi.# en|
|00003ba0| 64 20 6f 66 20 27 63 6f | 6d 70 72 65 73 73 2e 31 |d of 'co|mpress.1|
|00003bb0| 27 0a 66 69 0a 69 66 20 | 74 65 73 74 20 2d 66 20 |'.fi.if |test -f |
|00003bc0| 27 7a 63 6d 70 27 20 2d | 61 20 22 24 7b 31 7d 22 |'zcmp' -|a "${1}"|
|00003bd0| 20 21 3d 20 22 2d 63 22 | 20 3b 20 74 68 65 6e 20 | != "-c"| ; then |
|00003be0| 0a 20 20 65 63 68 6f 20 | 73 68 61 72 3a 20 57 69 |. echo |shar: Wi|
|00003bf0| 6c 6c 20 6e 6f 74 20 63 | 6c 6f 62 62 65 72 20 65 |ll not c|lobber e|
|00003c00| 78 69 73 74 69 6e 67 20 | 66 69 6c 65 20 5c 22 27 |xisting |file \"'|
|00003c10| 7a 63 6d 70 27 5c 22 0a | 65 6c 73 65 0a 65 63 68 |zcmp'\".|else.ech|
|00003c20| 6f 20 73 68 61 72 3a 20 | 45 78 74 72 61 63 74 69 |o shar: |Extracti|
|00003c30| 6e 67 20 5c 22 27 7a 63 | 6d 70 27 5c 22 20 5c 28 |ng \"'zc|mp'\" \(|
|00003c40| 37 36 30 20 63 68 61 72 | 61 63 74 65 72 73 5c 29 |760 char|acters\)|
|00003c50| 0a 73 65 64 20 22 73 2f | 5e 58 2f 2f 22 20 3e 27 |.sed "s/|^X//" >'|
|00003c60| 7a 63 6d 70 27 20 3c 3c | 27 45 4e 44 5f 4f 46 5f |zcmp' <<|'END_OF_|
|00003c70| 46 49 4c 45 27 0a 58 0a | 58 4f 50 54 49 4f 4e 53 |FILE'.X.|XOPTIONS|
|00003c80| 3d 0a 58 46 49 4c 45 53 | 3d 0a 58 66 6f 72 20 41 |=.XFILES|=.Xfor A|
|00003c90| 52 47 0a 58 64 6f 0a 58 | 09 63 61 73 65 20 22 24 |RG.Xdo.X|.case "$|
|00003ca0| 41 52 47 22 20 69 6e 0a | 58 09 2d 2a 29 09 4f 50 |ARG" in.|X.-*).OP|
|00003cb0| 54 49 4f 4e 53 3d 22 24 | 4f 50 54 49 4f 4e 53 20 |TIONS="$|OPTIONS |
|00003cc0| 24 41 52 47 22 3b 3b 0a | 58 09 2a 29 09 46 49 4c |$ARG";;.|X.*).FIL|
|00003cd0| 45 53 3d 22 24 46 49 4c | 45 53 20 24 41 52 47 22 |ES="$FIL|ES $ARG"|
|00003ce0| 3b 3b 0a 58 09 65 73 61 | 63 0a 58 64 6f 6e 65 0a |;;.X.esa|c.Xdone.|
|00003cf0| 58 69 66 20 74 65 73 74 | 20 2d 7a 20 22 24 46 49 |Xif test| -z "$FI|
|00003d00| 4c 45 53 22 3b 20 74 68 | 65 6e 0a 58 09 65 63 68 |LES"; th|en.X.ech|
|00003d10| 6f 20 22 55 73 61 67 65 | 3a 20 7a 63 6d 70 20 5b |o "Usage|: zcmp [|
|00003d20| 63 6d 70 5f 6f 70 74 69 | 6f 6e 73 5d 20 66 69 6c |cmp_opti|ons] fil|
|00003d30| 65 20 5b 66 69 6c 65 5d | 22 0a 58 09 65 78 69 74 |e [file]|".X.exit|
|00003d40| 20 31 0a 58 66 69 0a 58 | 73 65 74 20 24 46 49 4c | 1.Xfi.X|set $FIL|
|00003d50| 45 53 0a 58 69 66 20 74 | 65 73 74 20 24 23 20 2d |ES.Xif t|est $# -|
|00003d60| 65 71 20 31 3b 20 74 68 | 65 6e 0a 58 09 46 49 4c |eq 1; th|en.X.FIL|
|00003d70| 45 3d 60 65 78 70 72 20 | 24 31 20 3a 20 27 5c 28 |E=`expr |$1 : '\(|
|00003d80| 2e 2a 5c 29 5c 2e 5a 27 | 20 27 7c 27 20 24 31 60 |.*\)\.Z'| '|' $1`|
|00003d90| 0a 58 09 7a 63 61 74 20 | 24 46 49 4c 45 20 7c 20 |.X.zcat |$FILE | |
|00003da0| 63 6d 70 20 24 4f 50 54 | 49 4f 4e 53 20 2d 20 24 |cmp $OPT|IONS - $|
|00003db0| 46 49 4c 45 0a 58 09 53 | 54 41 54 3d 22 24 3f 22 |FILE.X.S|TAT="$?"|
|00003dc0| 0a 58 65 6c 69 66 20 74 | 65 73 74 20 24 23 20 2d |.Xelif t|est $# -|
|00003dd0| 65 71 20 32 3b 20 74 68 | 65 6e 0a 58 09 63 61 73 |eq 2; th|en.X.cas|
|00003de0| 65 20 22 24 31 22 20 69 | 6e 0a 58 09 2a 2e 5a 29 |e "$1" i|n.X.*.Z)|
|00003df0| 09 63 61 73 65 20 22 24 | 32 22 20 69 6e 0a 58 09 |.case "$|2" in.X.|
|00003e00| 09 2a 2e 5a 29 09 46 3d | 60 62 61 73 65 6e 61 6d |.*.Z).F=|`basenam|
|00003e10| 65 20 24 32 20 2e 5a 60 | 0a 58 09 09 09 7a 63 61 |e $2 .Z`|.X...zca|
|00003e20| 74 20 24 32 20 3e 20 2f | 74 6d 70 2f 24 46 2e 24 |t $2 > /|tmp/$F.$|
|00003e30| 24 0a 58 09 09 09 7a 63 | 61 74 20 24 31 20 7c 20 |$.X...zc|at $1 | |
|00003e40| 63 6d 70 20 24 4f 50 54 | 49 4f 4e 53 20 2d 20 2f |cmp $OPT|IONS - /|
|00003e50| 74 6d 70 2f 24 46 2e 24 | 24 0a 58 09 09 09 53 54 |tmp/$F.$|$.X...ST|
|00003e60| 41 54 3d 22 24 3f 22 3b | 3b 0a 58 09 09 2a 29 09 |AT="$?";|;.X..*).|
|00003e70| 7a 63 61 74 20 24 31 20 | 7c 20 63 6d 70 20 24 4f |zcat $1 || cmp $O|
|00003e80| 50 54 49 4f 4e 53 20 2d | 20 24 32 3b 3b 0a 58 09 |PTIONS -| $2;;.X.|
|00003e90| 09 65 73 61 63 3b 3b 0a | 58 09 2a 29 09 63 61 73 |.esac;;.|X.*).cas|
|00003ea0| 65 20 22 24 32 22 20 69 | 6e 0a 58 09 09 2a 2e 5a |e "$2" i|n.X..*.Z|
|00003eb0| 29 09 46 3d 60 62 61 73 | 65 6e 61 6d 65 20 24 32 |).F=`bas|ename $2|
|00003ec0| 20 2e 5a 60 0a 58 09 09 | 09 7a 63 61 74 20 24 32 | .Z`.X..|.zcat $2|
|00003ed0| 20 3e 20 2f 74 6d 70 2f | 24 46 2e 24 24 0a 58 09 | > /tmp/|$F.$$.X.|
|00003ee0| 09 09 63 6d 70 20 24 4f | 50 54 49 4f 4e 53 20 24 |..cmp $O|PTIONS $|
|00003ef0| 31 20 2f 74 6d 70 2f 24 | 46 2e 24 24 0a 58 09 09 |1 /tmp/$|F.$$.X..|
|00003f00| 09 53 54 41 54 3d 22 24 | 3f 22 3b 3b 0a 58 09 09 |.STAT="$|?";;.X..|
|00003f10| 2a 29 09 63 6d 70 20 24 | 4f 50 54 49 4f 4e 53 20 |*).cmp $|OPTIONS |
|00003f20| 24 31 20 24 32 0a 58 09 | 09 09 53 54 41 54 3d 22 |$1 $2.X.|..STAT="|
|00003f30| 24 3f 22 3b 3b 0a 58 09 | 09 65 73 61 63 3b 3b 0a |$?";;.X.|.esac;;.|
|00003f40| 58 09 65 73 61 63 0a 58 | 09 65 78 69 74 20 22 24 |X.esac.X|.exit "$|
|00003f50| 53 54 41 54 22 0a 58 65 | 6c 73 65 0a 58 09 65 63 |STAT".Xe|lse.X.ec|
|00003f60| 68 6f 20 22 55 73 61 67 | 65 3a 20 7a 63 6d 70 20 |ho "Usag|e: zcmp |
|00003f70| 5b 63 6d 70 5f 6f 70 74 | 69 6f 6e 73 5d 20 66 69 |[cmp_opt|ions] fi|
|00003f80| 6c 65 20 5b 66 69 6c 65 | 5d 22 0a 58 09 65 78 69 |le [file|]".X.exi|
|00003f90| 74 20 31 0a 58 66 69 0a | 45 4e 44 5f 4f 46 5f 46 |t 1.Xfi.|END_OF_F|
|00003fa0| 49 4c 45 0a 69 66 20 74 | 65 73 74 20 37 36 30 20 |ILE.if t|est 760 |
|00003fb0| 2d 6e 65 20 60 77 63 20 | 2d 63 20 3c 27 7a 63 6d |-ne `wc |-c <'zcm|
|00003fc0| 70 27 60 3b 20 74 68 65 | 6e 0a 20 20 20 20 65 63 |p'`; the|n. ec|
|00003fd0| 68 6f 20 73 68 61 72 3a | 20 5c 22 27 7a 63 6d 70 |ho shar:| \"'zcmp|
|00003fe0| 27 5c 22 20 75 6e 70 61 | 63 6b 65 64 20 77 69 74 |'\" unpa|cked wit|
|00003ff0| 68 20 77 72 6f 6e 67 20 | 73 69 7a 65 21 0a 66 69 |h wrong |size!.fi|
|00004000| 0a 63 68 6d 6f 64 20 2b | 78 20 27 7a 63 6d 70 27 |.chmod +|x 'zcmp'|
|00004010| 0a 23 20 65 6e 64 20 6f | 66 20 27 7a 63 6d 70 27 |.# end o|f 'zcmp'|
|00004020| 0a 66 69 0a 69 66 20 74 | 65 73 74 20 2d 66 20 27 |.fi.if t|est -f '|
|00004030| 7a 63 6d 70 2e 31 27 20 | 2d 61 20 22 24 7b 31 7d |zcmp.1' |-a "${1}|
|00004040| 22 20 21 3d 20 22 2d 63 | 22 20 3b 20 74 68 65 6e |" != "-c|" ; then|
|00004050| 20 0a 20 20 65 63 68 6f | 20 73 68 61 72 3a 20 57 | . echo| shar: W|
|00004060| 69 6c 6c 20 6e 6f 74 20 | 63 6c 6f 62 62 65 72 20 |ill not |clobber |
|00004070| 65 78 69 73 74 69 6e 67 | 20 66 69 6c 65 20 5c 22 |existing| file \"|
|00004080| 27 7a 63 6d 70 2e 31 27 | 5c 22 0a 65 6c 73 65 0a |'zcmp.1'|\".else.|
|00004090| 65 63 68 6f 20 73 68 61 | 72 3a 20 45 78 74 72 61 |echo sha|r: Extra|
|000040a0| 63 74 69 6e 67 20 5c 22 | 27 7a 63 6d 70 2e 31 27 |cting \"|'zcmp.1'|
|000040b0| 5c 22 20 5c 28 37 39 37 | 20 63 68 61 72 61 63 74 |\" \(797| charact|
|000040c0| 65 72 73 5c 29 0a 73 65 | 64 20 22 73 2f 5e 58 2f |ers\).se|d "s/^X/|
|000040d0| 2f 22 20 3e 27 7a 63 6d | 70 2e 31 27 20 3c 3c 27 |/" >'zcm|p.1' <<'|
|000040e0| 45 4e 44 5f 4f 46 5f 46 | 49 4c 45 27 0a 58 2e 54 |END_OF_F|ILE'.X.T|
|000040f0| 48 20 5a 43 4d 50 20 31 | 0a 58 2e 53 48 20 4e 41 |H ZCMP 1|.X.SH NA|
|00004100| 4d 45 0a 58 7a 63 6d 70 | 2c 20 7a 64 69 66 66 20 |ME.Xzcmp|, zdiff |
|00004110| 5c 2d 20 63 6f 6d 70 61 | 72 65 20 63 6f 6d 70 72 |\- compa|re compr|
|00004120| 65 73 73 65 64 20 66 69 | 6c 65 73 0a 58 2e 53 48 |essed fi|les.X.SH|
|00004130| 20 53 59 4e 4f 50 53 49 | 53 0a 58 2e 42 20 7a 63 | SYNOPSI|S.X.B zc|
|00004140| 6d 70 0a 58 5b 20 63 6d | 70 5f 6f 70 74 69 6f 6e |mp.X[ cm|p_option|
|00004150| 73 20 5d 20 66 69 6c 65 | 31 0a 58 5b 20 66 69 6c |s ] file|1.X[ fil|
|00004160| 65 32 20 5d 0a 58 2e 62 | 72 0a 58 2e 42 20 7a 64 |e2 ].X.b|r.X.B zd|
|00004170| 69 66 66 0a 58 5b 20 64 | 69 66 66 5f 6f 70 74 69 |iff.X[ d|iff_opti|
|00004180| 6f 6e 73 20 5d 20 66 69 | 6c 65 31 0a 58 5b 20 66 |ons ] fi|le1.X[ f|
|00004190| 69 6c 65 32 20 5d 0a 58 | 2e 53 48 20 44 45 53 43 |ile2 ].X|.SH DESC|
|000041a0| 52 49 50 54 49 4f 4e 0a | 58 2e 49 20 20 5a 63 6d |RIPTION.|X.I Zcm|
|000041b0| 70 0a 58 61 6e 64 20 0a | 58 2e 49 20 7a 64 69 66 |p.Xand .|X.I zdif|
|000041c0| 66 0a 58 61 72 65 20 75 | 73 65 64 20 74 6f 20 69 |f.Xare u|sed to i|
|000041d0| 6e 76 6f 6b 65 20 74 68 | 65 0a 58 2e 49 20 63 6d |nvoke th|e.X.I cm|
|000041e0| 70 0a 58 6f 72 20 74 68 | 65 0a 58 2e 49 20 64 69 |p.Xor th|e.X.I di|
|000041f0| 66 66 0a 58 70 72 6f 67 | 72 61 6d 20 6f 6e 20 63 |ff.Xprog|ram on c|
|00004200| 6f 6d 70 72 65 73 73 65 | 64 20 66 69 6c 65 73 2e |ompresse|d files.|
|00004210| 20 20 41 6c 6c 20 6f 70 | 74 69 6f 6e 73 20 73 70 | All op|tions sp|
|00004220| 65 63 69 66 69 65 64 20 | 61 72 65 20 70 61 73 73 |ecified |are pass|
|00004230| 65 64 20 64 69 72 65 63 | 74 6c 79 20 74 6f 0a 58 |ed direc|tly to.X|
|00004240| 2e 49 20 63 6d 70 0a 58 | 6f 72 0a 58 2e 49 52 20 |.I cmp.X|or.X.IR |
|00004250| 64 69 66 66 20 22 2e 22 | 0a 58 49 66 20 6f 6e 6c |diff "."|.XIf onl|
|00004260| 79 20 31 20 66 69 6c 65 | 20 69 73 20 73 70 65 63 |y 1 file| is spec|
|00004270| 69 66 69 65 64 2c 20 74 | 68 65 6e 20 74 68 65 20 |ified, t|hen the |
|00004280| 66 69 6c 65 73 20 63 6f | 6d 70 61 72 65 64 20 61 |files co|mpared a|
|00004290| 72 65 0a 58 2e 49 20 66 | 69 6c 65 31 0a 58 61 6e |re.X.I f|ile1.Xan|
|000042a0| 64 20 61 6e 20 75 6e 63 | 6f 6d 70 72 65 73 73 65 |d an unc|ompresse|
|000042b0| 64 0a 58 2e 49 52 20 66 | 69 6c 65 31 20 22 2e 5a |d.X.IR f|ile1 ".Z|
|000042c0| 2e 22 0a 58 49 66 20 74 | 77 6f 20 66 69 6c 65 73 |.".XIf t|wo files|
|000042d0| 20 61 72 65 20 73 70 65 | 63 69 66 69 65 64 2c 20 | are spe|cified, |
|000042e0| 74 68 65 6e 20 74 68 65 | 79 20 61 72 65 20 75 6e |then the|y are un|
|000042f0| 63 6f 6d 70 72 65 73 73 | 65 64 20 28 69 66 20 65 |compress|ed (if e|
|00004300| 6e 64 69 6e 67 20 77 69 | 74 68 20 22 2e 5a 22 29 |nding wi|th ".Z")|
|00004310| 0a 58 61 6e 64 20 66 65 | 64 20 74 6f 0a 58 2e 49 |.Xand fe|d to.X.I|
|00004320| 20 63 6d 70 0a 58 6f 72 | 0a 58 2e 49 52 20 64 69 | cmp.Xor|.X.IR di|
|00004330| 66 66 20 22 2e 22 0a 58 | 54 68 65 20 65 78 69 74 |ff ".".X|The exit|
|00004340| 20 73 74 61 74 75 73 20 | 66 72 6f 6d 20 0a 58 2e | status |from .X.|
|00004350| 49 20 63 6d 70 0a 58 6f | 72 0a 58 2e 49 20 64 69 |I cmp.Xo|r.X.I di|
|00004360| 66 66 0a 58 69 73 20 70 | 72 65 73 65 72 76 65 64 |ff.Xis p|reserved|
|00004370| 2e 0a 58 2e 53 48 20 22 | 53 45 45 20 41 4c 53 4f |..X.SH "|SEE ALSO|
|00004380| 22 0a 58 63 6d 70 28 31 | 29 2c 20 64 69 66 66 28 |".Xcmp(1|), diff(|
|00004390| 31 29 2c 20 7a 6d 6f 72 | 65 28 31 29 2c 20 7a 63 |1), zmor|e(1), zc|
|000043a0| 61 74 28 31 29 2c 20 63 | 6f 6d 70 72 65 73 73 28 |at(1), c|ompress(|
|000043b0| 31 29 2c 20 75 6e 63 6f | 6d 70 72 65 73 73 28 31 |1), unco|mpress(1|
|000043c0| 29 0a 58 2e 53 48 20 42 | 55 47 53 0a 58 4d 65 73 |).X.SH B|UGS.XMes|
|000043d0| 73 61 67 65 73 20 66 72 | 6f 6d 20 74 68 65 0a 58 |sages fr|om the.X|
|000043e0| 2e 49 20 63 6d 70 0a 58 | 6f 72 0a 58 2e 49 20 64 |.I cmp.X|or.X.I d|
|000043f0| 69 66 66 0a 58 70 72 6f | 67 72 61 6d 73 20 72 65 |iff.Xpro|grams re|
|00004400| 66 65 72 20 74 6f 20 74 | 65 6d 70 6f 72 61 72 79 |fer to t|emporary|
|00004410| 20 66 69 6c 65 6e 61 6d | 65 73 20 69 6e 73 74 65 | filenam|es inste|
|00004420| 61 64 20 6f 66 20 74 68 | 6f 73 65 20 73 70 65 63 |ad of th|ose spec|
|00004430| 69 66 69 65 64 2e 0a 45 | 4e 44 5f 4f 46 5f 46 49 |ified..E|ND_OF_FI|
|00004440| 4c 45 0a 69 66 20 74 65 | 73 74 20 37 39 37 20 2d |LE.if te|st 797 -|
|00004450| 6e 65 20 60 77 63 20 2d | 63 20 3c 27 7a 63 6d 70 |ne `wc -|c <'zcmp|
|00004460| 2e 31 27 60 3b 20 74 68 | 65 6e 0a 20 20 20 20 65 |.1'`; th|en. e|
|00004470| 63 68 6f 20 73 68 61 72 | 3a 20 5c 22 27 7a 63 6d |cho shar|: \"'zcm|
|00004480| 70 2e 31 27 5c 22 20 75 | 6e 70 61 63 6b 65 64 20 |p.1'\" u|npacked |
|00004490| 77 69 74 68 20 77 72 6f | 6e 67 20 73 69 7a 65 21 |with wro|ng size!|
|000044a0| 0a 66 69 0a 23 20 65 6e | 64 20 6f 66 20 27 7a 63 |.fi.# en|d of 'zc|
|000044b0| 6d 70 2e 31 27 0a 66 69 | 0a 69 66 20 74 65 73 74 |mp.1'.fi|.if test|
|000044c0| 20 2d 66 20 27 7a 64 69 | 66 66 27 20 2d 61 20 22 | -f 'zdi|ff' -a "|
|000044d0| 24 7b 31 7d 22 20 21 3d | 20 22 2d 63 22 20 3b 20 |${1}" !=| "-c" ; |
|000044e0| 74 68 65 6e 20 0a 20 20 | 65 63 68 6f 20 73 68 61 |then . |echo sha|
|000044f0| 72 3a 20 57 69 6c 6c 20 | 6e 6f 74 20 63 6c 6f 62 |r: Will |not clob|
|00004500| 62 65 72 20 65 78 69 73 | 74 69 6e 67 20 66 69 6c |ber exis|ting fil|
|00004510| 65 20 5c 22 27 7a 64 69 | 66 66 27 5c 22 0a 65 6c |e \"'zdi|ff'\".el|
|00004520| 73 65 0a 65 63 68 6f 20 | 73 68 61 72 3a 20 45 78 |se.echo |shar: Ex|
|00004530| 74 72 61 63 74 69 6e 67 | 20 5c 22 27 7a 64 69 66 |tracting| \"'zdif|
|00004540| 66 27 5c 22 20 5c 28 37 | 32 34 20 63 68 61 72 61 |f'\" \(7|24 chara|
|00004550| 63 74 65 72 73 5c 29 0a | 73 65 64 20 22 73 2f 5e |cters\).|sed "s/^|
|00004560| 58 2f 2f 22 20 3e 27 7a | 64 69 66 66 27 20 3c 3c |X//" >'z|diff' <<|
|00004570| 27 45 4e 44 5f 4f 46 5f | 46 49 4c 45 27 0a 58 0a |'END_OF_|FILE'.X.|
|00004580| 58 4f 50 54 49 4f 4e 53 | 3d 0a 58 46 49 4c 45 53 |XOPTIONS|=.XFILES|
|00004590| 3d 0a 58 66 6f 72 20 41 | 52 47 0a 58 64 6f 0a 58 |=.Xfor A|RG.Xdo.X|
|000045a0| 09 63 61 73 65 20 22 24 | 41 52 47 22 20 69 6e 0a |.case "$|ARG" in.|
|000045b0| 58 09 2d 2a 29 09 4f 50 | 54 49 4f 4e 53 3d 22 24 |X.-*).OP|TIONS="$|
|000045c0| 4f 50 54 49 4f 4e 53 20 | 24 41 52 47 22 3b 3b 0a |OPTIONS |$ARG";;.|
|000045d0| 58 09 2a 29 09 46 49 4c | 45 53 3d 22 24 46 49 4c |X.*).FIL|ES="$FIL|
|000045e0| 45 53 20 24 41 52 47 22 | 3b 3b 0a 58 09 65 73 61 |ES $ARG"|;;.X.esa|
|000045f0| 63 0a 58 64 6f 6e 65 0a | 58 69 66 20 74 65 73 74 |c.Xdone.|Xif test|
|00004600| 20 2d 7a 20 22 24 46 49 | 4c 45 53 22 3b 20 74 68 | -z "$FI|LES"; th|
|00004610| 65 6e 0a 58 09 65 63 68 | 6f 20 22 55 73 61 67 65 |en.X.ech|o "Usage|
|00004620| 3a 20 7a 64 69 66 66 20 | 5b 64 69 66 66 5f 6f 70 |: zdiff |[diff_op|
|00004630| 74 69 6f 6e 73 5d 20 66 | 69 6c 65 20 5b 66 69 6c |tions] f|ile [fil|
|00004640| 65 5d 22 0a 58 09 65 78 | 69 74 20 31 0a 58 66 69 |e]".X.ex|it 1.Xfi|
|00004650| 0a 58 73 65 74 20 24 46 | 49 4c 45 53 0a 58 69 66 |.Xset $F|ILES.Xif|
|00004660| 20 74 65 73 74 20 24 23 | 20 2d 65 71 20 31 3b 20 | test $#| -eq 1; |
|00004670| 74 68 65 6e 0a 58 09 46 | 49 4c 45 3d 60 65 78 70 |then.X.F|ILE=`exp|
|00004680| 72 20 24 31 20 3a 20 27 | 5c 28 2e 2a 5c 29 5c 2e |r $1 : '|\(.*\)\.|
|00004690| 5a 27 20 27 7c 27 20 24 | 31 60 0a 58 09 7a 63 61 |Z' '|' $|1`.X.zca|
|000046a0| 74 20 24 46 49 4c 45 20 | 7c 20 64 69 66 66 20 24 |t $FILE || diff $|
|000046b0| 4f 50 54 49 4f 4e 53 20 | 2d 20 24 46 49 4c 45 0a |OPTIONS |- $FILE.|
|000046c0| 58 09 53 54 41 54 3d 22 | 24 3f 22 0a 58 65 6c 69 |X.STAT="|$?".Xeli|
|000046d0| 66 20 74 65 73 74 20 24 | 23 20 2d 65 71 20 32 3b |f test $|# -eq 2;|
|000046e0| 20 74 68 65 6e 0a 58 09 | 63 61 73 65 20 22 24 31 | then.X.|case "$1|
|000046f0| 22 20 69 6e 0a 58 09 2a | 2e 5a 29 09 63 61 73 65 |" in.X.*|.Z).case|
|00004700| 20 22 24 32 22 20 69 6e | 0a 58 09 09 2a 2e 5a 29 | "$2" in|.X..*.Z)|
|00004710| 09 46 3d 60 62 61 73 65 | 6e 61 6d 65 20 24 32 20 |.F=`base|name $2 |
|00004720| 2e 5a 60 0a 58 09 09 09 | 7a 63 61 74 20 24 32 20 |.Z`.X...|zcat $2 |
|00004730| 3e 20 2f 74 6d 70 2f 24 | 46 2e 24 24 0a 58 09 09 |> /tmp/$|F.$$.X..|
|00004740| 09 7a 63 61 74 20 24 31 | 20 7c 20 64 69 66 66 20 |.zcat $1| | diff |
|00004750| 24 4f 50 54 49 4f 4e 53 | 20 2d 20 2f 74 6d 70 2f |$OPTIONS| - /tmp/|
|00004760| 24 46 2e 24 24 0a 58 09 | 09 09 53 54 41 54 3d 22 |$F.$$.X.|..STAT="|
|00004770| 24 3f 22 3b 3b 0a 58 09 | 09 2a 29 09 7a 63 61 74 |$?";;.X.|.*).zcat|
|00004780| 20 24 31 20 7c 20 64 69 | 66 66 20 24 4f 50 54 49 | $1 | di|ff $OPTI|
|00004790| 4f 4e 53 20 2d 20 24 32 | 3b 3b 0a 58 09 09 65 73 |ONS - $2|;;.X..es|
|000047a0| 61 63 3b 3b 0a 58 09 2a | 29 09 63 61 73 65 20 22 |ac;;.X.*|).case "|
|000047b0| 24 32 22 20 69 6e 0a 58 | 09 09 2a 2e 5a 29 09 7a |$2" in.X|..*.Z).z|
|000047c0| 63 61 74 20 24 32 20 7c | 20 64 69 66 66 20 24 4f |cat $2 || diff $O|
|000047d0| 50 54 49 4f 4e 53 20 24 | 31 20 2d 0a 58 09 09 09 |PTIONS $|1 -.X...|
|000047e0| 53 54 41 54 3d 22 24 3f | 22 3b 3b 0a 58 09 09 2a |STAT="$?|";;.X..*|
|000047f0| 29 09 64 69 66 66 20 24 | 4f 50 54 49 4f 4e 53 20 |).diff $|OPTIONS |
|00004800| 24 31 20 24 32 0a 58 09 | 09 09 53 54 41 54 3d 22 |$1 $2.X.|..STAT="|
|00004810| 24 3f 22 3b 3b 0a 58 09 | 09 65 73 61 63 3b 3b 0a |$?";;.X.|.esac;;.|
|00004820| 58 09 65 73 61 63 0a 58 | 09 65 78 69 74 20 22 24 |X.esac.X|.exit "$|
|00004830| 53 54 41 54 22 0a 58 65 | 6c 73 65 0a 58 09 65 63 |STAT".Xe|lse.X.ec|
|00004840| 68 6f 20 22 55 73 61 67 | 65 3a 20 7a 64 69 66 66 |ho "Usag|e: zdiff|
|00004850| 20 5b 64 69 66 66 5f 6f | 70 74 69 6f 6e 73 5d 20 | [diff_o|ptions] |
|00004860| 66 69 6c 65 20 5b 66 69 | 6c 65 5d 22 0a 58 09 65 |file [fi|le]".X.e|
|00004870| 78 69 74 20 31 0a 58 66 | 69 0a 45 4e 44 5f 4f 46 |xit 1.Xf|i.END_OF|
|00004880| 5f 46 49 4c 45 0a 69 66 | 20 74 65 73 74 20 37 32 |_FILE.if| test 72|
|00004890| 34 20 2d 6e 65 20 60 77 | 63 20 2d 63 20 3c 27 7a |4 -ne `w|c -c <'z|
|000048a0| 64 69 66 66 27 60 3b 20 | 74 68 65 6e 0a 20 20 20 |diff'`; |then. |
|000048b0| 20 65 63 68 6f 20 73 68 | 61 72 3a 20 5c 22 27 7a | echo sh|ar: \"'z|
|000048c0| 64 69 66 66 27 5c 22 20 | 75 6e 70 61 63 6b 65 64 |diff'\" |unpacked|
|000048d0| 20 77 69 74 68 20 77 72 | 6f 6e 67 20 73 69 7a 65 | with wr|ong size|
|000048e0| 21 0a 66 69 0a 63 68 6d | 6f 64 20 2b 78 20 27 7a |!.fi.chm|od +x 'z|
|000048f0| 64 69 66 66 27 0a 23 20 | 65 6e 64 20 6f 66 20 27 |diff'.# |end of '|
|00004900| 7a 64 69 66 66 27 0a 66 | 69 0a 69 66 20 74 65 73 |zdiff'.f|i.if tes|
|00004910| 74 20 2d 66 20 27 7a 6d | 6f 72 65 27 20 2d 61 20 |t -f 'zm|ore' -a |
|00004920| 22 24 7b 31 7d 22 20 21 | 3d 20 22 2d 63 22 20 3b |"${1}" !|= "-c" ;|
|00004930| 20 74 68 65 6e 20 0a 20 | 20 65 63 68 6f 20 73 68 | then . | echo sh|
|00004940| 61 72 3a 20 57 69 6c 6c | 20 6e 6f 74 20 63 6c 6f |ar: Will| not clo|
|00004950| 62 62 65 72 20 65 78 69 | 73 74 69 6e 67 20 66 69 |bber exi|sting fi|
|00004960| 6c 65 20 5c 22 27 7a 6d | 6f 72 65 27 5c 22 0a 65 |le \"'zm|ore'\".e|
|00004970| 6c 73 65 0a 65 63 68 6f | 20 73 68 61 72 3a 20 45 |lse.echo| shar: E|
|00004980| 78 74 72 61 63 74 69 6e | 67 20 5c 22 27 7a 6d 6f |xtractin|g \"'zmo|
|00004990| 72 65 27 5c 22 20 5c 28 | 33 30 36 20 63 68 61 72 |re'\" \(|306 char|
|000049a0| 61 63 74 65 72 73 5c 29 | 0a 73 65 64 20 22 73 2f |acters\)|.sed "s/|
|000049b0| 5e 58 2f 2f 22 20 3e 27 | 7a 6d 6f 72 65 27 20 3c |^X//" >'|zmore' <|
|000049c0| 3c 27 45 4e 44 5f 4f 46 | 5f 46 49 4c 45 27 0a 58 |<'END_OF|_FILE'.X|
|000049d0| 46 49 52 53 54 3d 31 0a | 58 66 6f 72 20 46 49 4c |FIRST=1.|Xfor FIL|
|000049e0| 45 0a 58 64 6f 0a 58 09 | 69 66 20 74 65 73 74 20 |E.Xdo.X.|if test |
|000049f0| 24 46 49 52 53 54 20 2d | 65 71 20 30 3b 20 74 68 |$FIRST -|eq 0; th|
|00004a00| 65 6e 0a 58 09 09 65 63 | 68 6f 20 22 2d 2d 4d 6f |en.X..ec|ho "--Mo|
|00004a10| 72 65 2d 2d 28 4e 65 78 | 74 20 66 69 6c 65 3a 20 |re--(Nex|t file: |
|00004a20| 24 46 49 4c 45 29 5c 63 | 22 0a 58 09 09 73 74 74 |$FILE)\c|".X..stt|
|00004a30| 79 20 63 62 72 65 61 6b | 20 2d 65 63 68 6f 0a 58 |y cbreak| -echo.X|
|00004a40| 09 09 41 4e 53 3d 60 64 | 64 20 62 73 3d 31 20 63 |..ANS=`d|d bs=1 c|
|00004a50| 6f 75 6e 74 3d 31 20 32 | 3e 2f 64 65 76 2f 6e 75 |ount=1 2|>/dev/nu|
|00004a60| 6c 6c 60 20 0a 58 09 09 | 73 74 74 79 20 2d 63 62 |ll` .X..|stty -cb|
|00004a70| 72 65 61 6b 20 65 63 68 | 6f 0a 58 09 09 65 63 68 |reak ech|o.X..ech|
|00004a80| 6f 20 22 20 22 0a 58 09 | 09 69 66 20 74 65 73 74 |o " ".X.|.if test|
|00004a90| 20 22 24 41 4e 53 22 20 | 3d 20 27 65 27 3b 20 74 | "$ANS" |= 'e'; t|
|00004aa0| 68 65 6e 0a 58 09 09 09 | 65 78 69 74 0a 58 09 09 |hen.X...|exit.X..|
|00004ab0| 66 69 0a 58 09 66 69 0a | 58 09 65 63 68 6f 20 22 |fi.X.fi.|X.echo "|
|00004ac0| 2d 2d 2d 2d 2d 2d 3e 20 | 24 46 49 4c 45 20 3c 2d |------> |$FILE <-|
|00004ad0| 2d 2d 2d 2d 2d 22 0a 58 | 09 7a 63 61 74 20 24 46 |-----".X|.zcat $F|
|00004ae0| 49 4c 45 20 7c 20 6d 6f | 72 65 0a 58 09 69 66 20 |ILE | mo|re.X.if |
|00004af0| 74 65 73 74 20 2d 74 3b | 20 74 68 65 6e 0a 58 09 |test -t;| then.X.|
|00004b00| 09 46 49 52 53 54 3d 30 | 0a 58 09 66 69 0a 58 64 |.FIRST=0|.X.fi.Xd|
|00004b10| 6f 6e 65 0a 45 4e 44 5f | 4f 46 5f 46 49 4c 45 0a |one.END_|OF_FILE.|
|00004b20| 69 66 20 74 65 73 74 20 | 33 30 36 20 2d 6e 65 20 |if test |306 -ne |
|00004b30| 60 77 63 20 2d 63 20 3c | 27 7a 6d 6f 72 65 27 60 |`wc -c <|'zmore'`|
|00004b40| 3b 20 74 68 65 6e 0a 20 | 20 20 20 65 63 68 6f 20 |; then. | echo |
|00004b50| 73 68 61 72 3a 20 5c 22 | 27 7a 6d 6f 72 65 27 5c |shar: \"|'zmore'\|
|00004b60| 22 20 75 6e 70 61 63 6b | 65 64 20 77 69 74 68 20 |" unpack|ed with |
|00004b70| 77 72 6f 6e 67 20 73 69 | 7a 65 21 0a 66 69 0a 63 |wrong si|ze!.fi.c|
|00004b80| 68 6d 6f 64 20 2b 78 20 | 27 7a 6d 6f 72 65 27 0a |hmod +x |'zmore'.|
|00004b90| 23 20 65 6e 64 20 6f 66 | 20 27 7a 6d 6f 72 65 27 |# end of| 'zmore'|
|00004ba0| 0a 66 69 0a 69 66 20 74 | 65 73 74 20 2d 66 20 27 |.fi.if t|est -f '|
|00004bb0| 7a 6d 6f 72 65 2e 31 27 | 20 2d 61 20 22 24 7b 31 |zmore.1'| -a "${1|
|00004bc0| 7d 22 20 21 3d 20 22 2d | 63 22 20 3b 20 74 68 65 |}" != "-|c" ; the|
|00004bd0| 6e 20 0a 20 20 65 63 68 | 6f 20 73 68 61 72 3a 20 |n . ech|o shar: |
|00004be0| 57 69 6c 6c 20 6e 6f 74 | 20 63 6c 6f 62 62 65 72 |Will not| clobber|
|00004bf0| 20 65 78 69 73 74 69 6e | 67 20 66 69 6c 65 20 5c | existin|g file \|
|00004c00| 22 27 7a 6d 6f 72 65 2e | 31 27 5c 22 0a 65 6c 73 |"'zmore.|1'\".els|
|00004c10| 65 0a 65 63 68 6f 20 73 | 68 61 72 3a 20 45 78 74 |e.echo s|har: Ext|
|00004c20| 72 61 63 74 69 6e 67 20 | 5c 22 27 7a 6d 6f 72 65 |racting |\"'zmore|
|00004c30| 2e 31 27 5c 22 20 5c 28 | 33 37 30 32 20 63 68 61 |.1'\" \(|3702 cha|
|00004c40| 72 61 63 74 65 72 73 5c | 29 0a 73 65 64 20 22 73 |racters\|).sed "s|
|00004c50| 2f 5e 58 2f 2f 22 20 3e | 27 7a 6d 6f 72 65 2e 31 |/^X//" >|'zmore.1|
|00004c60| 27 20 3c 3c 27 45 4e 44 | 5f 4f 46 5f 46 49 4c 45 |' <<'END|_OF_FILE|
|00004c70| 27 0a 58 2e 54 48 20 5a | 4d 4f 52 45 20 31 0a 58 |'.X.TH Z|MORE 1.X|
|00004c80| 2e 53 48 20 4e 41 4d 45 | 0a 58 7a 6d 6f 72 65 20 |.SH NAME|.Xzmore |
|00004c90| 5c 2d 20 66 69 6c 65 20 | 70 65 72 75 73 61 6c 20 |\- file |perusal |
|00004ca0| 66 69 6c 74 65 72 20 66 | 6f 72 20 63 72 74 20 76 |filter f|or crt v|
|00004cb0| 69 65 77 69 6e 67 20 6f | 66 20 63 6f 6d 70 72 65 |iewing o|f compre|
|00004cc0| 73 73 65 64 20 74 65 78 | 74 0a 58 2e 53 48 20 53 |ssed tex|t.X.SH S|
|00004cd0| 59 4e 4f 50 53 49 53 0a | 58 2e 42 20 7a 6d 6f 72 |YNOPSIS.|X.B zmor|
|00004ce0| 65 0a 58 5b 20 6e 61 6d | 65 20 2e 2e 2e 20 20 5d |e.X[ nam|e ... ]|
|00004cf0| 0a 58 2e 53 48 20 44 45 | 53 43 52 49 50 54 49 4f |.X.SH DE|SCRIPTIO|
|00004d00| 4e 0a 58 2e 49 20 20 5a | 6d 6f 72 65 0a 58 69 73 |N.X.I Z|more.Xis|
|00004d10| 20 61 20 66 69 6c 74 65 | 72 20 77 68 69 63 68 20 | a filte|r which |
|00004d20| 61 6c 6c 6f 77 73 20 65 | 78 61 6d 69 6e 61 74 69 |allows e|xaminati|
|00004d30| 6f 6e 20 6f 66 20 63 6f | 6d 70 72 65 73 73 65 64 |on of co|mpressed|
|00004d40| 20 74 65 78 74 20 66 69 | 6c 65 73 0a 58 6f 6e 65 | text fi|les.Xone|
|00004d50| 20 73 63 72 65 65 6e 66 | 75 6c 20 61 74 20 61 20 | screenf|ul at a |
|00004d60| 74 69 6d 65 20 6f 6e 20 | 61 20 73 6f 66 74 2d 63 |time on |a soft-c|
|00004d70| 6f 70 79 20 74 65 72 6d | 69 6e 61 6c 2e 0a 58 49 |opy term|inal..XI|
|00004d80| 74 20 6e 6f 72 6d 61 6c | 6c 79 20 70 61 75 73 65 |t normal|ly pause|
|00004d90| 73 20 61 66 74 65 72 20 | 65 61 63 68 20 73 63 72 |s after |each scr|
|00004da0| 65 65 6e 66 75 6c 2c 20 | 70 72 69 6e 74 69 6e 67 |eenful, |printing|
|00004db0| 20 2d 2d 4d 6f 72 65 2d | 2d 0a 58 61 74 20 74 68 | --More-|-.Xat th|
|00004dc0| 65 20 62 6f 74 74 6f 6d | 20 6f 66 20 74 68 65 20 |e bottom| of the |
|00004dd0| 73 63 72 65 65 6e 2e 0a | 58 49 66 20 74 68 65 20 |screen..|XIf the |
|00004de0| 75 73 65 72 20 74 68 65 | 6e 20 74 79 70 65 73 20 |user the|n types |
|00004df0| 61 20 63 61 72 72 69 61 | 67 65 20 72 65 74 75 72 |a carria|ge retur|
|00004e00| 6e 2c 20 6f 6e 65 20 6d | 6f 72 65 20 6c 69 6e 65 |n, one m|ore line|
|00004e10| 20 69 73 20 64 69 73 70 | 6c 61 79 65 64 2e 0a 58 | is disp|layed..X|
|00004e20| 49 66 20 74 68 65 20 75 | 73 65 72 20 68 69 74 73 |If the u|ser hits|
|00004e30| 20 61 20 73 70 61 63 65 | 2c 0a 58 61 6e 6f 74 68 | a space|,.Xanoth|
|00004e40| 65 72 20 73 63 72 65 65 | 6e 66 75 6c 20 69 73 20 |er scree|nful is |
|00004e50| 64 69 73 70 6c 61 79 65 | 64 2e 20 20 4f 74 68 65 |displaye|d. Othe|
|00004e60| 72 20 70 6f 73 73 69 62 | 69 6c 69 74 65 73 20 61 |r possib|ilites a|
|00004e70| 72 65 20 65 6e 75 6d 65 | 72 61 74 65 64 20 6c 61 |re enume|rated la|
|00004e80| 74 65 72 2e 0a 58 2e 50 | 50 0a 58 2e 49 20 5a 6d |ter..X.P|P.X.I Zm|
|00004e90| 6f 72 65 0a 58 6c 6f 6f | 6b 73 20 69 6e 20 74 68 |ore.Xloo|ks in th|
|00004ea0| 65 20 66 69 6c 65 0a 58 | 2e 49 20 2f 65 74 63 2f |e file.X|.I /etc/|
|00004eb0| 74 65 72 6d 63 61 70 0a | 58 74 6f 20 64 65 74 65 |termcap.|Xto dete|
|00004ec0| 72 6d 69 6e 65 20 74 65 | 72 6d 69 6e 61 6c 20 63 |rmine te|rminal c|
|00004ed0| 68 61 72 61 63 74 65 72 | 69 73 74 69 63 73 2c 0a |haracter|istics,.|
|00004ee0| 58 61 6e 64 20 74 6f 20 | 64 65 74 65 72 6d 69 6e |Xand to |determin|
|00004ef0| 65 20 74 68 65 20 64 65 | 66 61 75 6c 74 20 77 69 |e the de|fault wi|
|00004f00| 6e 64 6f 77 20 73 69 7a | 65 2e 0a 58 4f 6e 20 61 |ndow siz|e..XOn a|
|00004f10| 20 74 65 72 6d 69 6e 61 | 6c 20 63 61 70 61 62 6c | termina|l capabl|
|00004f20| 65 20 6f 66 20 64 69 73 | 70 6c 61 79 69 6e 67 20 |e of dis|playing |
|00004f30| 32 34 20 6c 69 6e 65 73 | 2c 0a 58 74 68 65 20 64 |24 lines|,.Xthe d|
|00004f40| 65 66 61 75 6c 74 20 77 | 69 6e 64 6f 77 20 73 69 |efault w|indow si|
|00004f50| 7a 65 20 69 73 20 32 32 | 20 6c 69 6e 65 73 2e 0a |ze is 22| lines..|
|00004f60| 58 2e 50 50 0a 58 4f 74 | 68 65 72 20 73 65 71 75 |X.PP.XOt|her sequ|
|00004f70| 65 6e 63 65 73 20 77 68 | 69 63 68 20 6d 61 79 20 |ences wh|ich may |
|00004f80| 62 65 20 74 79 70 65 64 | 20 77 68 65 6e 0a 58 2e |be typed| when.X.|
|00004f90| 49 20 7a 6d 6f 72 65 0a | 58 70 61 75 73 65 73 2c |I zmore.|Xpauses,|
|00004fa0| 20 61 6e 64 20 74 68 65 | 69 72 20 65 66 66 65 63 | and the|ir effec|
|00004fb0| 74 73 2c 20 61 72 65 20 | 61 73 20 66 6f 6c 6c 6f |ts, are |as follo|
|00004fc0| 77 73 20 28 5c 66 49 69 | 5c 66 50 20 69 73 20 61 |ws (\fIi|\fP is a|
|00004fd0| 6e 20 6f 70 74 69 6f 6e | 61 6c 20 69 6e 74 65 67 |n option|al integ|
|00004fe0| 65 72 0a 58 61 72 67 75 | 6d 65 6e 74 2c 20 64 65 |er.Xargu|ment, de|
|00004ff0| 66 61 75 6c 74 69 6e 67 | 20 74 6f 20 31 29 20 3a |faulting| to 1) :|
|00005000| 0a 58 2e 50 50 0a 58 2e | 49 50 20 5c 66 49 69 5c |.X.PP.X.|IP \fIi\|
|00005010| 7c 5c 66 50 3c 73 70 61 | 63 65 3e 0a 58 64 69 73 ||\fP<spa|ce>.Xdis|
|00005020| 70 6c 61 79 0a 58 2e 49 | 20 69 0a 58 6d 6f 72 65 |play.X.I| i.Xmore|
|00005030| 20 6c 69 6e 65 73 2c 20 | 28 6f 72 20 61 6e 6f 74 | lines, |(or anot|
|00005040| 68 65 72 20 73 63 72 65 | 65 6e 66 75 6c 20 69 66 |her scre|enful if|
|00005050| 20 6e 6f 20 61 72 67 75 | 6d 65 6e 74 20 69 73 20 | no argu|ment is |
|00005060| 67 69 76 65 6e 29 0a 58 | 2e 50 50 0a 58 2e 49 50 |given).X|.PP.X.IP|
|00005070| 20 5e 44 0a 58 64 69 73 | 70 6c 61 79 20 31 31 20 | ^D.Xdis|play 11 |
|00005080| 6d 6f 72 65 20 6c 69 6e | 65 73 20 28 61 20 60 60 |more lin|es (a ``|
|00005090| 73 63 72 6f 6c 6c 27 27 | 29 2e 0a 58 49 66 0a 58 |scroll''|)..XIf.X|
|000050a0| 2e 49 20 69 0a 58 69 73 | 20 67 69 76 65 6e 2c 20 |.I i.Xis| given, |
|000050b0| 74 68 65 6e 20 74 68 65 | 20 73 63 72 6f 6c 6c 20 |then the| scroll |
|000050c0| 73 69 7a 65 20 69 73 20 | 73 65 74 20 74 6f 20 5c |size is |set to \|
|000050d0| 66 49 69 5c 7c 5c 66 50 | 2e 0a 58 2e 50 50 0a 58 |fIi\|\fP|..X.PP.X|
|000050e0| 2e 49 50 20 64 0a 58 73 | 61 6d 65 20 61 73 20 5e |.IP d.Xs|ame as ^|
|000050f0| 44 20 28 63 6f 6e 74 72 | 6f 6c 2d 44 29 0a 58 2e |D (contr|ol-D).X.|
|00005100| 50 50 0a 58 2e 49 50 20 | 5c 66 49 69 5c 7c 5c 66 |PP.X.IP |\fIi\|\f|
|00005110| 50 7a 0a 58 73 61 6d 65 | 20 61 73 20 74 79 70 69 |Pz.Xsame| as typi|
|00005120| 6e 67 20 61 20 73 70 61 | 63 65 20 65 78 63 65 70 |ng a spa|ce excep|
|00005130| 74 20 74 68 61 74 20 5c | 66 49 69 5c 7c 5c 66 50 |t that \|fIi\|\fP|
|00005140| 2c 20 69 66 20 70 72 65 | 73 65 6e 74 2c 20 62 65 |, if pre|sent, be|
|00005150| 63 6f 6d 65 73 20 74 68 | 65 20 6e 65 77 0a 58 77 |comes th|e new.Xw|
|00005160| 69 6e 64 6f 77 20 73 69 | 7a 65 2e 20 20 4e 6f 74 |indow si|ze. Not|
|00005170| 65 20 74 68 61 74 20 74 | 68 65 20 77 69 6e 64 6f |e that t|he windo|
|00005180| 77 20 73 69 7a 65 20 72 | 65 76 65 72 74 73 20 62 |w size r|everts b|
|00005190| 61 63 6b 20 74 6f 20 74 | 68 65 20 64 65 66 61 75 |ack to t|he defau|
|000051a0| 6c 74 20 61 74 20 74 68 | 65 0a 58 65 6e 64 20 6f |lt at th|e.Xend o|
|000051b0| 66 20 74 68 65 20 63 75 | 72 72 65 6e 74 20 66 69 |f the cu|rrent fi|
|000051c0| 6c 65 2e 0a 58 2e 50 50 | 0a 58 2e 49 50 20 5c 66 |le..X.PP|.X.IP \f|
|000051d0| 49 69 5c 7c 5c 66 50 73 | 0a 58 73 6b 69 70 20 5c |Ii\|\fPs|.Xskip \|
|000051e0| 66 49 69 5c 7c 5c 66 50 | 20 6c 69 6e 65 73 20 61 |fIi\|\fP| lines a|
|000051f0| 6e 64 20 70 72 69 6e 74 | 20 61 20 73 63 72 65 65 |nd print| a scree|
|00005200| 6e 66 75 6c 20 6f 66 20 | 6c 69 6e 65 73 0a 58 2e |nful of |lines.X.|
|00005210| 50 50 0a 58 2e 49 50 20 | 5c 66 49 69 5c 7c 5c 66 |PP.X.IP |\fIi\|\f|
|00005220| 50 66 0a 58 73 6b 69 70 | 20 5c 66 49 69 5c 66 50 |Pf.Xskip| \fIi\fP|
|00005230| 20 73 63 72 65 65 6e 66 | 75 6c 73 20 61 6e 64 20 | screenf|uls and |
|00005240| 70 72 69 6e 74 20 61 20 | 73 63 72 65 65 6e 66 75 |print a |screenfu|
|00005250| 6c 20 6f 66 20 6c 69 6e | 65 73 0a 58 2e 50 50 0a |l of lin|es.X.PP.|
|00005260| 58 2e 49 50 20 22 71 20 | 6f 72 20 51 22 0a 58 71 |X.IP "q |or Q".Xq|
|00005270| 75 69 74 20 72 65 61 64 | 69 6e 67 20 74 68 65 20 |uit read|ing the |
|00005280| 63 75 72 72 65 6e 74 20 | 66 69 6c 65 3b 20 67 6f |current |file; go|
|00005290| 20 6f 6e 20 74 6f 20 74 | 68 65 20 6e 65 78 74 20 | on to t|he next |
|000052a0| 28 69 66 20 61 6e 79 29 | 0a 58 2e 50 50 0a 58 2e |(if any)|.X.PP.X.|
|000052b0| 49 50 20 65 0a 58 57 68 | 65 6e 20 74 68 65 20 70 |IP e.XWh|en the p|
|000052c0| 72 6f 6d 70 74 20 2d 2d | 4d 6f 72 65 2d 2d 28 4e |rompt --|More--(N|
|000052d0| 65 78 74 20 66 69 6c 65 | 3a 20 0a 58 2e 49 52 20 |ext file|: .X.IR |
|000052e0| 66 69 6c 65 20 29 0a 58 | 69 73 20 70 72 69 6e 74 |file ).X|is print|
|000052f0| 65 64 2c 20 74 68 69 73 | 20 63 6f 6d 6d 61 6e 64 |ed, this| command|
|00005300| 20 63 61 75 73 65 73 20 | 7a 6d 6f 72 65 20 74 6f | causes |zmore to|
|00005310| 20 65 78 69 74 2e 0a 58 | 2e 50 50 20 0a 58 2e 49 | exit..X|.PP .X.I|
|00005320| 50 20 3d 0a 58 44 69 73 | 70 6c 61 79 20 74 68 65 |P =.XDis|play the|
|00005330| 20 63 75 72 72 65 6e 74 | 20 6c 69 6e 65 20 6e 75 | current| line nu|
|00005340| 6d 62 65 72 2e 0a 58 2e | 50 50 0a 58 2e 49 50 20 |mber..X.|PP.X.IP |
|00005350| 5c 66 49 69 5c 7c 5c 66 | 50 2f 65 78 70 72 0a 58 |\fIi\|\f|P/expr.X|
|00005360| 73 65 61 72 63 68 20 66 | 6f 72 20 74 68 65 20 5c |search f|or the \|
|00005370| 66 49 69 5c 7c 5c 66 50 | 2d 74 68 20 6f 63 63 75 |fIi\|\fP|-th occu|
|00005380| 72 72 65 6e 63 65 20 6f | 66 20 74 68 65 20 72 65 |rrence o|f the re|
|00005390| 67 75 6c 61 72 20 65 78 | 70 72 65 73 73 69 6f 6e |gular ex|pression|
|000053a0| 20 5c 66 49 65 78 70 72 | 2e 5c 66 50 0a 58 49 66 | \fIexpr|.\fP.XIf|
|000053b0| 20 74 68 65 20 70 61 74 | 74 65 72 6e 20 69 73 20 | the pat|tern is |
|000053c0| 6e 6f 74 20 66 6f 75 6e | 64 2c 0a 58 2e 49 20 7a |not foun|d,.X.I z|
|000053d0| 6d 6f 72 65 0a 58 67 6f | 65 73 20 6f 6e 20 74 6f |more.Xgo|es on to|
|000053e0| 20 74 68 65 20 6e 65 78 | 74 20 66 69 6c 65 20 28 | the nex|t file (|
|000053f0| 69 66 20 61 6e 79 29 2e | 0a 58 4f 74 68 65 72 77 |if any).|.XOtherw|
|00005400| 69 73 65 2c 20 61 20 73 | 63 72 65 65 6e 66 75 6c |ise, a s|creenful|
|00005410| 20 69 73 20 64 69 73 70 | 6c 61 79 65 64 2c 20 73 | is disp|layed, s|
|00005420| 74 61 72 74 69 6e 67 20 | 74 77 6f 20 6c 69 6e 65 |tarting |two line|
|00005430| 73 20 62 65 66 6f 72 65 | 20 74 68 65 20 70 6c 61 |s before| the pla|
|00005440| 63 65 0a 58 77 68 65 72 | 65 20 74 68 65 20 65 78 |ce.Xwher|e the ex|
|00005450| 70 72 65 73 73 69 6f 6e | 20 77 61 73 20 66 6f 75 |pression| was fou|
|00005460| 6e 64 2e 0a 58 54 68 65 | 20 75 73 65 72 27 73 20 |nd..XThe| user's |
|00005470| 65 72 61 73 65 20 61 6e | 64 20 6b 69 6c 6c 20 63 |erase an|d kill c|
|00005480| 68 61 72 61 63 74 65 72 | 73 20 6d 61 79 20 62 65 |haracter|s may be|
|00005490| 20 75 73 65 64 20 74 6f | 20 65 64 69 74 20 74 68 | used to| edit th|
|000054a0| 65 20 72 65 67 75 6c 61 | 72 0a 58 65 78 70 72 65 |e regula|r.Xexpre|
|000054b0| 73 73 69 6f 6e 2e 0a 58 | 45 72 61 73 69 6e 67 20 |ssion..X|Erasing |
|000054c0| 62 61 63 6b 20 70 61 73 | 74 20 74 68 65 20 66 69 |back pas|t the fi|
|000054d0| 72 73 74 20 63 6f 6c 75 | 6d 6e 20 63 61 6e 63 65 |rst colu|mn cance|
|000054e0| 6c 73 20 74 68 65 20 73 | 65 61 72 63 68 20 63 6f |ls the s|earch co|
|000054f0| 6d 6d 61 6e 64 2e 0a 58 | 2e 50 50 0a 58 2e 49 50 |mmand..X|.PP.X.IP|
|00005500| 20 5c 66 49 69 5c 7c 5c | 66 50 6e 0a 58 73 65 61 | \fIi\|\|fPn.Xsea|
|00005510| 72 63 68 20 66 6f 72 20 | 74 68 65 20 5c 66 49 69 |rch for |the \fIi|
|00005520| 5c 7c 5c 66 50 2d 74 68 | 20 6f 63 63 75 72 72 65 |\|\fP-th| occurre|
|00005530| 6e 63 65 20 6f 66 20 74 | 68 65 20 6c 61 73 74 20 |nce of t|he last |
|00005540| 72 65 67 75 6c 61 72 20 | 65 78 70 72 65 73 73 69 |regular |expressi|
|00005550| 6f 6e 20 65 6e 74 65 72 | 65 64 2e 0a 58 2e 50 50 |on enter|ed..X.PP|
|00005560| 0a 58 2e 49 50 20 21 63 | 6f 6d 6d 61 6e 64 0a 58 |.X.IP !c|ommand.X|
|00005570| 69 6e 76 6f 6b 65 20 61 | 20 73 68 65 6c 6c 20 77 |invoke a| shell w|
|00005580| 69 74 68 20 5c 66 49 63 | 6f 6d 6d 61 6e 64 5c 7c |ith \fIc|ommand\||
|00005590| 5c 66 50 2e 20 0a 58 54 | 68 65 20 63 68 61 72 61 |\fP. .XT|he chara|
|000055a0| 63 74 65 72 20 60 21 27 | 20 69 6e 20 22 63 6f 6d |cter `!'| in "com|
|000055b0| 6d 61 6e 64 22 20 61 72 | 65 20 72 65 70 6c 61 63 |mand" ar|e replac|
|000055c0| 65 64 20 77 69 74 68 20 | 74 68 65 0a 58 74 68 65 |ed with |the.Xthe|
|000055d0| 20 70 72 65 76 69 6f 75 | 73 20 73 68 65 6c 6c 20 | previou|s shell |
|000055e0| 63 6f 6d 6d 61 6e 64 2e | 20 20 54 68 65 20 73 65 |command.| The se|
|000055f0| 71 75 65 6e 63 65 20 22 | 5c 5c 21 22 20 69 73 20 |quence "|\\!" is |
|00005600| 72 65 70 6c 61 63 65 64 | 20 62 79 20 22 21 22 2e |replaced| by "!".|
|00005610| 0a 58 2e 50 50 0a 58 2e | 49 50 20 22 3a 71 20 6f |.X.PP.X.|IP ":q o|
|00005620| 72 20 3a 51 22 0a 58 71 | 75 69 74 20 72 65 61 64 |r :Q".Xq|uit read|
|00005630| 69 6e 67 20 74 68 65 20 | 63 75 72 72 65 6e 74 20 |ing the |current |
|00005640| 66 69 6c 65 3b 20 67 6f | 20 6f 6e 20 74 6f 20 74 |file; go| on to t|
|00005650| 68 65 20 6e 65 78 74 20 | 28 69 66 20 61 6e 79 29 |he next |(if any)|
|00005660| 0a 58 28 73 61 6d 65 20 | 61 73 20 71 20 6f 72 20 |.X(same |as q or |
|00005670| 51 29 2e 0a 58 2e 50 50 | 0a 58 2e 49 50 20 2e 0a |Q)..X.PP|.X.IP ..|
|00005680| 58 28 64 6f 74 29 20 72 | 65 70 65 61 74 20 74 68 |X(dot) r|epeat th|
|00005690| 65 20 70 72 65 76 69 6f | 75 73 20 63 6f 6d 6d 61 |e previo|us comma|
|000056a0| 6e 64 2e 0a 58 2e 50 50 | 0a 58 54 68 65 20 63 6f |nd..X.PP|.XThe co|
|000056b0| 6d 6d 61 6e 64 73 20 74 | 61 6b 65 20 65 66 66 65 |mmands t|ake effe|
|000056c0| 63 74 20 69 6d 6d 65 64 | 69 61 74 65 6c 79 2c 20 |ct immed|iately, |
|000056d0| 69 2e 65 2e 2c 20 69 74 | 20 69 73 20 6e 6f 74 20 |i.e., it| is not |
|000056e0| 6e 65 63 65 73 73 61 72 | 79 20 74 6f 0a 58 74 79 |necessar|y to.Xty|
|000056f0| 70 65 20 61 20 63 61 72 | 72 69 61 67 65 20 72 65 |pe a car|riage re|
|00005700| 74 75 72 6e 2e 0a 58 55 | 70 20 74 6f 20 74 68 65 |turn..XU|p to the|
|00005710| 20 74 69 6d 65 20 77 68 | 65 6e 20 74 68 65 20 63 | time wh|en the c|
|00005720| 6f 6d 6d 61 6e 64 20 63 | 68 61 72 61 63 74 65 72 |ommand c|haracter|
|00005730| 20 69 74 73 65 6c 66 20 | 69 73 20 67 69 76 65 6e | itself |is given|
|00005740| 2c 0a 58 74 68 65 20 75 | 73 65 72 20 6d 61 79 20 |,.Xthe u|ser may |
|00005750| 68 69 74 20 74 68 65 20 | 6c 69 6e 65 20 6b 69 6c |hit the |line kil|
|00005760| 6c 20 63 68 61 72 61 63 | 74 65 72 20 74 6f 20 63 |l charac|ter to c|
|00005770| 61 6e 63 65 6c 20 74 68 | 65 20 6e 75 6d 65 72 69 |ancel th|e numeri|
|00005780| 63 61 6c 0a 58 61 72 67 | 75 6d 65 6e 74 20 62 65 |cal.Xarg|ument be|
|00005790| 69 6e 67 20 66 6f 72 6d | 65 64 2e 0a 58 49 6e 20 |ing form|ed..XIn |
|000057a0| 61 64 64 69 74 69 6f 6e | 2c 20 74 68 65 20 75 73 |addition|, the us|
|000057b0| 65 72 20 6d 61 79 20 68 | 69 74 20 74 68 65 20 65 |er may h|it the e|
|000057c0| 72 61 73 65 20 63 68 61 | 72 61 63 74 65 72 20 74 |rase cha|racter t|
|000057d0| 6f 20 72 65 64 69 73 70 | 6c 61 79 20 74 68 65 0a |o redisp|lay the.|
|000057e0| 58 2d 2d 4d 6f 72 65 2d | 2d 20 6d 65 73 73 61 67 |X--More-|- messag|
|000057f0| 65 2e 0a 58 2e 50 50 0a | 58 41 74 20 61 6e 79 20 |e..X.PP.|XAt any |
|00005800| 74 69 6d 65 20 77 68 65 | 6e 20 6f 75 74 70 75 74 |time whe|n output|
|00005810| 20 69 73 20 62 65 69 6e | 67 20 73 65 6e 74 20 74 | is bein|g sent t|
|00005820| 6f 20 74 68 65 20 74 65 | 72 6d 69 6e 61 6c 2c 20 |o the te|rminal, |
|00005830| 74 68 65 20 75 73 65 72 | 20 63 61 6e 0a 58 68 69 |the user| can.Xhi|
|00005840| 74 20 74 68 65 20 71 75 | 69 74 20 6b 65 79 20 28 |t the qu|it key (|
|00005850| 6e 6f 72 6d 61 6c 6c 79 | 20 63 6f 6e 74 72 6f 6c |normally| control|
|00005860| 5c 2d 5c 5c 29 2e 0a 58 | 2e 49 20 5a 6d 6f 72 65 |\-\\)..X|.I Zmore|
|00005870| 0a 58 77 69 6c 6c 20 73 | 74 6f 70 20 73 65 6e 64 |.Xwill s|top send|
|00005880| 69 6e 67 20 6f 75 74 70 | 75 74 2c 20 61 6e 64 20 |ing outp|ut, and |
|00005890| 77 69 6c 6c 20 64 69 73 | 70 6c 61 79 20 74 68 65 |will dis|play the|
|000058a0| 20 75 73 75 61 6c 20 2d | 2d 4d 6f 72 65 2d 2d 0a | usual -|-More--.|
|000058b0| 58 70 72 6f 6d 70 74 2e | 0a 58 54 68 65 20 75 73 |Xprompt.|.XThe us|
|000058c0| 65 72 20 6d 61 79 20 74 | 68 65 6e 20 65 6e 74 65 |er may t|hen ente|
|000058d0| 72 20 6f 6e 65 20 6f 66 | 20 74 68 65 20 61 62 6f |r one of| the abo|
|000058e0| 76 65 20 63 6f 6d 6d 61 | 6e 64 73 20 69 6e 20 74 |ve comma|nds in t|
|000058f0| 68 65 20 6e 6f 72 6d 61 | 6c 20 6d 61 6e 6e 65 72 |he norma|l manner|
|00005900| 2e 0a 58 55 6e 66 6f 72 | 74 75 6e 61 74 65 6c 79 |..XUnfor|tunately|
|00005910| 2c 20 73 6f 6d 65 20 6f | 75 74 70 75 74 20 69 73 |, some o|utput is|
|00005920| 20 6c 6f 73 74 20 77 68 | 65 6e 20 74 68 69 73 20 | lost wh|en this |
|00005930| 69 73 20 64 6f 6e 65 2c | 20 64 75 65 20 74 6f 20 |is done,| due to |
|00005940| 74 68 65 0a 58 66 61 63 | 74 20 74 68 61 74 20 61 |the.Xfac|t that a|
|00005950| 6e 79 20 63 68 61 72 61 | 63 74 65 72 73 20 77 61 |ny chara|cters wa|
|00005960| 69 74 69 6e 67 20 69 6e | 20 74 68 65 20 74 65 72 |iting in| the ter|
|00005970| 6d 69 6e 61 6c 27 73 20 | 6f 75 74 70 75 74 20 71 |minal's |output q|
|00005980| 75 65 75 65 0a 58 61 72 | 65 20 66 6c 75 73 68 65 |ueue.Xar|e flushe|
|00005990| 64 20 77 68 65 6e 20 74 | 68 65 20 71 75 69 74 20 |d when t|he quit |
|000059a0| 73 69 67 6e 61 6c 20 6f | 63 63 75 72 73 2e 0a 58 |signal o|ccurs..X|
|000059b0| 2e 50 50 0a 58 54 68 65 | 20 74 65 72 6d 69 6e 61 |.PP.XThe| termina|
|000059c0| 6c 20 69 73 20 73 65 74 | 20 74 6f 0a 58 2e 49 20 |l is set| to.X.I |
|000059d0| 6e 6f 65 63 68 6f 0a 58 | 6d 6f 64 65 20 62 79 20 |noecho.X|mode by |
|000059e0| 74 68 69 73 20 70 72 6f | 67 72 61 6d 20 73 6f 20 |this pro|gram so |
|000059f0| 74 68 61 74 20 74 68 65 | 20 6f 75 74 70 75 74 20 |that the| output |
|00005a00| 63 61 6e 20 62 65 20 63 | 6f 6e 74 69 6e 75 6f 75 |can be c|ontinuou|
|00005a10| 73 2e 0a 58 57 68 61 74 | 20 79 6f 75 20 74 79 70 |s..XWhat| you typ|
|00005a20| 65 20 77 69 6c 6c 20 74 | 68 75 73 20 6e 6f 74 20 |e will t|hus not |
|00005a30| 73 68 6f 77 20 6f 6e 20 | 79 6f 75 72 20 74 65 72 |show on |your ter|
|00005a40| 6d 69 6e 61 6c 2c 20 65 | 78 63 65 70 74 20 66 6f |minal, e|xcept fo|
|00005a50| 72 20 74 68 65 20 2f 20 | 61 6e 64 20 21 0a 58 63 |r the / |and !.Xc|
|00005a60| 6f 6d 6d 61 6e 64 73 2e | 0a 58 2e 50 50 0a 58 49 |ommands.|.X.PP.XI|
|00005a70| 66 20 74 68 65 20 73 74 | 61 6e 64 61 72 64 20 6f |f the st|andard o|
|00005a80| 75 74 70 75 74 20 69 73 | 20 6e 6f 74 20 61 20 74 |utput is| not a t|
|00005a90| 65 6c 65 74 79 70 65 2c | 20 74 68 65 6e 0a 58 2e |eletype,| then.X.|
|00005aa0| 49 20 7a 6d 6f 72 65 0a | 58 61 63 74 73 20 6a 75 |I zmore.|Xacts ju|
|00005ab0| 73 74 20 6c 69 6b 65 0a | 58 2e 49 20 7a 63 61 74 |st like.|X.I zcat|
|00005ac0| 2c 0a 58 65 78 63 65 70 | 74 20 74 68 61 74 20 61 |,.Xexcep|t that a|
|00005ad0| 20 68 65 61 64 65 72 20 | 69 73 20 70 72 69 6e 74 | header |is print|
|00005ae0| 65 64 20 62 65 66 6f 72 | 65 20 65 61 63 68 20 66 |ed befor|e each f|
|00005af0| 69 6c 65 2e 0a 58 2e 53 | 48 20 46 49 4c 45 53 0a |ile..X.S|H FILES.|
|00005b00| 58 2e 44 54 0a 58 2f 65 | 74 63 2f 74 65 72 6d 63 |X.DT.X/e|tc/termc|
|00005b10| 61 70 09 09 54 65 72 6d | 69 6e 61 6c 20 64 61 74 |ap..Term|inal dat|
|00005b20| 61 20 62 61 73 65 0a 58 | 2e 53 48 20 22 53 45 45 |a base.X|.SH "SEE|
|00005b30| 20 41 4c 53 4f 22 0a 58 | 6d 6f 72 65 28 31 29 2c | ALSO".X|more(1),|
|00005b40| 20 7a 63 61 74 28 31 29 | 2c 20 63 6f 6d 70 72 65 | zcat(1)|, compre|
|00005b50| 73 73 28 31 29 2c 20 75 | 6e 63 6f 6d 70 72 65 73 |ss(1), u|ncompres|
|00005b60| 73 28 31 29 0a 45 4e 44 | 5f 4f 46 5f 46 49 4c 45 |s(1).END|_OF_FILE|
|00005b70| 0a 69 66 20 74 65 73 74 | 20 33 37 30 32 20 2d 6e |.if test| 3702 -n|
|00005b80| 65 20 60 77 63 20 2d 63 | 20 3c 27 7a 6d 6f 72 65 |e `wc -c| <'zmore|
|00005b90| 2e 31 27 60 3b 20 74 68 | 65 6e 0a 20 20 20 20 65 |.1'`; th|en. e|
|00005ba0| 63 68 6f 20 73 68 61 72 | 3a 20 5c 22 27 7a 6d 6f |cho shar|: \"'zmo|
|00005bb0| 72 65 2e 31 27 5c 22 20 | 75 6e 70 61 63 6b 65 64 |re.1'\" |unpacked|
|00005bc0| 20 77 69 74 68 20 77 72 | 6f 6e 67 20 73 69 7a 65 | with wr|ong size|
|00005bd0| 21 0a 66 69 0a 23 20 65 | 6e 64 20 6f 66 20 27 7a |!.fi.# e|nd of 'z|
|00005be0| 6d 6f 72 65 2e 31 27 0a | 66 69 0a 69 66 20 74 65 |more.1'.|fi.if te|
|00005bf0| 73 74 20 2d 66 20 27 70 | 61 74 63 68 6c 65 76 65 |st -f 'p|atchleve|
|00005c00| 6c 2e 68 27 20 2d 61 20 | 22 24 7b 31 7d 22 20 21 |l.h' -a |"${1}" !|
|00005c10| 3d 20 22 2d 63 22 20 3b | 20 74 68 65 6e 20 0a 20 |= "-c" ;| then . |
|00005c20| 20 65 63 68 6f 20 73 68 | 61 72 3a 20 57 69 6c 6c | echo sh|ar: Will|
|00005c30| 20 6e 6f 74 20 63 6c 6f | 62 62 65 72 20 65 78 69 | not clo|bber exi|
|00005c40| 73 74 69 6e 67 20 66 69 | 6c 65 20 5c 22 27 70 61 |sting fi|le \"'pa|
|00005c50| 74 63 68 6c 65 76 65 6c | 2e 68 27 5c 22 0a 65 6c |tchlevel|.h'\".el|
|00005c60| 73 65 0a 65 63 68 6f 20 | 73 68 61 72 3a 20 45 78 |se.echo |shar: Ex|
|00005c70| 74 72 61 63 74 69 6e 67 | 20 5c 22 27 70 61 74 63 |tracting| \"'patc|
|00005c80| 68 6c 65 76 65 6c 2e 68 | 27 5c 22 20 5c 28 32 31 |hlevel.h|'\" \(21|
|00005c90| 20 63 68 61 72 61 63 74 | 65 72 73 5c 29 0a 73 65 | charact|ers\).se|
|00005ca0| 64 20 22 73 2f 5e 58 2f | 2f 22 20 3e 27 70 61 74 |d "s/^X/|/" >'pat|
|00005cb0| 63 68 6c 65 76 65 6c 2e | 68 27 20 3c 3c 27 45 4e |chlevel.|h' <<'EN|
|00005cc0| 44 5f 4f 46 5f 46 49 4c | 45 27 0a 58 23 64 65 66 |D_OF_FIL|E'.X#def|
|00005cd0| 69 6e 65 20 50 41 54 43 | 48 4c 45 56 45 4c 20 30 |ine PATC|HLEVEL 0|
|00005ce0| 0a 45 4e 44 5f 4f 46 5f | 46 49 4c 45 0a 69 66 20 |.END_OF_|FILE.if |
|00005cf0| 74 65 73 74 20 32 31 20 | 2d 6e 65 20 60 77 63 20 |test 21 |-ne `wc |
|00005d00| 2d 63 20 3c 27 70 61 74 | 63 68 6c 65 76 65 6c 2e |-c <'pat|chlevel.|
|00005d10| 68 27 60 3b 20 74 68 65 | 6e 0a 20 20 20 20 65 63 |h'`; the|n. ec|
|00005d20| 68 6f 20 73 68 61 72 3a | 20 5c 22 27 70 61 74 63 |ho shar:| \"'patc|
|00005d30| 68 6c 65 76 65 6c 2e 68 | 27 5c 22 20 75 6e 70 61 |hlevel.h|'\" unpa|
|00005d40| 63 6b 65 64 20 77 69 74 | 68 20 77 72 6f 6e 67 20 |cked wit|h wrong |
|00005d50| 73 69 7a 65 21 0a 66 69 | 0a 23 20 65 6e 64 20 6f |size!.fi|.# end o|
|00005d60| 66 20 27 70 61 74 63 68 | 6c 65 76 65 6c 2e 68 27 |f 'patch|level.h'|
|00005d70| 0a 66 69 0a 65 63 68 6f | 20 73 68 61 72 3a 20 45 |.fi.echo| shar: E|
|00005d80| 6e 64 20 6f 66 20 61 72 | 63 68 69 76 65 20 32 20 |nd of ar|chive 2 |
|00005d90| 5c 28 6f 66 20 32 5c 29 | 2e 0a 63 70 20 2f 64 65 |\(of 2\)|..cp /de|
|00005da0| 76 2f 6e 75 6c 6c 20 61 | 72 6b 32 69 73 64 6f 6e |v/null a|rk2isdon|
|00005db0| 65 0a 4d 49 53 53 49 4e | 47 3d 22 22 0a 66 6f 72 |e.MISSIN|G="".for|
|00005dc0| 20 49 20 69 6e 20 31 20 | 32 20 3b 20 64 6f 0a 20 | I in 1 |2 ; do. |
|00005dd0| 20 20 20 69 66 20 74 65 | 73 74 20 21 20 2d 66 20 | if te|st ! -f |
|00005de0| 61 72 6b 24 7b 49 7d 69 | 73 64 6f 6e 65 20 3b 20 |ark${I}i|sdone ; |
|00005df0| 74 68 65 6e 0a 09 4d 49 | 53 53 49 4e 47 3d 22 24 |then..MI|SSING="$|
|00005e00| 7b 4d 49 53 53 49 4e 47 | 7d 20 24 7b 49 7d 22 0a |{MISSING|} ${I}".|
|00005e10| 20 20 20 20 66 69 0a 64 | 6f 6e 65 0a 69 66 20 74 | fi.d|one.if t|
|00005e20| 65 73 74 20 22 24 7b 4d | 49 53 53 49 4e 47 7d 22 |est "${M|ISSING}"|
|00005e30| 20 3d 20 22 22 20 3b 20 | 74 68 65 6e 0a 20 20 20 | = "" ; |then. |
|00005e40| 20 65 63 68 6f 20 59 6f | 75 20 68 61 76 65 20 75 | echo Yo|u have u|
|00005e50| 6e 70 61 63 6b 65 64 20 | 62 6f 74 68 20 61 72 63 |npacked |both arc|
|00005e60| 68 69 76 65 73 2e 0a 20 | 20 20 20 72 6d 20 2d 66 |hives.. | rm -f|
|00005e70| 20 61 72 6b 5b 31 2d 39 | 5d 69 73 64 6f 6e 65 0a | ark[1-9|]isdone.|
|00005e80| 65 6c 73 65 0a 20 20 20 | 20 65 63 68 6f 20 59 6f |else. | echo Yo|
|00005e90| 75 20 73 74 69 6c 6c 20 | 6e 65 65 64 20 74 6f 20 |u still |need to |
|00005ea0| 75 6e 70 61 63 6b 20 74 | 68 65 20 66 6f 6c 6c 6f |unpack t|he follo|
|00005eb0| 77 69 6e 67 20 61 72 63 | 68 69 76 65 73 3a 0a 20 |wing arc|hives:. |
|00005ec0| 20 20 20 65 63 68 6f 20 | 22 20 20 20 20 20 20 20 | echo |" |
|00005ed0| 20 22 20 24 7b 4d 49 53 | 53 49 4e 47 7d 0a 66 69 | " ${MIS|SING}.fi|
|00005ee0| 0a 23 23 20 20 45 6e 64 | 20 6f 66 20 73 68 65 6c |.## End| of shel|
|00005ef0| 6c 20 61 72 63 68 69 76 | 65 2e 0a 65 78 69 74 20 |l archiv|e..exit |
|00005f00| 30 0a 0a 0a 2d 2d 20 0a | 4b 65 6e 74 20 4c 61 6e |0...-- .|Kent Lan|
|00005f10| 64 66 69 65 6c 64 20 20 | 20 20 20 20 20 20 20 20 |dfield | |
|00005f20| 20 20 20 20 20 20 20 20 | 20 49 4e 54 45 52 4e 45 | | INTERNE|
|00005f30| 54 3a 20 6b 65 6e 74 40 | 73 70 61 72 6b 79 2e 49 |T: kent@|sparky.I|
|00005f40| 4d 44 2e 53 74 65 72 6c | 69 6e 67 2e 43 4f 4d 0a |MD.Sterl|ing.COM.|
|00005f50| 53 74 65 72 6c 69 6e 67 | 20 53 6f 66 74 77 61 72 |Sterling| Softwar|
|00005f60| 65 2c 20 49 4d 44 20 20 | 20 20 20 20 20 20 20 20 |e, IMD | |
|00005f70| 20 55 55 43 50 3a 20 20 | 20 20 20 75 75 6e 65 74 | UUCP: | uunet|
|00005f80| 21 73 70 61 72 6b 79 21 | 6b 65 6e 74 0a 50 68 6f |!sparky!|kent.Pho|
|00005f90| 6e 65 3a 20 20 20 20 28 | 34 30 32 29 20 32 39 31 |ne: (|402) 291|
|00005fa0| 2d 38 33 30 30 20 20 20 | 20 20 20 20 20 20 46 41 |-8300 | FA|
|00005fb0| 58 3a 20 20 20 20 20 20 | 28 34 30 32 29 20 32 39 |X: |(402) 29|
|00005fc0| 31 2d 34 33 36 32 0a 50 | 6c 65 61 73 65 20 73 65 |1-4362.P|lease se|
|00005fd0| 6e 64 20 63 6f 6d 70 2e | 73 6f 75 72 63 65 73 2e |nd comp.|sources.|
|00005fe0| 6d 69 73 63 2d 72 65 6c | 61 74 65 64 20 6d 61 69 |misc-rel|ated mai|
|00005ff0| 6c 20 74 6f 20 6b 65 6e | 74 40 75 75 6e 65 74 2e |l to ken|t@uunet.|
|00006000| 75 75 2e 6e 65 74 2e 0a | 0a 65 78 69 74 20 30 20 |uu.net..|.exit 0 |
|00006010| 23 20 4a 75 73 74 20 69 | 6e 20 63 61 73 65 2e 2e |# Just i|n case..|
|00006020| 2e 0a 2d 2d 20 0a 4b 65 | 6e 74 20 4c 61 6e 64 66 |..-- .Ke|nt Landf|
|00006030| 69 65 6c 64 20 20 20 20 | 20 20 20 20 20 20 20 20 |ield | |
|00006040| 20 20 20 20 20 20 20 49 | 4e 54 45 52 4e 45 54 3a | I|NTERNET:|
|00006050| 20 6b 65 6e 74 40 73 70 | 61 72 6b 79 2e 49 4d 44 | kent@sp|arky.IMD|
|00006060| 2e 53 74 65 72 6c 69 6e | 67 2e 43 4f 4d 0a 53 74 |.Sterlin|g.COM.St|
|00006070| 65 72 6c 69 6e 67 20 53 | 6f 66 74 77 61 72 65 2c |erling S|oftware,|
|00006080| 20 49 4d 44 20 20 20 20 | 20 20 20 20 20 20 20 55 | IMD | U|
|00006090| 55 43 50 3a 20 20 20 20 | 20 75 75 6e 65 74 21 73 |UCP: | uunet!s|
|000060a0| 70 61 72 6b 79 21 6b 65 | 6e 74 0a 50 68 6f 6e 65 |parky!ke|nt.Phone|
|000060b0| 3a 20 20 20 20 28 34 30 | 32 29 20 32 39 31 2d 38 |: (40|2) 291-8|
|000060c0| 33 30 30 20 20 20 20 20 | 20 20 20 20 46 41 58 3a |300 | FAX:|
|000060d0| 20 20 20 20 20 20 28 34 | 30 32 29 20 32 39 31 2d | (4|02) 291-|
|000060e0| 34 33 36 32 0a 50 6c 65 | 61 73 65 20 73 65 6e 64 |4362.Ple|ase send|
|000060f0| 20 63 6f 6d 70 2e 73 6f | 75 72 63 65 73 2e 6d 69 | comp.so|urces.mi|
|00006100| 73 63 2d 72 65 6c 61 74 | 65 64 20 6d 61 69 6c 20 |sc-relat|ed mail |
|00006110| 74 6f 20 6b 65 6e 74 40 | 75 75 6e 65 74 2e 75 75 |to kent@|uunet.uu|
|00006120| 2e 6e 65 74 2e 0a | |.net.. | |
+--------+-------------------------+-------------------------+--------+--------+