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 |
100%
| dexvert
| BinHex (archive/binHex)
| magic
| Supported |
100%
| dexvert
| Newsgroup Content (archive/news)
| magic
| Supported |
100%
| dexvert
| Internet Message Format (text/imf)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| news or mail, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/329 Shell Archive Format
| default
| |
50%
| lsar
| BinHex
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 44 61 74 65 3a 20 4d 6f | 6e 2c 20 31 38 20 4d 61 |Date: Mo|n, 18 Ma|
|00000010| 72 20 39 31 20 30 37 3a | 33 36 3a 35 37 20 2d 30 |r 91 07:|36:57 -0|
|00000020| 38 30 30 0a 46 72 6f 6d | 3a 20 44 6f 6e 61 6c 64 |800.From|: Donald|
|00000030| 20 42 75 72 72 20 3c 64 | 62 75 72 72 40 6f 63 66 | Burr <d|burr@ocf|
|00000040| 2e 62 65 72 6b 65 6c 65 | 79 2e 65 64 75 3e 0a 53 |.berkele|y.edu>.S|
|00000050| 75 62 6a 65 63 74 3a 20 | 4d 41 43 49 46 59 20 2d |ubject: |MACIFY -|
|00000060| 2d 20 70 72 6f 67 72 61 | 6d 20 66 6f 72 20 55 4e |- progra|m for UN|
|00000070| 49 58 20 41 4e 44 20 4d | 61 63 20 74 68 61 74 20 |IX AND M|ac that |
|00000080| 63 6f 6e 76 65 72 74 73 | 20 74 65 78 74 66 69 6c |converts| textfil|
|00000090| 65 73 0a 0a 0a 20 20 20 | 20 20 20 20 20 20 20 20 |es... | |
|000000a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000000b0| 20 4d 61 63 69 66 79 20 | 2d 2d 20 56 65 72 73 69 | Macify |-- Versi|
|000000c0| 6f 6e 20 31 2e 33 0a 0a | 42 79 3a 20 44 6f 6e 61 |on 1.3..|By: Dona|
|000000d0| 6c 64 20 42 75 72 72 0a | 20 20 20 20 49 4e 54 45 |ld Burr.| INTE|
|000000e0| 52 4e 45 54 3a 20 64 62 | 75 72 72 40 6f 63 66 2e |RNET: db|urr@ocf.|
|000000f0| 62 65 72 6b 65 6c 65 79 | 2e 65 64 75 2c 20 37 32 |berkeley|.edu, 72|
|00000100| 35 34 30 2e 33 30 37 31 | 40 63 6f 6d 70 75 73 65 |540.3071|@compuse|
|00000110| 72 76 65 2e 43 4f 4d 0a | 20 20 20 20 43 6f 6d 70 |rve.COM.| Comp|
|00000120| 75 24 65 72 76 65 3a 20 | 37 32 35 34 30 2c 33 30 |u$erve: |72540,30|
|00000130| 37 31 20 20 20 20 20 20 | 20 20 20 41 6d 65 72 69 |71 | Ameri|
|00000140| 63 61 20 4f 6e 6c 69 6e | 65 3a 20 44 6f 6e 61 6c |ca Onlin|e: Donal|
|00000150| 64 42 75 72 72 0a 0a 54 | 68 69 73 20 69 73 20 76 |dBurr..T|his is v|
|00000160| 65 72 73 69 6f 6e 20 31 | 2e 33 20 6f 66 20 4d 61 |ersion 1|.3 of Ma|
|00000170| 63 69 66 79 2c 20 61 20 | 55 4e 49 58 2d 65 6e 64 |cify, a |UNIX-end|
|00000180| 20 70 72 6f 67 72 61 6d | 20 74 6f 20 6d 61 6b 65 | program| to make|
|00000190| 20 79 6f 75 72 20 4d 61 | 63 20 64 6f 77 6e 6c 6f | your Ma|c downlo|
|000001a0| 61 64 73 0a 74 75 72 6e | 20 6f 75 74 20 72 69 67 |ads.turn| out rig|
|000001b0| 68 74 2e 20 20 54 68 69 | 73 20 76 65 72 73 69 6f |ht. Thi|s versio|
|000001c0| 6e 20 61 6c 73 6f 20 69 | 6e 63 6c 75 64 65 73 20 |n also i|ncludes |
|000001d0| 61 20 4d 61 63 20 70 72 | 6f 67 72 61 6d 20 74 68 |a Mac pr|ogram th|
|000001e0| 61 74 20 64 6f 65 73 20 | 74 68 65 0a 73 61 6d 65 |at does |the.same|
|000001f0| 20 74 68 69 6e 67 2e 0a | 0a 49 74 20 77 69 6c 6c | thing..|.It will|
|00000200| 20 63 6f 6e 76 65 72 74 | 20 62 65 74 77 65 65 6e | convert| between|
|00000210| 20 55 4e 49 58 20 6e 65 | 77 6c 69 6e 65 73 20 61 | UNIX ne|wlines a|
|00000220| 6e 64 20 4d 61 63 69 6e | 74 6f 73 68 20 65 6e 64 |nd Macin|tosh end|
|00000230| 2d 6f 66 2d 6c 69 6e 65 | 20 63 68 61 72 61 63 74 |-of-line| charact|
|00000240| 65 72 73 0a 28 63 6f 6e | 74 72 6f 6c 2d 4d 2c 20 |ers.(con|trol-M, |
|00000250| 68 65 78 20 30 44 29 2e | 20 20 44 69 72 65 63 74 |hex 0D).| Direct|
|00000260| 69 6f 6e 20 6f 66 20 63 | 6f 6e 76 65 72 73 69 6f |ion of c|onversio|
|00000270| 6e 20 28 55 4e 49 58 20 | 2d 3e 20 4d 61 63 2c 20 |n (UNIX |-> Mac, |
|00000280| 6f 72 20 4d 61 63 20 2d | 3e 20 55 4e 49 58 29 0a |or Mac -|> UNIX).|
|00000290| 63 61 6e 20 62 65 20 73 | 70 65 63 69 66 69 65 64 |can be s|pecified|
|000002a0| 20 61 74 20 74 68 65 20 | 63 6f 6d 6d 61 6e 64 20 | at the |command |
|000002b0| 6c 69 6e 65 2c 20 61 6e | 64 20 74 68 75 73 20 66 |line, an|d thus f|
|000002c0| 69 6c 65 73 20 63 61 6e | 20 62 65 20 63 6f 6e 76 |iles can| be conv|
|000002d0| 65 72 74 65 64 0a 62 6f | 74 68 20 64 69 72 65 63 |erted.bo|th direc|
|000002e0| 74 69 6f 6e 73 2e 0a 0a | 54 68 69 73 20 69 73 20 |tions...|This is |
|000002f0| 75 73 65 66 75 6c 20 69 | 66 20 79 6f 75 72 20 55 |useful i|f your U|
|00000300| 4e 49 58 20 2d 3e 20 4d | 61 63 20 64 6f 77 6e 6c |NIX -> M|ac downl|
|00000310| 6f 61 64 73 2c 20 6f 72 | 20 75 70 6c 6f 61 64 73 |oads, or| uploads|
|00000320| 2c 20 6f 66 20 74 65 78 | 74 20 66 69 6c 65 73 0a |, of tex|t files.|
|00000330| 61 72 65 20 66 61 69 6c | 69 6e 67 20 6d 69 73 65 |are fail|ing mise|
|00000340| 72 61 62 6c 79 2e 20 20 | 57 68 69 74 65 20 4b 6e |rably. |White Kn|
|00000350| 69 67 68 74 20 68 61 73 | 20 61 20 74 65 6e 64 65 |ight has| a tende|
|00000360| 6e 63 79 20 74 6f 20 64 | 6f 20 74 68 69 73 2c 20 |ncy to d|o this, |
|00000370| 61 6e 64 20 6f 74 68 65 | 72 0a 63 6f 6d 6d 20 70 |and othe|r.comm p|
|00000380| 72 6f 67 72 61 6d 73 20 | 6d 61 79 20 61 73 20 77 |rograms |may as w|
|00000390| 65 6c 6c 2e 0a 0a 50 6c | 65 61 73 65 20 73 65 6e |ell...Pl|ease sen|
|000003a0| 64 20 61 6c 6c 20 63 6f | 6d 6d 65 6e 74 73 2c 20 |d all co|mments, |
|000003b0| 62 75 67 20 72 65 70 6f | 72 74 73 2c 20 66 65 61 |bug repo|rts, fea|
|000003c0| 74 75 72 65 20 72 65 71 | 75 65 73 74 73 2c 20 65 |ture req|uests, e|
|000003d0| 74 63 2e 20 74 6f 20 74 | 68 65 0a 49 6e 74 65 72 |tc. to t|he.Inter|
|000003e0| 6e 65 74 20 61 64 64 72 | 65 73 73 20 6c 69 73 74 |net addr|ess list|
|000003f0| 65 64 20 61 62 6f 76 65 | 2e 0a 0a 54 68 69 73 20 |ed above|...This |
|00000400| 73 6f 66 74 77 61 72 65 | 20 69 73 20 62 65 69 6e |software| is bein|
|00000410| 67 20 64 6f 6e 61 74 65 | 64 20 74 6f 20 74 68 65 |g donate|d to the|
|00000420| 20 70 75 62 6c 69 63 20 | 64 6f 6d 61 69 6e 2e 20 | public |domain. |
|00000430| 20 50 65 72 6d 69 73 73 | 69 6f 6e 20 69 73 20 68 | Permiss|ion is h|
|00000440| 65 72 65 62 79 0a 67 72 | 61 6e 74 65 64 20 74 6f |ereby.gr|anted to|
|00000450| 20 66 72 65 65 6c 79 20 | 63 6f 70 79 20 61 6e 64 | freely |copy and|
|00000460| 20 64 69 73 74 72 69 62 | 75 74 65 20 74 68 69 73 | distrib|ute this|
|00000470| 20 73 6f 75 72 63 65 20 | 63 6f 64 65 2c 20 61 73 | source |code, as|
|00000480| 20 6c 6f 6e 67 20 61 73 | 20 6e 6f 20 66 65 65 73 | long as| no fees|
|00000490| 0a 61 72 65 20 63 68 61 | 72 67 65 64 20 66 6f 72 |.are cha|rged for|
|000004a0| 20 73 75 63 68 20 64 75 | 70 6c 69 63 61 74 69 6f | such du|plicatio|
|000004b0| 6e 2e 20 20 50 65 72 6d | 69 73 73 69 6f 6e 20 69 |n. Perm|ission i|
|000004c0| 73 20 61 6c 73 6f 20 67 | 72 61 6e 74 65 64 20 74 |s also g|ranted t|
|000004d0| 6f 20 6d 6f 64 69 66 79 | 0a 74 68 69 73 20 73 6f |o modify|.this so|
|000004e0| 75 72 63 65 20 63 6f 64 | 65 20 61 74 20 77 69 6c |urce cod|e at wil|
|000004f0| 6c 2c 20 70 72 6f 76 69 | 64 69 6e 67 20 74 68 61 |l, provi|ding tha|
|00000500| 74 20 79 6f 75 20 69 6e | 73 65 72 74 20 61 20 6e |t you in|sert a n|
|00000510| 6f 74 69 63 65 20 69 6e | 20 74 68 65 20 64 69 73 |otice in| the dis|
|00000520| 74 2d 0a 72 69 62 75 74 | 69 6f 6e 20 74 68 61 74 |t-.ribut|ion that|
|00000530| 20 74 68 69 73 20 73 6f | 75 72 63 65 20 69 73 20 | this so|urce is |
|00000540| 4e 4f 54 20 74 68 65 20 | 6f 72 69 67 69 6e 61 6c |NOT the |original|
|00000550| 20 22 4d 61 63 69 66 79 | 22 20 73 6f 75 72 63 65 | "Macify|" source|
|00000560| 2c 20 61 6e 64 20 74 68 | 61 74 20 79 6f 75 0a 6e |, and th|at you.n|
|00000570| 6f 74 20 72 65 6d 6f 76 | 65 20 6d 79 20 6e 61 6d |ot remov|e my nam|
|00000580| 65 20 66 72 6f 6d 20 74 | 68 65 20 70 72 6f 67 72 |e from t|he progr|
|00000590| 61 6d 20 61 6e 64 20 61 | 63 63 6f 6d 70 61 6e 79 |am and a|ccompany|
|000005a0| 69 6e 67 20 64 6f 63 75 | 6d 65 6e 74 61 74 69 6f |ing docu|mentatio|
|000005b0| 6e 2e 0a 0a 23 21 20 2f | 62 69 6e 2f 73 68 0a 23 |n...#! /|bin/sh.#|
|000005c0| 20 54 68 69 73 20 69 73 | 20 61 20 73 68 65 6c 6c | This is| a shell|
|000005d0| 20 61 72 63 68 69 76 65 | 2c 20 6d 65 61 6e 69 6e | archive|, meanin|
|000005e0| 67 3a 0a 23 20 31 2e 20 | 52 65 6d 6f 76 65 20 65 |g:.# 1. |Remove e|
|000005f0| 76 65 72 79 74 68 69 6e | 67 20 61 62 6f 76 65 20 |verythin|g above |
|00000600| 74 68 65 20 23 21 20 2f | 62 69 6e 2f 73 68 20 6c |the #! /|bin/sh l|
|00000610| 69 6e 65 2e 0a 23 20 32 | 2e 20 53 61 76 65 20 74 |ine..# 2|. Save t|
|00000620| 68 65 20 72 65 73 75 6c | 74 69 6e 67 20 74 65 78 |he resul|ting tex|
|00000630| 74 20 69 6e 20 61 20 66 | 69 6c 65 2e 0a 23 20 33 |t in a f|ile..# 3|
|00000640| 2e 20 45 78 65 63 75 74 | 65 20 74 68 65 20 66 69 |. Execut|e the fi|
|00000650| 6c 65 20 77 69 74 68 20 | 2f 62 69 6e 2f 73 68 20 |le with |/bin/sh |
|00000660| 28 6e 6f 74 20 63 73 68 | 29 20 74 6f 20 63 72 65 |(not csh|) to cre|
|00000670| 61 74 65 20 74 68 65 20 | 66 69 6c 65 73 3a 0a 23 |ate the |files:.#|
|00000680| 09 52 45 41 44 4d 45 0a | 23 09 4d 41 4e 49 46 45 |.README.|#.MANIFE|
|00000690| 53 54 0a 23 09 42 55 47 | 53 0a 23 09 54 4f 44 4f |ST.#.BUG|S.#.TODO|
|000006a0| 0a 23 09 4d 61 6b 65 66 | 69 6c 65 0a 23 09 6d 61 |.#.Makef|ile.#.ma|
|000006b0| 63 69 66 79 2e 63 0a 23 | 09 6d 61 63 69 66 79 2e |cify.c.#|.macify.|
|000006c0| 68 0a 23 09 63 6f 6e 76 | 65 72 74 2e 63 0a 23 09 |h.#.conv|ert.c.#.|
|000006d0| 6d 61 63 69 66 79 2e 31 | 0a 23 09 6d 61 63 69 66 |macify.1|.#.macif|
|000006e0| 79 2e 68 71 78 0a 23 20 | 57 72 61 70 70 65 64 20 |y.hqx.# |Wrapped |
|000006f0| 62 79 20 72 6f 6f 74 40 | 64 65 75 74 73 63 68 20 |by root@|deutsch |
|00000700| 20 6f 6e 20 46 72 69 20 | 4d 61 72 20 31 35 20 30 | on Fri |Mar 15 0|
|00000710| 34 3a 31 31 3a 33 31 20 | 31 39 39 31 0a 65 78 70 |4:11:31 |1991.exp|
|00000720| 6f 72 74 20 50 41 54 48 | 3b 20 50 41 54 48 3d 2f |ort PATH|; PATH=/|
|00000730| 62 69 6e 3a 24 50 41 54 | 48 0a 65 63 68 6f 20 73 |bin:$PAT|H.echo s|
|00000740| 68 61 72 3a 20 65 78 74 | 72 61 63 74 69 6e 67 20 |har: ext|racting |
|00000750| 22 27 52 45 41 44 4d 45 | 27 22 20 27 28 33 36 36 |"'README|'" '(366|
|00000760| 35 20 63 68 61 72 61 63 | 74 65 72 73 29 27 0a 69 |5 charac|ters)'.i|
|00000770| 66 20 74 65 73 74 20 2d | 66 20 27 52 45 41 44 4d |f test -|f 'READM|
|00000780| 45 27 0a 74 68 65 6e 0a | 09 65 63 68 6f 20 73 68 |E'.then.|.echo sh|
|00000790| 61 72 3a 20 77 69 6c 6c | 20 6e 6f 74 20 6f 76 65 |ar: will| not ove|
|000007a0| 72 2d 77 72 69 74 65 20 | 65 78 69 73 74 69 6e 67 |r-write |existing|
|000007b0| 20 66 69 6c 65 20 22 27 | 52 45 41 44 4d 45 27 22 | file "'|README'"|
|000007c0| 0a 65 6c 73 65 0a 63 61 | 74 20 3c 3c 20 5c 53 48 |.else.ca|t << \SH|
|000007d0| 41 52 5f 45 4f 46 20 3e | 20 27 52 45 41 44 4d 45 |AR_EOF >| 'README|
|000007e0| 27 0a 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |'.. | |
|000007f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000800| 20 20 4d 41 43 49 46 59 | 20 76 31 2e 33 0a 0a 42 | MACIFY| v1.3..B|
|00000810| 79 3a 20 44 6f 6e 61 6c | 64 20 42 75 72 72 20 20 |y: Donal|d Burr |
|00000820| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000830| 20 20 20 20 20 20 0a 20 | 20 20 20 49 4e 54 45 52 | . | INTER|
|00000840| 4e 45 54 3a 20 64 62 75 | 72 72 40 6f 63 66 2e 62 |NET: dbu|rr@ocf.b|
|00000850| 65 72 6b 65 6c 65 79 2e | 65 64 75 2c 20 37 32 35 |erkeley.|edu, 725|
|00000860| 34 30 2e 33 30 37 31 40 | 63 6f 6d 70 75 73 65 72 |40.3071@|compuser|
|00000870| 76 65 2e 43 4f 4d 0a 20 | 20 20 20 43 6f 6d 70 75 |ve.COM. | Compu|
|00000880| 24 65 72 76 65 3a 20 37 | 32 35 34 30 2c 33 30 37 |$erve: 7|2540,307|
|00000890| 31 20 20 20 20 20 20 20 | 20 20 41 6d 65 72 69 63 |1 | Americ|
|000008a0| 61 20 4f 6e 6c 69 6e 65 | 3a 20 44 6f 6e 61 6c 64 |a Online|: Donald|
|000008b0| 42 75 72 72 0a 0a 72 65 | 6c 65 61 73 65 64 20 69 |Burr..re|leased i|
|000008c0| 6e 74 6f 20 74 68 65 20 | 70 75 62 6c 69 63 20 64 |nto the |public d|
|000008d0| 6f 6d 61 69 6e 0a 0a 50 | 55 52 50 4f 53 45 3a 0a |omain..P|URPOSE:.|
|000008e0| 0a 09 49 20 77 61 73 20 | 67 65 74 74 69 6e 67 20 |..I was |getting |
|000008f0| 73 69 63 6b 20 61 6e 64 | 20 74 69 72 65 64 20 6f |sick and| tired o|
|00000900| 66 20 67 65 74 74 69 6e | 67 20 63 6f 72 72 75 70 |f gettin|g corrup|
|00000910| 74 65 64 20 41 53 43 49 | 49 20 64 6f 77 6e 6c 6f |ted ASCI|I downlo|
|00000920| 61 64 73 2c 0a 75 73 69 | 6e 67 20 5a 6d 6f 64 65 |ads,.usi|ng Zmode|
|00000930| 6d 2e 20 20 57 68 69 74 | 65 20 4b 6e 69 67 68 74 |m. Whit|e Knight|
|00000940| 20 68 61 73 20 61 6e 20 | 6f 64 64 20 77 61 79 20 | has an |odd way |
|00000950| 6f 66 20 64 6f 77 6e 6c | 6f 61 64 69 6e 67 2c 20 |of downl|oading, |
|00000960| 6e 6f 20 6d 61 74 74 65 | 72 20 77 68 61 74 0a 70 |no matte|r what.p|
|00000970| 72 6f 74 6f 63 6f 6c 20 | 79 6f 75 27 72 65 20 75 |rotocol |you're u|
|00000980| 73 69 6e 67 20 28 58 2c | 20 59 2c 20 6f 72 20 5a |sing (X,| Y, or Z|
|00000990| 6d 6f 64 65 6d 29 2e 20 | 20 49 20 63 6f 75 6c 64 |modem). | I could|
|000009a0| 6e 27 74 20 66 69 6e 64 | 20 61 20 63 6f 6d 70 61 |n't find| a compa|
|000009b0| 72 61 62 6c 65 0a 70 72 | 6f 67 72 61 6d 20 6f 6e |rable.pr|ogram on|
|000009c0| 20 74 68 65 20 4d 61 63 | 69 6e 74 6f 73 68 20 74 | the Mac|intosh t|
|000009d0| 68 61 74 20 64 6f 65 73 | 20 55 4e 49 58 20 6e 65 |hat does| UNIX ne|
|000009e0| 77 6c 69 6e 65 20 2d 3e | 20 4d 61 63 20 43 52 20 |wline ->| Mac CR |
|000009f0| 74 72 61 6e 73 6c 61 74 | 69 6f 6e 73 2c 20 73 6f |translat|ions, so|
|00000a00| 0a 49 20 77 72 6f 74 65 | 20 6f 6e 65 20 66 6f 72 |.I wrote| one for|
|00000a10| 20 55 4e 49 58 2e 20 20 | 54 68 69 73 20 77 69 6c | UNIX. |This wil|
|00000a20| 6c 20 63 6f 6e 76 65 72 | 74 20 62 6f 74 68 20 66 |l conver|t both f|
|00000a30| 72 6f 6d 20 55 4e 49 58 | 20 2d 3e 20 4d 61 63 20 |rom UNIX| -> Mac |
|00000a40| 61 6e 64 20 61 6c 73 6f | 0a 4d 61 63 20 2d 3e 20 |and also|.Mac -> |
|00000a50| 55 4e 49 58 2c 20 73 6f | 20 79 6f 75 20 63 61 6e |UNIX, so| you can|
|00000a60| 20 75 70 6c 6f 61 64 20 | 74 65 78 74 20 66 72 6f | upload |text fro|
|00000a70| 6d 20 79 6f 75 72 20 6d | 61 63 68 69 6e 65 20 61 |m your m|achine a|
|00000a80| 73 20 77 65 6c 6c 2e 20 | 20 49 66 20 75 73 65 64 |s well. | If used|
|00000a90| 20 69 6e 0a 61 20 73 68 | 65 6c 6c 20 73 63 72 69 | in.a sh|ell scri|
|00000aa0| 70 74 20 6f 72 20 61 20 | 73 68 65 6c 6c 20 61 6c |pt or a |shell al|
|00000ab0| 69 61 73 2c 20 74 68 69 | 73 2c 20 63 6f 6d 62 69 |ias, thi|s, combi|
|00000ac0| 6e 65 64 20 77 69 74 68 | 20 7a 6d 6f 64 65 6d 2c |ned with| zmodem,|
|00000ad0| 20 63 61 6e 2c 20 69 6e | 20 6f 6e 65 0a 66 65 6c | can, in| one.fel|
|00000ae0| 6c 20 73 77 6f 6f 70 2c | 20 63 6f 6e 76 65 72 74 |l swoop,| convert|
|00000af0| 20 61 6e 64 20 64 6f 77 | 6e 6c 6f 61 64 20 66 69 | and dow|nload fi|
|00000b00| 6c 65 73 2e 0a 0a 43 4f | 4d 50 49 4c 49 4e 47 3a |les...CO|MPILING:|
|00000b10| 0a 0a 09 49 20 77 72 6f | 74 65 20 74 68 69 73 20 |...I wro|te this |
|00000b20| 69 6e 20 66 61 69 72 6c | 79 20 73 74 61 6e 64 61 |in fairl|y standa|
|00000b30| 72 64 20 43 2c 20 73 6f | 20 69 74 20 73 68 6f 75 |rd C, so| it shou|
|00000b40| 6c 64 20 63 6f 6d 70 69 | 6c 65 20 6f 6e 20 65 76 |ld compi|le on ev|
|00000b50| 65 6e 0a 6e 6f 6e 2d 41 | 4e 53 49 20 73 79 73 74 |en.non-A|NSI syst|
|00000b60| 65 6d 73 2e 20 20 54 68 | 65 72 65 20 61 72 65 20 |ems. Th|ere are |
|00000b70| 6e 6f 20 73 79 73 74 65 | 6d 20 76 61 72 69 61 62 |no syste|m variab|
|00000b80| 6c 65 73 20 74 6f 20 63 | 68 61 6e 67 65 20 61 74 |les to c|hange at|
|00000b90| 20 61 6c 6c 21 20 20 4a | 75 73 74 0a 74 79 70 65 | all! J|ust.type|
|00000ba0| 20 22 63 63 20 2d 4f 20 | 6d 61 63 69 66 79 2e 63 | "cc -O |macify.c|
|00000bb0| 20 2d 6f 20 6d 61 63 69 | 66 79 22 20 61 6e 64 20 | -o maci|fy" and |
|00000bc0| 79 6f 75 27 72 65 20 73 | 65 74 2e 20 20 49 66 20 |you're s|et. If |
|00000bd0| 79 6f 75 20 64 6f 6e 27 | 74 20 77 61 6e 74 20 74 |you don'|t want t|
|00000be0| 68 65 0a 6f 75 74 70 75 | 74 20 66 69 6c 65 20 73 |he.outpu|t file s|
|00000bf0| 74 72 69 70 70 65 64 20 | 6f 66 20 64 65 62 75 67 |tripped |of debug|
|00000c00| 67 69 6e 67 20 69 6e 66 | 6f 2c 20 73 79 6d 62 6f |ging inf|o, symbo|
|00000c10| 6c 20 74 61 62 6c 65 2c | 20 65 74 63 2e 20 74 68 |l table,| etc. th|
|00000c20| 65 6e 20 65 6c 69 6d 69 | 6e 61 74 65 0a 74 68 65 |en elimi|nate.the|
|00000c30| 20 22 2d 4f 22 20 66 6c | 61 67 2e 20 20 4f 66 20 | "-O" fl|ag. Of |
|00000c40| 63 6f 75 72 73 65 2c 20 | 79 6f 75 27 6c 6c 20 67 |course, |you'll g|
|00000c50| 65 74 20 61 20 6c 61 72 | 67 65 72 20 63 6f 64 65 |et a lar|ger code|
|00000c60| 66 69 6c 65 2c 20 62 75 | 74 2e 2e 20 69 66 20 79 |file, bu|t.. if y|
|00000c70| 6f 75 27 72 65 0a 6f 6e | 65 20 6f 66 20 74 68 6f |ou're.on|e of tho|
|00000c80| 73 65 20 70 61 72 61 6e | 6f 69 64 20 66 6f 6c 6b |se paran|oid folk|
|00000c90| 20 74 68 61 74 20 74 68 | 69 6e 6b 20 65 76 65 72 | that th|ink ever|
|00000ca0| 79 20 70 72 6f 67 72 61 | 6d 20 77 69 6c 6c 20 63 |y progra|m will c|
|00000cb0| 6f 72 65 64 75 6d 70 20 | 6f 6e 20 74 68 65 6d 2c |oredump |on them,|
|00000cc0| 0a 74 68 65 6e 20 74 68 | 69 73 20 69 73 20 66 6f |.then th|is is fo|
|00000cd0| 72 20 79 6f 75 2e 20 3a | 29 0a 0a 09 59 6f 75 20 |r you. :|)...You |
|00000ce0| 6d 75 73 74 20 65 64 69 | 74 20 74 68 65 20 22 4d |must edi|t the "M|
|00000cf0| 61 6b 65 66 69 6c 65 22 | 2c 20 74 6f 20 73 65 74 |akefile"|, to set|
|00000d00| 20 75 70 20 74 68 69 6e | 67 73 20 73 70 65 63 69 | up thin|gs speci|
|00000d10| 66 69 63 20 66 6f 72 20 | 79 6f 75 72 0a 73 79 73 |fic for |your.sys|
|00000d20| 74 65 6d 2c 20 6c 69 6b | 65 20 77 68 61 74 20 64 |tem, lik|e what d|
|00000d30| 69 72 65 63 74 6f 72 79 | 20 74 6f 20 69 6e 73 74 |irectory| to inst|
|00000d40| 61 6c 6c 20 74 68 65 20 | 62 69 6e 61 72 69 65 73 |all the |binaries|
|00000d50| 20 61 6e 64 20 6d 61 6e | 20 70 61 67 65 73 20 69 | and man| pages i|
|00000d60| 6e 2c 0a 65 74 63 2e 20 | 20 49 74 20 69 73 20 73 |n,.etc. | It is s|
|00000d70| 65 6c 66 2d 65 78 70 6c | 61 6e 61 74 6f 72 79 3b |elf-expl|anatory;|
|00000d80| 20 6a 75 73 74 20 72 65 | 61 64 20 74 68 65 20 63 | just re|ad the c|
|00000d90| 6f 6d 6d 65 6e 74 73 2c | 20 61 6e 64 20 66 6f 6c |omments,| and fol|
|00000da0| 6c 6f 77 20 77 68 61 74 | 0a 74 68 65 79 20 68 61 |low what|.they ha|
|00000db0| 76 65 20 74 6f 20 73 61 | 79 2e 0a 0a 09 59 6f 75 |ve to sa|y....You|
|00000dc0| 20 6d 75 73 74 20 61 6c | 73 6f 20 65 64 69 74 20 | must al|so edit |
|00000dd0| 22 6d 61 63 69 66 79 2e | 63 22 20 61 6e 64 20 22 |"macify.|c" and "|
|00000de0| 63 6f 6e 76 65 72 74 2e | 63 22 2e 20 20 54 68 65 |convert.|c". The|
|00000df0| 20 6f 6e 6c 79 20 6c 69 | 6e 65 0a 79 6f 75 27 6c | only li|ne.you'l|
|00000e00| 6c 20 70 72 6f 62 61 62 | 6c 79 20 68 61 76 65 20 |l probab|ly have |
|00000e10| 74 6f 20 63 68 61 6e 67 | 65 20 69 73 20 74 68 65 |to chang|e is the|
|00000e20| 20 6c 69 6e 65 20 74 68 | 61 74 20 23 69 6e 63 6c | line th|at #incl|
|00000e30| 75 64 65 27 73 20 74 68 | 65 20 73 74 72 69 6e 67 |ude's th|e string|
|00000e40| 0a 68 61 6e 64 6c 69 6e | 67 20 68 65 61 64 65 72 |.handlin|g header|
|00000e50| 20 66 69 6c 65 2e 20 20 | 49 74 20 69 73 20 63 75 | file. |It is cu|
|00000e60| 72 72 65 6e 74 6c 79 20 | 73 65 74 20 75 70 20 66 |rrently |set up f|
|00000e70| 6f 72 20 61 20 53 79 73 | 56 20 6d 61 63 68 69 6e |or a Sys|V machin|
|00000e80| 65 2c 20 77 68 69 63 68 | 0a 75 73 65 73 20 3c 73 |e, which|.uses <s|
|00000e90| 74 72 69 6e 67 2e 68 3e | 2e 20 20 49 66 20 79 6f |tring.h>|. If yo|
|00000ea0| 75 20 61 72 65 20 63 6f | 6d 70 69 6c 69 6e 67 20 |u are co|mpiling |
|00000eb0| 6f 6e 20 42 53 44 2c 20 | 63 68 61 6e 67 65 20 74 |on BSD, |change t|
|00000ec0| 68 69 73 20 74 6f 20 3c | 73 74 72 69 6e 67 73 2e |his to <|strings.|
|00000ed0| 68 3e 2e 0a 49 66 20 79 | 6f 75 27 72 65 20 63 6f |h>..If y|ou're co|
|00000ee0| 6d 70 69 6c 69 6e 67 20 | 6f 6e 20 61 6e 6f 74 68 |mpiling |on anoth|
|00000ef0| 65 72 20 73 79 73 74 65 | 6d 20 28 4d 73 44 6f 73 |er syste|m (MsDos|
|00000f00| 2c 20 4d 61 63 2c 20 65 | 74 63 2e 29 2c 20 66 69 |, Mac, e|tc.), fi|
|00000f10| 6e 64 20 6f 75 74 20 77 | 68 61 74 0a 68 65 61 64 |nd out w|hat.head|
|00000f20| 65 72 20 66 69 6c 65 20 | 79 6f 75 20 75 73 65 20 |er file |you use |
|00000f30| 66 6f 72 20 73 74 72 69 | 6e 67 73 2c 20 61 6e 64 |for stri|ngs, and|
|00000f40| 20 73 75 62 73 74 69 74 | 75 74 65 20 69 74 73 20 | substit|ute its |
|00000f50| 6e 61 6d 65 20 69 6e 20 | 74 68 65 20 62 72 61 63 |name in |the brac|
|00000f60| 6b 65 74 73 2e 0a 0a 09 | 54 68 65 6e 2c 20 61 6c |kets....|Then, al|
|00000f70| 6c 20 79 6f 75 20 68 61 | 76 65 20 74 6f 20 64 6f |l you ha|ve to do|
|00000f80| 20 69 73 20 74 79 70 65 | 20 22 6d 61 6b 65 22 2c | is type| "make",|
|00000f90| 20 61 6e 64 20 79 6f 75 | 27 72 65 20 73 65 74 21 | and you|'re set!|
|00000fa0| 20 20 54 68 65 20 70 72 | 6f 2d 0a 67 72 61 6d 20 | The pr|o-.gram |
|00000fb0| 77 69 6c 6c 20 63 6f 6d | 70 69 6c 65 20 69 6e 20 |will com|pile in |
|00000fc0| 74 68 65 20 63 75 72 72 | 65 6e 74 20 64 69 72 65 |the curr|ent dire|
|00000fd0| 63 74 6f 72 79 3b 20 74 | 68 69 73 20 69 73 20 73 |ctory; t|his is s|
|00000fe0| 6f 20 74 68 61 74 20 79 | 6f 75 20 63 61 6e 20 74 |o that y|ou can t|
|00000ff0| 65 73 74 0a 69 74 20 6f | 75 74 20 74 6f 20 73 65 |est.it o|ut to se|
|00001000| 65 20 69 66 20 69 74 20 | 77 6f 72 6b 73 2e 20 20 |e if it |works. |
|00001010| 4f 6e 63 65 20 79 6f 75 | 27 72 65 20 73 61 74 69 |Once you|'re sati|
|00001020| 73 66 69 65 64 20 74 68 | 61 74 20 69 74 20 77 6f |sfied th|at it wo|
|00001030| 72 6b 73 2c 20 74 79 70 | 69 6e 67 0a 22 6d 61 6b |rks, typ|ing."mak|
|00001040| 65 20 69 6e 73 74 61 6c | 6c 22 20 77 69 6c 6c 20 |e instal|l" will |
|00001050| 6d 6f 76 65 20 74 68 65 | 20 62 69 6e 61 72 79 20 |move the| binary |
|00001060| 61 6e 64 20 6d 61 6e 20 | 70 61 67 65 20 74 6f 20 |and man |page to |
|00001070| 74 68 65 20 64 69 72 65 | 63 74 6f 72 69 65 73 20 |the dire|ctories |
|00001080| 79 6f 75 0a 73 70 65 63 | 69 66 69 65 64 2e 20 20 |you.spec|ified. |
|00001090| 54 79 70 69 6e 67 20 22 | 6d 61 6b 65 20 63 6c 65 |Typing "|make cle|
|000010a0| 61 6e 22 20 77 69 6c 6c | 20 65 72 61 73 65 20 61 |an" will| erase a|
|000010b0| 6e 79 20 65 78 74 72 61 | 6e 65 6f 75 73 20 66 69 |ny extra|neous fi|
|000010c0| 6c 65 73 20 28 2e 6f 20 | 66 69 6c 65 73 2c 0a 65 |les (.o |files,.e|
|000010d0| 74 63 2e 29 2e 0a 0a 55 | 53 41 47 45 3a 0a 0a 09 |tc.)...U|SAGE:...|
|000010e0| 52 75 6e 6e 69 6e 67 20 | 74 68 65 20 70 72 6f 67 |Running |the prog|
|000010f0| 72 61 6d 20 77 69 74 68 | 20 6e 6f 20 61 72 67 75 |ram with| no argu|
|00001100| 6d 65 6e 74 73 20 77 69 | 6c 6c 20 70 72 69 6e 74 |ments wi|ll print|
|00001110| 20 6f 75 74 20 68 6f 77 | 20 74 6f 20 75 73 65 20 | out how| to use |
|00001120| 69 74 2e 0a 42 75 74 20 | 68 65 72 65 20 69 73 20 |it..But |here is |
|00001130| 68 6f 77 20 74 6f 20 75 | 73 65 20 69 74 20 61 6e |how to u|se it an|
|00001140| 79 77 61 79 73 2e 0a 0a | 4d 41 43 49 46 59 20 28 |yways...|MACIFY (|
|00001150| 74 6d 29 20 76 31 2e 33 | 2c 20 28 63 29 31 39 39 |tm) v1.3|, (c)199|
|00001160| 31 20 44 6f 6e 61 6c 64 | 20 42 75 72 72 0a 55 73 |1 Donald| Burr.Us|
|00001170| 61 67 65 3a 20 6d 61 63 | 69 66 79 20 5b 75 6d 20 |age: mac|ify [um |
|00001180| 6f 72 20 6d 75 5d 20 5b | 69 6e 70 75 74 66 69 6c |or mu] [|inputfil|
|00001190| 65 20 6f 72 20 2d 5d 20 | 5b 6f 75 74 70 75 74 66 |e or -] |[outputf|
|000011a0| 69 6c 65 20 6f 72 20 2d | 5d 0a 09 75 6d 20 3d 20 |ile or -|]..um = |
|000011b0| 55 4e 49 58 20 2d 3e 20 | 4d 61 63 69 6e 74 6f 73 |UNIX -> |Macintos|
|000011c0| 68 0a 09 6d 75 20 3d 20 | 4d 61 63 69 6e 74 6f 73 |h..mu = |Macintos|
|000011d0| 68 20 2d 3e 20 55 4e 49 | 58 0a 09 69 6e 70 75 74 |h -> UNI|X..input|
|000011e0| 66 69 6c 65 20 3d 20 66 | 69 6c 65 20 74 6f 20 63 |file = f|ile to c|
|000011f0| 6f 6e 76 65 72 74 20 46 | 52 4f 4d 2c 20 2d 20 66 |onvert F|ROM, - f|
|00001200| 6f 72 20 73 74 64 69 6e | 0a 09 6f 75 74 70 75 74 |or stdin|..output|
|00001210| 66 69 6c 65 20 3d 20 66 | 69 6c 65 20 74 6f 20 63 |file = f|ile to c|
|00001220| 6f 6e 76 65 72 74 20 54 | 4f 2c 20 2d 20 66 6f 72 |onvert T|O, - for|
|00001230| 20 73 74 64 6f 75 74 0a | 0a 4d 41 43 49 46 59 20 | stdout.|.MACIFY |
|00001240| 74 61 6b 65 73 20 74 68 | 72 65 65 20 61 72 67 75 |takes th|ree argu|
|00001250| 6d 65 6e 74 73 2e 0a 0a | 09 54 68 65 20 66 69 72 |ments...|.The fir|
|00001260| 73 74 20 69 73 20 61 20 | 73 77 69 74 63 68 20 2d |st is a |switch -|
|00001270| 2d 20 69 74 20 6c 65 74 | 73 20 74 68 65 20 70 72 |- it let|s the pr|
|00001280| 6f 67 72 61 6d 20 6b 6e | 6f 77 20 77 68 65 74 68 |ogram kn|ow wheth|
|00001290| 65 72 20 79 6f 75 20 77 | 61 6e 74 0a 09 74 6f 20 |er you w|ant..to |
|000012a0| 64 6f 20 55 4e 49 58 20 | 2d 3e 20 4d 61 63 2c 20 |do UNIX |-> Mac, |
|000012b0| 6f 72 20 4d 61 63 20 2d | 3e 20 55 4e 49 58 20 74 |or Mac -|> UNIX t|
|000012c0| 72 61 6e 73 6c 61 74 69 | 6f 6e 2e 20 20 54 68 69 |ranslati|on. Thi|
|000012d0| 73 20 69 73 20 64 6f 6e | 65 20 62 79 0a 09 67 69 |s is don|e by..gi|
|000012e0| 76 69 6e 67 20 69 74 20 | 65 69 74 68 65 72 20 22 |ving it |either "|
|000012f0| 6d 75 22 20 28 4d 61 63 | 20 2d 3e 20 55 4e 49 58 |mu" (Mac| -> UNIX|
|00001300| 29 2c 20 6f 72 20 22 75 | 6d 22 20 28 55 4e 49 58 |), or "u|m" (UNIX|
|00001310| 20 2d 3e 20 4d 61 63 29 | 2e 0a 0a 09 54 68 65 20 | -> Mac)|....The |
|00001320| 73 65 63 6f 6e 64 20 61 | 72 67 75 6d 65 6e 74 20 |second a|rgument |
|00001330| 69 73 20 74 68 65 20 66 | 69 6c 65 6e 61 6d 65 20 |is the f|ilename |
|00001340| 79 6f 75 20 77 69 73 68 | 20 74 6f 20 75 73 65 20 |you wish| to use |
|00001350| 61 73 20 49 4e 50 55 54 | 2e 0a 09 49 74 20 63 61 |as INPUT|...It ca|
|00001360| 6e 20 62 65 20 61 20 66 | 69 6c 65 20 6f 6e 20 64 |n be a f|ile on d|
|00001370| 69 73 6b 2c 20 6f 72 20 | 69 66 20 79 6f 75 20 73 |isk, or |if you s|
|00001380| 75 70 70 6c 79 20 22 2d | 22 20 28 61 20 68 79 70 |upply "-|" (a hyp|
|00001390| 68 65 6e 29 2c 0a 09 69 | 6e 70 75 74 20 77 69 6c |hen),..i|nput wil|
|000013a0| 6c 20 62 65 20 74 61 6b | 65 6e 20 66 72 6f 6d 20 |l be tak|en from |
|000013b0| 73 74 64 69 6e 2e 20 20 | 54 68 69 73 20 69 73 20 |stdin. |This is |
|000013c0| 68 65 6c 70 66 75 6c 20 | 66 6f 72 20 72 65 64 69 |helpful |for redi|
|000013d0| 72 65 74 69 6f 6e 2e 0a | 0a 09 54 68 65 20 74 68 |retion..|..The th|
|000013e0| 69 72 64 20 61 72 67 75 | 6d 65 6e 74 20 69 73 20 |ird argu|ment is |
|000013f0| 74 68 65 20 66 69 6c 65 | 6e 61 6d 65 20 79 6f 75 |the file|name you|
|00001400| 20 77 69 73 68 20 74 6f | 20 75 73 65 20 61 73 20 | wish to| use as |
|00001410| 4f 55 54 50 55 54 2e 0a | 09 49 74 20 63 61 6e 20 |OUTPUT..|.It can |
|00001420| 62 65 20 61 20 66 69 6c | 65 20 6f 6e 20 64 69 73 |be a fil|e on dis|
|00001430| 6b 3b 20 69 66 20 74 68 | 69 73 20 66 69 6c 65 20 |k; if th|is file |
|00001440| 61 6c 72 65 61 64 79 20 | 65 78 69 73 74 73 2c 20 |already |exists, |
|00001450| 69 74 20 77 69 6c 6c 20 | 62 65 0a 09 6f 76 65 72 |it will |be..over|
|00001460| 77 72 69 74 74 65 6e 2e | 20 20 49 66 20 79 6f 75 |written.| If you|
|00001470| 20 73 75 70 70 6c 79 20 | 61 20 68 79 70 68 65 6e | supply |a hyphen|
|00001480| 20 28 2d 29 2c 20 6f 75 | 74 70 75 74 20 77 69 6c | (-), ou|tput wil|
|00001490| 6c 20 62 65 20 73 65 6e | 74 0a 09 74 6f 20 73 74 |l be sen|t..to st|
|000014a0| 64 6f 75 74 2e 20 20 54 | 68 69 73 20 69 73 20 75 |dout. T|his is u|
|000014b0| 73 65 66 75 6c 20 77 69 | 74 68 20 72 65 64 69 72 |seful wi|th redir|
|000014c0| 65 63 74 69 6f 6e 2e 0a | 0a 43 4f 4e 43 4c 55 53 |ection..|.CONCLUS|
|000014d0| 49 4f 4e 3a 0a 0a 09 57 | 65 6c 6c 2c 20 74 68 61 |ION:...W|ell, tha|
|000014e0| 74 27 73 20 61 62 6f 75 | 74 20 69 74 2e 20 20 49 |t's abou|t it. I|
|000014f0| 27 6d 20 77 6f 72 6b 69 | 6e 67 20 6f 6e 20 61 20 |'m worki|ng on a |
|00001500| 70 6f 72 74 20 6f 66 20 | 74 68 69 73 20 74 6f 20 |port of |this to |
|00001510| 4d 61 63 69 6e 74 6f 73 | 68 2c 0a 73 6f 20 79 6f |Macintos|h,.so yo|
|00001520| 75 20 63 61 6e 20 63 6f | 6e 76 65 72 74 20 66 69 |u can co|nvert fi|
|00001530| 6c 65 73 20 6f 6e 20 74 | 68 65 20 4d 61 63 20 65 |les on t|he Mac e|
|00001540| 6e 64 2e 20 20 54 68 69 | 73 20 77 69 6c 6c 20 70 |nd. Thi|s will p|
|00001550| 72 6f 62 61 62 6c 79 20 | 62 65 20 64 69 73 74 72 |robably |be distr|
|00001560| 69 62 75 74 65 64 0a 77 | 69 74 68 20 74 68 65 20 |ibuted.w|ith the |
|00001570| 6e 65 78 74 20 76 65 72 | 73 69 6f 6e 2e 0a 0a 09 |next ver|sion....|
|00001580| 49 66 20 79 6f 75 20 68 | 61 76 65 20 61 6e 79 20 |If you h|ave any |
|00001590| 62 75 67 20 72 65 70 6f | 72 74 73 2c 20 73 75 67 |bug repo|rts, sug|
|000015a0| 67 65 73 74 69 6f 6e 73 | 2c 20 71 75 65 73 74 69 |gestions|, questi|
|000015b0| 6f 6e 73 2c 20 65 74 63 | 2e 20 61 62 6f 75 74 20 |ons, etc|. about |
|000015c0| 74 68 69 73 0a 70 72 6f | 67 72 61 6d 2c 20 70 6c |this.pro|gram, pl|
|000015d0| 65 61 73 65 20 63 6f 6e | 74 61 63 74 20 6d 65 20 |ease con|tact me |
|000015e0| 76 69 61 20 6f 6e 65 20 | 6f 66 20 74 68 65 20 45 |via one |of the E|
|000015f0| 2d 4d 61 69 6c 20 61 64 | 64 72 65 73 73 65 73 20 |-Mail ad|dresses |
|00001600| 6c 69 73 74 65 64 20 61 | 74 20 74 68 65 0a 62 65 |listed a|t the.be|
|00001610| 67 69 6e 6e 69 6e 67 20 | 6f 66 20 74 68 69 73 20 |ginning |of this |
|00001620| 64 6f 63 75 6d 65 6e 74 | 2e 0a 0a 09 45 6e 6a 6f |document|....Enjo|
|00001630| 79 21 0a 53 48 41 52 5f | 45 4f 46 0a 69 66 20 74 |y!.SHAR_|EOF.if t|
|00001640| 65 73 74 20 33 36 36 35 | 20 2d 6e 65 20 22 60 77 |est 3665| -ne "`w|
|00001650| 63 20 2d 63 20 3c 20 27 | 52 45 41 44 4d 45 27 60 |c -c < '|README'`|
|00001660| 22 0a 74 68 65 6e 0a 09 | 65 63 68 6f 20 73 68 61 |".then..|echo sha|
|00001670| 72 3a 20 65 72 72 6f 72 | 20 74 72 61 6e 73 6d 69 |r: error| transmi|
|00001680| 74 74 69 6e 67 20 22 27 | 52 45 41 44 4d 45 27 22 |tting "'|README'"|
|00001690| 20 27 28 73 68 6f 75 6c | 64 20 68 61 76 65 20 62 | '(shoul|d have b|
|000016a0| 65 65 6e 20 33 36 36 35 | 20 63 68 61 72 61 63 74 |een 3665| charact|
|000016b0| 65 72 73 29 27 0a 66 69 | 0a 63 68 6d 6f 64 20 2b |ers)'.fi|.chmod +|
|000016c0| 78 20 27 52 45 41 44 4d | 45 27 0a 66 69 20 23 20 |x 'READM|E'.fi # |
|000016d0| 65 6e 64 20 6f 66 20 6f | 76 65 72 77 72 69 74 69 |end of o|verwriti|
|000016e0| 6e 67 20 63 68 65 63 6b | 0a 65 63 68 6f 20 73 68 |ng check|.echo sh|
|000016f0| 61 72 3a 20 65 78 74 72 | 61 63 74 69 6e 67 20 22 |ar: extr|acting "|
|00001700| 27 4d 41 4e 49 46 45 53 | 54 27 22 20 27 28 32 30 |'MANIFES|T'" '(20|
|00001710| 35 35 20 63 68 61 72 61 | 63 74 65 72 73 29 27 0a |55 chara|cters)'.|
|00001720| 69 66 20 74 65 73 74 20 | 2d 66 20 27 4d 41 4e 49 |if test |-f 'MANI|
|00001730| 46 45 53 54 27 0a 74 68 | 65 6e 0a 09 65 63 68 6f |FEST'.th|en..echo|
|00001740| 20 73 68 61 72 3a 20 77 | 69 6c 6c 20 6e 6f 74 20 | shar: w|ill not |
|00001750| 6f 76 65 72 2d 77 72 69 | 74 65 20 65 78 69 73 74 |over-wri|te exist|
|00001760| 69 6e 67 20 66 69 6c 65 | 20 22 27 4d 41 4e 49 46 |ing file| "'MANIF|
|00001770| 45 53 54 27 22 0a 65 6c | 73 65 0a 63 61 74 20 3c |EST'".el|se.cat <|
|00001780| 3c 20 5c 53 48 41 52 5f | 45 4f 46 20 3e 20 27 4d |< \SHAR_|EOF > 'M|
|00001790| 41 4e 49 46 45 53 54 27 | 0a 2a 2a 2a 2a 2a 2a 2a |ANIFEST'|.*******|
|000017a0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000017b0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000017c0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000017d0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 0a |********|*******.|
|000017e0| 2a 2a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |** | |
|000017f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001800| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001810| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001820| 20 20 20 20 2a 2a 0a 2a | 2a 20 20 20 20 20 20 20 | **.*|* |
|00001830| 20 20 20 20 20 20 20 20 | 20 20 20 44 69 73 74 72 | | Distr|
|00001840| 69 62 75 74 69 6f 6e 20 | 46 69 6c 65 73 20 4c 69 |ibution |Files Li|
|00001850| 73 74 69 6e 67 20 20 20 | 20 20 20 20 20 20 20 20 |sting | |
|00001860| 20 20 20 20 20 20 20 20 | 20 20 20 2a 2a 0a 2a 2a | | **.**|
|00001870| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001880| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001890| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000018a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000018b0| 20 20 2a 2a 0a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a | **.***|********|
|000018c0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000018d0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000018e0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000018f0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 0a 0a 59 6f 75 |********|***..You|
|00001900| 20 73 68 6f 75 6c 64 20 | 68 61 76 65 20 72 65 63 | should |have rec|
|00001910| 69 65 76 65 64 20 74 68 | 65 20 66 6f 6c 6c 6f 77 |ieved th|e follow|
|00001920| 69 6e 67 20 66 69 6c 65 | 73 20 77 69 74 68 20 79 |ing file|s with y|
|00001930| 6f 75 72 20 4d 41 43 49 | 46 59 20 31 2e 33 0a 64 |our MACI|FY 1.3.d|
|00001940| 69 73 74 72 69 62 75 74 | 69 6f 6e 20 70 61 63 6b |istribut|ion pack|
|00001950| 61 67 65 2e 20 20 49 66 | 20 61 6e 79 74 68 69 6e |age. If| anythin|
|00001960| 67 20 69 73 20 6d 69 73 | 73 69 6e 67 2c 20 6f 72 |g is mis|sing, or|
|00001970| 20 61 70 70 65 61 72 73 | 20 74 61 6d 70 65 72 65 | appears| tampere|
|00001980| 64 0a 77 69 74 68 2c 20 | 65 2d 6d 61 69 6c 20 6d |d.with, |e-mail m|
|00001990| 65 20 64 69 72 65 63 74 | 6c 79 2c 20 61 74 20 64 |e direct|ly, at d|
|000019a0| 62 75 72 72 40 6f 63 66 | 2e 62 65 72 6b 65 6c 65 |burr@ocf|.berkele|
|000019b0| 79 2e 65 64 75 2c 20 61 | 6e 64 20 49 20 77 69 6c |y.edu, a|nd I wil|
|000019c0| 6c 0a 65 2d 6d 61 69 6c | 20 79 6f 75 20 61 20 66 |l.e-mail| you a f|
|000019d0| 72 65 73 68 20 64 69 73 | 74 72 69 62 75 74 69 6f |resh dis|tributio|
|000019e0| 6e 20 63 6f 70 79 20 6f | 66 20 74 68 65 20 6c 61 |n copy o|f the la|
|000019f0| 74 65 73 74 20 76 65 72 | 73 69 6f 6e 2e 0a 0a 74 |test ver|sion...t|
|00001a00| 6f 74 61 6c 20 36 34 0a | 2d 72 77 2d 72 2d 2d 72 |otal 64.|-rw-r--r|
|00001a10| 2d 2d 20 20 20 31 20 72 | 6f 6f 74 20 20 20 20 20 |-- 1 r|oot |
|00001a20| 72 6f 6f 74 20 20 20 20 | 20 20 20 20 20 38 34 35 |root | 845|
|00001a30| 20 4d 61 72 20 31 34 20 | 31 34 3a 35 36 20 42 55 | Mar 14 |14:56 BU|
|00001a40| 47 53 0a 44 65 73 63 72 | 69 62 65 73 20 74 68 65 |GS.Descr|ibes the|
|00001a50| 20 6b 6e 6f 77 6e 20 62 | 75 67 73 20 69 6e 20 74 | known b|ugs in t|
|00001a60| 68 69 73 20 70 72 6f 67 | 72 61 6d 2e 20 20 22 42 |his prog|ram. "B|
|00001a70| 75 67 73 22 20 72 65 66 | 65 72 73 20 74 6f 20 62 |ugs" ref|ers to b|
|00001a80| 6f 74 68 0a 74 68 69 6e | 67 73 20 74 68 61 74 20 |oth.thin|gs that |
|00001a90| 6d 61 6b 65 20 69 74 20 | 63 72 61 73 68 2c 20 61 |make it |crash, a|
|00001aa0| 73 20 77 65 6c 6c 20 61 | 73 20 6f 64 64 69 74 69 |s well a|s odditi|
|00001ab0| 65 73 20 6f 66 20 74 68 | 65 20 70 72 6f 67 72 61 |es of th|e progra|
|00001ac0| 6d 2e 0a 0a 2d 72 77 2d | 72 2d 2d 72 2d 2d 20 20 |m...-rw-|r--r-- |
|00001ad0| 20 31 20 72 6f 6f 74 20 | 20 20 20 20 72 6f 6f 74 | 1 root | root|
|00001ae0| 20 20 20 20 20 20 20 20 | 20 36 31 34 20 4d 61 72 | | 614 Mar|
|00001af0| 20 31 34 20 31 34 3a 35 | 31 20 4d 41 4e 49 46 45 | 14 14:5|1 MANIFE|
|00001b00| 53 54 0a 54 68 69 73 20 | 66 69 6c 65 3b 20 69 74 |ST.This |file; it|
|00001b10| 20 63 6f 6e 74 61 69 6e | 73 20 61 20 6c 69 73 74 | contain|s a list|
|00001b20| 20 6f 66 20 61 6c 6c 20 | 66 69 6c 65 73 20 69 6e | of all |files in|
|00001b30| 20 74 68 65 20 6f 66 66 | 69 63 69 61 6c 20 64 69 | the off|icial di|
|00001b40| 73 74 72 69 62 75 74 69 | 6f 6e 2e 0a 0a 2d 72 77 |stributi|on...-rw|
|00001b50| 2d 72 2d 2d 72 2d 2d 20 | 20 20 31 20 72 6f 6f 74 |-r--r-- | 1 root|
|00001b60| 20 20 20 20 20 72 6f 6f | 74 20 20 20 20 20 20 20 | roo|t |
|00001b70| 20 31 39 36 33 20 4d 61 | 72 20 31 34 20 31 35 3a | 1963 Ma|r 14 15:|
|00001b80| 30 37 20 4d 61 6b 65 66 | 69 6c 65 0a 54 68 69 73 |07 Makef|ile.This|
|00001b90| 20 69 73 20 74 68 65 20 | 4d 61 6b 65 66 69 6c 65 | is the |Makefile|
|00001ba0| 20 66 6f 72 20 4d 41 43 | 49 46 59 2e 20 20 49 74 | for MAC|IFY. It|
|00001bb0| 20 73 68 6f 75 6c 64 20 | 77 6f 72 6b 20 6f 6e 20 | should |work on |
|00001bc0| 61 6e 79 20 55 4e 49 58 | 20 73 79 73 74 65 6d 0a |any UNIX| system.|
|00001bd0| 77 69 74 68 20 74 68 65 | 20 22 6d 61 6b 65 22 20 |with the| "make" |
|00001be0| 75 74 69 6c 69 74 79 20 | 6f 6e 20 69 74 2e 20 20 |utility |on it. |
|00001bf0| 49 74 20 6d 61 79 20 6e | 65 65 64 20 65 64 69 74 |It may n|eed edit|
|00001c00| 69 6e 67 20 69 66 20 74 | 72 79 69 6e 67 20 74 6f |ing if t|rying to|
|00001c10| 20 70 6f 72 74 0a 74 6f | 20 6f 74 68 65 72 20 65 | port.to| other e|
|00001c20| 6e 76 69 72 6f 6e 6d 65 | 6e 74 73 20 28 4d 53 44 |nvironme|nts (MSD|
|00001c30| 6f 73 2c 20 4d 50 57 2c | 20 65 74 63 2e 29 0a 0a |os, MPW,| etc.)..|
|00001c40| 2d 72 77 2d 72 2d 2d 72 | 2d 2d 20 20 20 31 20 72 |-rw-r--r|-- 1 r|
|00001c50| 6f 6f 74 20 20 20 20 20 | 72 6f 6f 74 20 20 20 20 |oot |root |
|00001c60| 20 20 20 20 31 33 38 36 | 20 4d 61 72 20 31 34 20 | 1386| Mar 14 |
|00001c70| 31 34 3a 32 31 20 52 45 | 41 44 4d 45 0a 50 6c 65 |14:21 RE|ADME.Ple|
|00001c80| 73 65 20 72 65 61 64 20 | 74 68 69 73 20 66 69 6c |se read |this fil|
|00001c90| 65 20 66 69 72 73 74 2e | 20 20 49 74 20 63 6f 6e |e first.| It con|
|00001ca0| 74 61 69 6e 73 20 64 6f | 63 75 6d 65 6e 74 61 74 |tains do|cumentat|
|00001cb0| 69 6f 6e 20 6f 6e 20 63 | 6f 6d 70 69 6c 69 6e 67 |ion on c|ompiling|
|00001cc0| 20 61 6e 64 0a 75 73 69 | 6e 67 20 74 68 65 20 70 | and.usi|ng the p|
|00001cd0| 72 6f 67 72 61 6d 2c 20 | 61 73 20 77 65 6c 6c 20 |rogram, |as well |
|00001ce0| 61 73 20 69 6d 70 6f 72 | 74 61 6e 74 20 74 68 69 |as impor|tant thi|
|00001cf0| 6e 67 73 20 79 6f 75 20 | 6e 65 65 64 20 74 6f 20 |ngs you |need to |
|00001d00| 65 64 69 74 20 74 6f 20 | 67 65 74 20 69 74 0a 74 |edit to |get it.t|
|00001d10| 6f 20 77 6f 72 6b 20 72 | 69 67 68 74 2e 0a 0a 2d |o work r|ight...-|
|00001d20| 72 77 2d 72 2d 2d 72 2d | 2d 20 20 20 31 20 72 6f |rw-r--r-|- 1 ro|
|00001d30| 6f 74 20 20 20 20 20 72 | 6f 6f 74 20 20 20 20 20 |ot r|oot |
|00001d40| 20 20 20 31 36 39 37 20 | 4d 61 72 20 31 34 20 31 | 1697 |Mar 14 1|
|00001d50| 35 3a 30 31 20 54 4f 44 | 4f 0a 41 20 6c 69 73 74 |5:01 TOD|O.A list|
|00001d60| 20 6f 66 20 74 68 69 6e | 67 73 20 49 20 77 69 6c | of thin|gs I wil|
|00001d70| 6c 20 62 65 20 64 6f 69 | 6e 67 20 28 69 6e 20 74 |l be doi|ng (in t|
|00001d80| 68 65 20 66 75 74 75 72 | 65 29 20 77 69 74 68 20 |he futur|e) with |
|00001d90| 74 68 69 73 20 70 72 6f | 67 72 61 6d 2e 20 20 49 |this pro|gram. I|
|00001da0| 6e 2d 0a 63 6c 75 64 65 | 73 20 70 6c 61 6e 6e 65 |n-.clude|s planne|
|00001db0| 64 20 65 6e 68 61 6e 63 | 65 6d 65 6e 74 73 20 61 |d enhanc|ements a|
|00001dc0| 6e 64 20 66 65 61 74 75 | 72 65 73 2c 20 70 6f 72 |nd featu|res, por|
|00001dd0| 74 73 20 74 6f 20 6f 74 | 68 65 72 20 73 79 73 74 |ts to ot|her syst|
|00001de0| 65 6d 73 2c 20 65 74 63 | 2e 0a 0a 2d 72 77 2d 72 |ems, etc|...-rw-r|
|00001df0| 2d 2d 72 2d 2d 20 20 20 | 31 20 72 6f 6f 74 20 20 |--r-- |1 root |
|00001e00| 20 20 20 72 6f 6f 74 20 | 20 20 20 20 20 20 20 20 | root | |
|00001e10| 36 38 36 20 4d 61 72 20 | 31 34 20 31 36 3a 32 35 |686 Mar |14 16:25|
|00001e20| 20 63 6f 6e 76 65 72 74 | 2e 63 0a 43 6f 6e 76 65 | convert|.c.Conve|
|00001e30| 72 73 69 6f 6e 20 72 6f | 75 74 69 6e 65 20 74 68 |rsion ro|utine th|
|00001e40| 61 74 20 63 6f 6e 76 65 | 72 74 73 20 62 65 74 77 |at conve|rts betw|
|00001e50| 65 65 6e 20 64 69 66 66 | 65 72 65 6e 74 20 45 4f |een diff|erent EO|
|00001e60| 4c 27 73 0a 0a 2d 72 77 | 2d 72 2d 2d 72 2d 2d 20 |L's..-rw|-r--r-- |
|00001e70| 20 20 31 20 72 6f 6f 74 | 20 20 20 20 20 72 6f 6f | 1 root| roo|
|00001e80| 74 20 20 20 20 20 20 20 | 20 20 20 33 36 20 4d 61 |t | 36 Ma|
|00001e90| 72 20 31 34 20 31 34 3a | 32 31 20 6d 61 63 69 66 |r 14 14:|21 macif|
|00001ea0| 79 2e 31 0a 4d 61 6e 20 | 70 61 67 65 20 66 6f 72 |y.1.Man |page for|
|00001eb0| 20 4d 61 63 69 66 79 2c | 20 69 6e 20 4e 52 4f 46 | Macify,| in NROF|
|00001ec0| 46 20 66 6f 72 6d 61 74 | 2e 0a 0a 2d 72 77 2d 72 |F format|...-rw-r|
|00001ed0| 2d 2d 72 2d 2d 20 20 20 | 31 20 72 6f 6f 74 20 20 |--r-- |1 root |
|00001ee0| 20 20 20 72 6f 6f 74 20 | 20 20 20 20 20 20 20 33 | root | 3|
|00001ef0| 31 38 37 20 4d 61 72 20 | 31 34 20 31 36 3a 33 39 |187 Mar |14 16:39|
|00001f00| 20 6d 61 63 69 66 79 2e | 63 0a 4d 61 63 69 66 79 | macify.|c.Macify|
|00001f10| 20 6d 61 69 6e 20 73 6f | 75 72 63 65 20 63 6f 64 | main so|urce cod|
|00001f20| 65 20 70 72 6f 67 72 61 | 6d 2e 0a 0a 2d 72 77 2d |e progra|m...-rw-|
|00001f30| 72 2d 2d 72 2d 2d 20 20 | 20 31 20 72 6f 6f 74 20 |r--r-- | 1 root |
|00001f40| 20 20 20 20 72 6f 6f 74 | 20 20 20 20 20 20 20 20 | root| |
|00001f50| 20 36 30 32 20 4d 61 72 | 20 31 34 20 31 34 3a 32 | 602 Mar| 14 14:2|
|00001f60| 31 20 6d 61 63 69 66 79 | 2e 68 0a 69 6e 63 6c 75 |1 macify|.h.inclu|
|00001f70| 64 65 20 66 69 6c 65 20 | 77 69 74 68 20 64 65 66 |de file |with def|
|00001f80| 69 6e 69 74 69 6f 6e 73 | 20 66 6f 72 20 55 4e 49 |initions| for UNI|
|00001f90| 58 20 61 6e 64 20 4d 61 | 63 20 65 6f 6c 27 73 0a |X and Ma|c eol's.|
|00001fa0| 53 48 41 52 5f 45 4f 46 | 0a 69 66 20 74 65 73 74 |SHAR_EOF|.if test|
|00001fb0| 20 32 30 35 35 20 2d 6e | 65 20 22 60 77 63 20 2d | 2055 -n|e "`wc -|
|00001fc0| 63 20 3c 20 27 4d 41 4e | 49 46 45 53 54 27 60 22 |c < 'MAN|IFEST'`"|
|00001fd0| 0a 74 68 65 6e 0a 09 65 | 63 68 6f 20 73 68 61 72 |.then..e|cho shar|
|00001fe0| 3a 20 65 72 72 6f 72 20 | 74 72 61 6e 73 6d 69 74 |: error |transmit|
|00001ff0| 74 69 6e 67 20 22 27 4d | 41 4e 49 46 45 53 54 27 |ting "'M|ANIFEST'|
|00002000| 22 20 27 28 73 68 6f 75 | 6c 64 20 68 61 76 65 20 |" '(shou|ld have |
|00002010| 62 65 65 6e 20 32 30 35 | 35 20 63 68 61 72 61 63 |been 205|5 charac|
|00002020| 74 65 72 73 29 27 0a 66 | 69 0a 63 68 6d 6f 64 20 |ters)'.f|i.chmod |
|00002030| 2b 78 20 27 4d 41 4e 49 | 46 45 53 54 27 0a 66 69 |+x 'MANI|FEST'.fi|
|00002040| 20 23 20 65 6e 64 20 6f | 66 20 6f 76 65 72 77 72 | # end o|f overwr|
|00002050| 69 74 69 6e 67 20 63 68 | 65 63 6b 0a 65 63 68 6f |iting ch|eck.echo|
|00002060| 20 73 68 61 72 3a 20 65 | 78 74 72 61 63 74 69 6e | shar: e|xtractin|
|00002070| 67 20 22 27 42 55 47 53 | 27 22 20 27 28 31 39 37 |g "'BUGS|'" '(197|
|00002080| 30 20 63 68 61 72 61 63 | 74 65 72 73 29 27 0a 69 |0 charac|ters)'.i|
|00002090| 66 20 74 65 73 74 20 2d | 66 20 27 42 55 47 53 27 |f test -|f 'BUGS'|
|000020a0| 0a 74 68 65 6e 0a 09 65 | 63 68 6f 20 73 68 61 72 |.then..e|cho shar|
|000020b0| 3a 20 77 69 6c 6c 20 6e | 6f 74 20 6f 76 65 72 2d |: will n|ot over-|
|000020c0| 77 72 69 74 65 20 65 78 | 69 73 74 69 6e 67 20 66 |write ex|isting f|
|000020d0| 69 6c 65 20 22 27 42 55 | 47 53 27 22 0a 65 6c 73 |ile "'BU|GS'".els|
|000020e0| 65 0a 63 61 74 20 3c 3c | 20 5c 53 48 41 52 5f 45 |e.cat <<| \SHAR_E|
|000020f0| 4f 46 20 3e 20 27 42 55 | 47 53 27 0a 2a 2a 2a 2a |OF > 'BU|GS'.****|
|00002100| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002110| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002120| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002130| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002140| 2a 2a 2a 2a 2a 0a 2a 2a | 20 20 20 20 20 20 20 20 |*****.**| |
|00002150| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002160| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002170| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002180| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 2a 2a 0a | | **.|
|00002190| 2a 2a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |** | |
|000021a0| 4b 6e 6f 77 6e 20 42 75 | 67 73 2f 49 6e 63 6f 6d |Known Bu|gs/Incom|
|000021b0| 70 61 74 69 62 69 6c 69 | 74 69 65 73 20 77 69 74 |patibili|ties wit|
|000021c0| 68 20 4d 41 43 49 46 59 | 20 20 20 20 20 20 20 20 |h MACIFY| |
|000021d0| 20 20 20 20 20 20 20 2a | 2a 0a 2a 2a 20 20 20 20 | *|*.** |
|000021e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000021f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002200| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002210| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002220| 20 2a 2a 0a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a | **.****|********|
|00002230| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002240| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002250| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002260| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 0a 0a 28 |********|*****..(|
|00002270| 55 4e 49 58 20 56 65 72 | 73 69 6f 6e 29 0a 0a 2b |UNIX Ver|sion)..+|
|00002280| 20 20 4d 41 43 49 46 59 | 20 77 69 6c 6c 20 70 72 | MACIFY| will pr|
|00002290| 6f 62 61 62 6c 79 20 62 | 61 72 66 20 6f 6e 20 6e |obably b|arf on n|
|000022a0| 6f 6e 2d 74 65 78 74 20 | 69 6e 70 75 74 2f 66 69 |on-text |input/fi|
|000022b0| 6c 65 73 20 28 65 2e 67 | 2e 20 74 79 70 65 20 73 |les (e.g|. type s|
|000022c0| 70 65 63 69 61 6c 0a 20 | 20 20 66 69 6c 65 73 2c |pecial. | files,|
|000022d0| 20 62 69 6e 61 72 69 65 | 73 2c 20 65 74 63 2e 29 | binarie|s, etc.)|
|000022e0| 0a 0a 2b 20 20 4d 41 43 | 49 46 59 20 63 75 72 72 |..+ MAC|IFY curr|
|000022f0| 65 6e 74 6c 79 20 64 6f | 65 73 20 6e 6f 74 20 73 |ently do|es not s|
|00002300| 75 70 70 6f 72 74 20 77 | 69 6c 64 63 61 72 64 20 |upport w|ildcard |
|00002310| 65 78 74 65 6e 73 69 6f | 6e 2e 20 20 41 20 66 75 |extensio|n. A fu|
|00002320| 74 75 72 65 20 76 65 72 | 73 69 6f 6e 0a 20 20 20 |ture ver|sion. |
|00002330| 77 69 6c 6c 20 69 6e 63 | 6f 72 70 6f 72 61 74 65 |will inc|orporate|
|00002340| 20 74 68 69 73 2c 20 61 | 73 20 77 65 6c 6c 20 61 | this, a|s well a|
|00002350| 73 20 61 6c 6c 6f 77 69 | 6e 67 20 79 6f 75 20 74 |s allowi|ng you t|
|00002360| 6f 20 73 70 65 63 69 66 | 79 20 6f 6e 6c 79 20 74 |o specif|y only t|
|00002370| 68 65 0a 20 20 20 73 6f | 75 72 63 65 20 66 69 6c |he. so|urce fil|
|00002380| 65 6e 61 6d 65 2c 20 69 | 6e 20 77 68 69 63 68 20 |ename, i|n which |
|00002390| 63 61 73 65 20 74 68 65 | 20 64 65 73 74 69 6e 61 |case the| destina|
|000023a0| 74 69 6f 6e 20 66 69 6c | 65 6e 61 6d 65 20 77 69 |tion fil|ename wi|
|000023b0| 6c 6c 20 61 75 74 6f 2d | 0a 20 20 20 6d 61 74 69 |ll auto-|. mati|
|000023c0| 63 61 6c 6c 79 20 62 65 | 20 6e 61 6d 65 64 20 5b |cally be| named [|
|000023d0| 73 6f 75 72 63 65 66 69 | 6c 65 5d 2e 63 6f 6e 76 |sourcefi|le].conv|
|000023e0| 2e 0a 0a 2b 20 20 49 66 | 20 79 6f 75 20 67 69 76 |...+ If| you giv|
|000023f0| 65 20 69 74 20 61 20 66 | 69 6c 65 6e 61 6d 65 20 |e it a f|ilename |
|00002400| 74 68 61 74 20 64 6f 65 | 73 20 6e 6f 74 20 65 78 |that doe|s not ex|
|00002410| 69 73 74 2c 20 66 6f 72 | 20 69 6e 70 75 74 2c 20 |ist, for| input, |
|00002420| 4d 41 43 49 46 59 20 77 | 69 6c 6c 0a 20 20 20 6d |MACIFY w|ill. m|
|00002430| 6f 73 74 20 6c 69 6b 65 | 6c 79 20 65 69 74 68 65 |ost like|ly eithe|
|00002440| 72 20 63 6f 6d 70 6c 61 | 69 6e 20 6f 72 20 62 61 |r compla|in or ba|
|00002450| 72 66 2e 0a 0a 2b 20 20 | 41 6c 6c 20 65 72 72 6f |rf...+ |All erro|
|00002460| 72 20 6d 73 67 73 20 61 | 6e 64 20 6f 74 68 65 72 |r msgs a|nd other|
|00002470| 20 73 75 63 68 20 6f 75 | 74 70 75 74 20 61 72 65 | such ou|tput are|
|00002480| 20 70 72 69 6e 74 65 64 | 20 74 6f 20 73 74 64 6f | printed| to stdo|
|00002490| 75 74 20 69 6e 73 74 65 | 61 64 20 6f 66 0a 20 20 |ut inste|ad of. |
|000024a0| 20 73 74 64 65 72 72 2e | 20 20 49 66 20 79 6f 75 | stderr.| If you|
|000024b0| 27 72 65 20 72 65 64 69 | 72 65 63 74 69 6e 67 20 |'re redi|recting |
|000024c0| 6f 75 74 70 75 74 20 74 | 6f 20 61 20 66 69 6c 65 |output t|o a file|
|000024d0| 2c 20 61 6e 64 20 79 6f | 75 20 68 69 74 20 61 6e |, and yo|u hit an|
|000024e0| 20 65 72 72 6f 72 2c 0a | 20 20 20 61 6e 79 20 6d | error,.| any m|
|000024f0| 65 73 73 61 67 65 73 20 | 70 72 69 6e 74 65 64 20 |essages |printed |
|00002500| 77 69 6c 6c 20 62 65 20 | 64 75 6d 70 65 64 20 74 |will be |dumped t|
|00002510| 6f 20 74 68 65 20 6f 75 | 74 70 75 74 20 66 69 6c |o the ou|tput fil|
|00002520| 65 2e 20 20 54 68 69 73 | 20 77 69 6c 6c 20 62 65 |e. This| will be|
|00002530| 0a 20 20 20 66 69 78 65 | 64 20 69 6e 20 61 20 6c |. fixe|d in a l|
|00002540| 61 74 65 72 20 76 65 72 | 73 69 6f 6e 2e 0a 0a 28 |ater ver|sion...(|
|00002550| 4d 61 63 69 6e 74 6f 73 | 68 20 56 65 72 73 69 6f |Macintos|h Versio|
|00002560| 6e 29 0a 0a 2b 20 20 4d | 41 43 49 46 59 20 77 69 |n)..+ M|ACIFY wi|
|00002570| 6c 6c 20 62 61 72 66 20 | 69 66 20 74 68 65 20 69 |ll barf |if the i|
|00002580| 6e 70 75 74 20 66 69 6c | 65 20 69 73 20 6e 6f 6e |nput fil|e is non|
|00002590| 2d 74 65 78 74 20 28 69 | 2e 65 2e 20 61 70 70 6c |-text (i|.e. appl|
|000025a0| 69 63 61 74 69 6f 6e 2c | 0a 20 20 20 62 69 6e 61 |ication,|. bina|
|000025b0| 72 79 2c 20 65 74 63 2e | 29 0a 0a 2b 20 20 4d 41 |ry, etc.|)..+ MA|
|000025c0| 43 49 46 59 20 6f 6e 20 | 74 68 65 20 4d 61 63 20 |CIFY on |the Mac |
|000025d0| 57 49 4c 4c 20 4e 4f 54 | 20 77 6f 72 6b 20 66 6f |WILL NOT| work fo|
|000025e0| 72 20 63 6f 6e 76 65 72 | 74 69 6e 67 20 4d 61 63 |r conver|ting Mac|
|000025f0| 20 2d 3e 20 55 4e 49 58 | 20 66 69 6c 65 73 2e 0a | -> UNIX| files..|
|00002600| 20 20 20 54 68 65 72 65 | 66 6f 72 65 2c 20 49 20 | There|fore, I |
|00002610| 68 61 76 65 20 64 69 73 | 61 62 6c 65 64 20 74 68 |have dis|abled th|
|00002620| 69 73 20 6d 65 6e 75 20 | 69 74 65 6d 2e 20 20 43 |is menu |item. C|
|00002630| 6f 6e 76 65 72 74 69 6e | 67 20 55 4e 49 58 20 2d |onvertin|g UNIX -|
|00002640| 3e 20 4d 61 63 2c 0a 20 | 20 20 68 6f 77 65 76 65 |> Mac,. | howeve|
|00002650| 72 2c 20 77 6f 72 6b 73 | 20 66 69 6e 65 2e 20 20 |r, works| fine. |
|00002660| 50 6c 65 61 73 65 20 73 | 65 65 20 74 68 65 20 22 |Please s|ee the "|
|00002670| 52 45 41 44 4d 45 22 20 | 66 69 6c 65 20 69 6e 20 |README" |file in |
|00002680| 74 68 65 20 4d 61 63 20 | 64 69 73 2d 0a 20 20 20 |the Mac |dis-. |
|00002690| 74 72 69 62 75 74 69 6f | 6e 20 66 6f 72 20 69 6e |tributio|n for in|
|000026a0| 66 6f 72 6d 61 74 69 6f | 6e 20 61 62 6f 75 74 20 |formatio|n about |
|000026b0| 74 68 69 73 20 62 75 67 | 2e 20 20 49 66 20 79 6f |this bug|. If yo|
|000026c0| 75 20 63 61 6e 20 66 69 | 78 20 69 74 2c 20 70 6c |u can fi|x it, pl|
|000026d0| 65 61 73 65 0a 20 20 20 | 64 72 6f 70 20 6d 65 20 |ease. |drop me |
|000026e0| 61 6e 20 45 2d 4d 61 69 | 6c 20 6e 6f 74 69 63 65 |an E-Mai|l notice|
|000026f0| 20 74 65 6c 6c 69 6e 67 | 20 77 68 61 74 20 74 68 | telling| what th|
|00002700| 65 20 70 72 6f 62 6c 65 | 6d 20 69 73 2c 20 61 6e |e proble|m is, an|
|00002710| 64 20 68 6f 77 20 74 6f | 0a 20 20 20 72 65 73 6f |d how to|. reso|
|00002720| 6c 76 65 20 69 74 21 20 | 20 54 68 61 6e 6b 73 21 |lve it! | Thanks!|
|00002730| 0a 0a 2b 20 20 4d 41 43 | 49 46 59 20 77 69 6c 6c |..+ MAC|IFY will|
|00002740| 20 6f 76 65 72 77 72 69 | 74 65 20 74 68 65 20 6f | overwri|te the o|
|00002750| 75 74 70 75 74 20 66 69 | 6c 65 20 28 66 69 6c 65 |utput fi|le (file|
|00002760| 2e 6f 75 74 29 2c 20 69 | 66 20 69 74 20 65 78 69 |.out), i|f it exi|
|00002770| 73 74 73 0a 20 20 20 61 | 6c 72 65 61 64 79 2e 0a |sts. a|lready..|
|00002780| 0a 2b 20 20 4d 41 43 49 | 46 59 20 63 75 72 65 6e |.+ MACI|FY curen|
|00002790| 74 6c 79 20 64 6f 65 73 | 6e 27 74 20 73 75 70 70 |tly does|n't supp|
|000027a0| 6f 72 74 20 62 61 63 6b | 67 72 6f 75 6e 64 20 65 |ort back|ground e|
|000027b0| 76 65 6e 74 73 2c 20 61 | 6e 64 20 6f 74 68 65 72 |vents, a|nd other|
|000027c0| 20 73 75 63 68 0a 20 20 | 20 4d 61 63 2d 69 73 6d | such. | Mac-ism|
|000027d0| 73 2e 20 20 54 68 69 73 | 20 77 69 6c 6c 20 70 65 |s. This| will pe|
|000027e0| 72 68 61 70 73 20 62 65 | 20 69 6e 74 65 67 72 61 |rhaps be| integra|
|000027f0| 74 65 64 20 69 6e 20 61 | 20 66 75 74 75 72 65 20 |ted in a| future |
|00002800| 76 65 72 73 69 6f 6e 2e | 0a 0a 2b 20 20 54 68 65 |version.|..+ The|
|00002810| 20 63 6f 64 65 20 66 6f | 72 20 4d 41 43 49 46 59 | code fo|r MACIFY|
|00002820| 20 69 73 20 76 65 72 79 | 20 6d 65 73 73 79 2e 0a | is very| messy..|
|00002830| 0a 2b 20 20 4d 41 43 49 | 46 59 20 64 6f 65 73 20 |.+ MACI|FY does |
|00002840| 61 6c 6d 6f 73 74 20 4e | 4f 20 65 72 72 6f 72 2d |almost N|O error-|
|00002850| 63 68 65 63 6b 69 6e 67 | 2e 20 20 54 68 75 73 2c |checking|. Thus,|
|00002860| 20 69 66 20 79 6f 75 20 | 64 6f 20 73 6f 6d 65 74 | if you |do somet|
|00002870| 68 69 6e 67 20 74 6f 20 | 69 74 0a 20 20 20 74 68 |hing to |it. th|
|00002880| 61 74 20 69 74 20 64 6f | 65 73 6e 27 74 20 65 78 |at it do|esn't ex|
|00002890| 70 65 63 74 2c 20 69 74 | 27 6c 6c 20 6d 6f 73 74 |pect, it|'ll most|
|000028a0| 20 6c 69 6b 65 6c 79 20 | 62 6f 6d 62 2e 0a 53 48 | likely |bomb..SH|
|000028b0| 41 52 5f 45 4f 46 0a 69 | 66 20 74 65 73 74 20 31 |AR_EOF.i|f test 1|
|000028c0| 39 37 30 20 2d 6e 65 20 | 22 60 77 63 20 2d 63 20 |970 -ne |"`wc -c |
|000028d0| 3c 20 27 42 55 47 53 27 | 60 22 0a 74 68 65 6e 0a |< 'BUGS'|`".then.|
|000028e0| 09 65 63 68 6f 20 73 68 | 61 72 3a 20 65 72 72 6f |.echo sh|ar: erro|
|000028f0| 72 20 74 72 61 6e 73 6d | 69 74 74 69 6e 67 20 22 |r transm|itting "|
|00002900| 27 42 55 47 53 27 22 20 | 27 28 73 68 6f 75 6c 64 |'BUGS'" |'(should|
|00002910| 20 68 61 76 65 20 62 65 | 65 6e 20 31 39 37 30 20 | have be|en 1970 |
|00002920| 63 68 61 72 61 63 74 65 | 72 73 29 27 0a 66 69 0a |characte|rs)'.fi.|
|00002930| 63 68 6d 6f 64 20 2b 78 | 20 27 42 55 47 53 27 0a |chmod +x| 'BUGS'.|
|00002940| 66 69 20 23 20 65 6e 64 | 20 6f 66 20 6f 76 65 72 |fi # end| of over|
|00002950| 77 72 69 74 69 6e 67 20 | 63 68 65 63 6b 0a 65 63 |writing |check.ec|
|00002960| 68 6f 20 73 68 61 72 3a | 20 65 78 74 72 61 63 74 |ho shar:| extract|
|00002970| 69 6e 67 20 22 27 54 4f | 44 4f 27 22 20 27 28 31 |ing "'TO|DO'" '(1|
|00002980| 39 31 37 20 63 68 61 72 | 61 63 74 65 72 73 29 27 |917 char|acters)'|
|00002990| 0a 69 66 20 74 65 73 74 | 20 2d 66 20 27 54 4f 44 |.if test| -f 'TOD|
|000029a0| 4f 27 0a 74 68 65 6e 0a | 09 65 63 68 6f 20 73 68 |O'.then.|.echo sh|
|000029b0| 61 72 3a 20 77 69 6c 6c | 20 6e 6f 74 20 6f 76 65 |ar: will| not ove|
|000029c0| 72 2d 77 72 69 74 65 20 | 65 78 69 73 74 69 6e 67 |r-write |existing|
|000029d0| 20 66 69 6c 65 20 22 27 | 54 4f 44 4f 27 22 0a 65 | file "'|TODO'".e|
|000029e0| 6c 73 65 0a 63 61 74 20 | 3c 3c 20 5c 53 48 41 52 |lse.cat |<< \SHAR|
|000029f0| 5f 45 4f 46 20 3e 20 27 | 54 4f 44 4f 27 0a 2a 2a |_EOF > '|TODO'.**|
|00002a00| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002a10| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002a20| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002a30| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002a40| 2a 2a 2a 2a 2a 2a 0a 2a | 2a 20 20 20 20 20 20 20 |******.*|* |
|00002a50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002a60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002a70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002a80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 2a 2a 0a | | **.|
|00002a90| 2a 2a 20 20 20 20 20 20 | 20 20 20 20 20 54 68 69 |** | Thi|
|00002aa0| 6e 67 73 20 49 20 77 6f | 75 6c 64 20 4c 69 6b 65 |ngs I wo|uld Like|
|00002ab0| 20 74 6f 20 44 6f 20 77 | 69 74 68 20 74 68 69 73 | to Do w|ith this|
|00002ac0| 20 50 72 6f 67 72 61 6d | 20 20 20 20 20 20 20 20 | Program| |
|00002ad0| 20 20 20 20 20 20 2a 2a | 0a 2a 2a 20 20 20 20 20 | **|.** |
|00002ae0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002af0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002b00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002b10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 2a | | *|
|00002b20| 2a 0a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |*.******|********|
|00002b30| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002b40| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002b50| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002b60| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 0a 0a 49 66 20 79 |********|**..If y|
|00002b70| 6f 75 20 68 61 76 65 20 | 61 6e 79 20 69 64 65 61 |ou have |any idea|
|00002b80| 73 20 61 73 20 74 6f 20 | 68 6f 77 20 49 20 63 61 |s as to |how I ca|
|00002b90| 6e 20 61 63 63 6f 6d 70 | 6c 69 73 68 20 61 6e 79 |n accomp|lish any|
|00002ba0| 20 6f 66 20 74 68 65 73 | 65 2c 20 70 6c 65 61 73 | of thes|e, pleas|
|00002bb0| 65 0a 6c 65 74 20 6d 65 | 20 6b 6e 6f 77 20 2c 20 |e.let me| know , |
|00002bc0| 74 68 72 6f 75 67 68 20 | 45 2d 4d 61 69 6c 2e 20 |through |E-Mail. |
|00002bd0| 28 64 62 75 72 72 40 6f | 63 66 2e 62 65 72 6b 65 |(dburr@o|cf.berke|
|00002be0| 6c 65 79 2e 65 64 75 29 | 0a 0a 28 55 4e 49 58 20 |ley.edu)|..(UNIX |
|00002bf0| 56 65 72 73 69 6f 6e 29 | 0a 0a 31 2e 20 20 47 65 |Version)|..1. Ge|
|00002c00| 74 74 69 6e 67 20 4d 41 | 43 49 46 59 20 74 6f 20 |tting MA|CIFY to |
|00002c10| 77 6f 72 6b 20 77 69 74 | 68 20 6d 75 6c 74 69 70 |work wit|h multip|
|00002c20| 6c 65 20 66 69 6c 65 73 | 2c 20 70 72 6f 63 65 73 |le files|, proces|
|00002c30| 73 69 6e 67 20 65 61 63 | 68 20 69 6e 64 69 2d 0a |sing eac|h indi-.|
|00002c40| 20 20 20 20 76 69 64 75 | 61 6c 6c 79 2e 20 20 28 | vidu|ally. (|
|00002c50| 55 73 69 6e 67 20 77 69 | 6c 64 63 61 72 64 20 65 |Using wi|ldcard e|
|00002c60| 78 70 61 6e 73 69 6f 6e | 29 0a 0a 32 2e 20 20 47 |xpansion|)..2. G|
|00002c70| 65 74 74 69 6e 67 20 4d | 41 43 49 46 59 20 74 6f |etting M|ACIFY to|
|00002c80| 20 62 65 20 61 62 6c 65 | 20 74 6f 20 61 63 63 65 | be able| to acce|
|00002c90| 70 74 20 6f 6e 6c 79 20 | 6f 6e 65 20 66 69 6c 65 |pt only |one file|
|00002ca0| 6e 61 6d 65 2c 20 74 68 | 65 20 22 69 6e 70 75 74 |name, th|e "input|
|00002cb0| 22 0a 20 20 20 20 66 69 | 6c 65 2e 20 20 4d 41 43 |". fi|le. MAC|
|00002cc0| 49 46 59 20 77 69 6c 6c | 20 67 65 6e 65 72 61 74 |IFY will| generat|
|00002cd0| 65 20 69 74 73 20 6f 77 | 6e 20 6e 61 6d 65 20 66 |e its ow|n name f|
|00002ce0| 6f 72 20 74 68 65 20 6f | 75 74 66 69 6c 65 2c 20 |or the o|utfile, |
|00002cf0| 62 79 0a 20 20 20 20 74 | 61 63 6b 69 6e 67 20 6f |by. t|acking o|
|00002d00| 6e 20 22 2e 6f 75 74 22 | 20 6f 72 20 22 2e 63 6f |n ".out"| or ".co|
|00002d10| 6e 76 22 20 6f 72 20 73 | 6f 6d 65 74 68 69 6e 67 |nv" or s|omething|
|00002d20| 20 65 71 75 61 6c 6c 79 | 20 61 73 20 6d 65 61 6e | equally| as mean|
|00002d30| 69 6e 67 66 75 6c 0a 20 | 20 20 20 74 6f 20 74 68 |ingful. | to th|
|00002d40| 65 20 6e 61 6d 65 20 6f | 66 20 74 68 65 20 69 6e |e name o|f the in|
|00002d50| 70 75 74 20 66 69 6c 65 | 2e 20 20 28 22 74 65 78 |put file|. ("tex|
|00002d60| 74 22 20 62 65 63 6f 6d | 65 73 20 22 74 65 78 74 |t" becom|es "text|
|00002d70| 2e 6f 75 74 22 29 20 20 | 54 68 69 73 0a 20 20 20 |.out") |This. |
|00002d80| 20 77 69 6c 6c 20 62 65 | 20 6e 65 65 64 65 64 20 | will be| needed |
|00002d90| 74 6f 20 63 6f 6d 70 6c | 65 74 65 20 23 31 2c 20 |to compl|ete #1, |
|00002da0| 6f 72 20 65 6c 73 65 20 | 79 6f 75 20 77 6f 75 6c |or else |you woul|
|00002db0| 64 20 68 61 76 65 20 74 | 6f 20 68 61 76 65 20 74 |d have t|o have t|
|00002dc0| 68 65 0a 20 20 20 20 75 | 73 65 72 20 70 72 6f 6d |he. u|ser prom|
|00002dd0| 70 74 65 64 20 66 6f 72 | 20 61 20 64 65 73 74 69 |pted for| a desti|
|00002de0| 6e 61 74 69 6f 6e 20 66 | 69 6c 65 6e 61 6d 65 20 |nation f|ilename |
|00002df0| 65 61 63 68 20 74 69 6d | 65 20 61 20 6e 65 77 20 |each tim|e a new |
|00002e00| 66 69 6c 65 20 69 73 0a | 20 20 20 20 70 72 6f 63 |file is.| proc|
|00002e10| 65 73 73 65 64 2c 20 77 | 68 69 63 68 20 69 73 20 |essed, w|hich is |
|00002e20| 6d 65 73 73 79 2e 0a 0a | 33 2e 20 20 50 6f 73 73 |messy...|3. Poss|
|00002e30| 69 62 6c 65 20 69 6e 74 | 65 72 66 61 63 65 20 74 |ible int|erface t|
|00002e40| 6f 20 58 4d 4f 44 45 4d | 2c 20 5a 4d 4f 44 45 4d |o XMODEM|, ZMODEM|
|00002e50| 2c 20 6f 72 20 73 6f 6d | 65 20 6f 74 68 65 72 20 |, or som|e other |
|00002e60| 70 72 6f 74 6f 63 6f 6c | 2c 20 73 6f 20 74 68 61 |protocol|, so tha|
|00002e70| 74 0a 20 20 20 20 77 68 | 65 6e 20 79 6f 75 20 63 |t. wh|en you c|
|00002e80| 6f 6e 76 65 72 74 20 66 | 69 6c 65 73 2c 20 74 68 |onvert f|iles, th|
|00002e90| 65 79 20 61 75 74 6f 6d | 61 74 69 63 61 6c 6c 79 |ey autom|atically|
|00002ea0| 20 67 65 74 20 28 75 70 | 29 2f 28 64 6f 77 6e 29 | get (up|)/(down)|
|00002eb0| 6c 6f 61 64 65 64 2e 0a | 0a 34 2e 20 20 49 20 64 |loaded..|.4. I d|
|00002ec0| 6f 6e 27 74 20 6b 6e 6f | 77 21 20 49 66 20 79 6f |on't kno|w! If yo|
|00002ed0| 75 20 63 61 6e 20 74 68 | 69 6e 6b 20 6f 66 20 73 |u can th|ink of s|
|00002ee0| 6f 6d 65 74 68 69 6e 67 | 20 49 20 63 61 6e 20 64 |omething| I can d|
|00002ef0| 6f 20 74 6f 20 69 6d 70 | 72 6f 76 65 20 74 68 69 |o to imp|rove thi|
|00002f00| 73 2c 0a 20 20 20 20 6c | 65 74 20 6d 65 20 6b 6e |s,. l|et me kn|
|00002f10| 6f 77 20 74 68 72 6f 75 | 67 68 20 65 6d 61 69 6c |ow throu|gh email|
|00002f20| 21 0a 0a 28 4d 61 63 69 | 6e 74 6f 73 68 20 56 65 |!..(Maci|ntosh Ve|
|00002f30| 72 73 69 6f 6e 29 0a 0a | 31 2e 20 20 43 6c 65 61 |rsion)..|1. Clea|
|00002f40| 6e 69 6e 67 20 75 70 20 | 74 68 65 20 63 6f 64 65 |ning up |the code|
|00002f50| 20 73 6f 6d 65 2c 20 72 | 65 6d 6f 76 69 6e 67 2f | some, r|emoving/|
|00002f60| 66 69 78 69 6e 67 20 69 | 6e 63 6f 6e 73 69 73 74 |fixing i|nconsist|
|00002f70| 65 6e 63 69 65 73 2c 20 | 64 75 70 6c 69 63 61 74 |encies, |duplicat|
|00002f80| 65 73 2c 0a 20 20 20 20 | 66 75 6e 63 74 69 6f 6e |es,. |function|
|00002f90| 73 20 6e 6f 74 20 6e 65 | 65 64 65 64 2c 20 65 74 |s not ne|eded, et|
|00002fa0| 63 2e 0a 0a 32 2e 20 20 | 41 6c 6c 6f 77 69 6e 67 |c...2. |Allowing|
|00002fb0| 20 79 6f 75 20 74 6f 20 | 63 68 6f 6f 73 65 20 61 | you to |choose a|
|00002fc0| 20 66 69 6c 65 6e 61 6d | 65 20 66 6f 72 20 74 68 | filenam|e for th|
|00002fd0| 65 20 6f 75 74 70 75 74 | 20 66 69 6c 65 2c 20 69 |e output| file, i|
|00002fe0| 6e 73 74 65 61 64 20 6f | 66 0a 20 20 20 20 74 61 |nstead o|f. ta|
|00002ff0| 63 6b 69 6e 67 20 6f 6e | 20 74 68 65 20 22 2e 6f |cking on| the ".o|
|00003000| 75 74 22 20 74 6f 20 74 | 68 65 20 66 69 6c 65 20 |ut" to t|he file |
|00003010| 79 6f 75 20 6f 70 65 6e | 2c 20 6c 69 6b 65 20 69 |you open|, like i|
|00003020| 74 20 64 6f 65 73 20 6e | 6f 77 2e 0a 0a 33 2e 20 |t does n|ow...3. |
|00003030| 20 41 64 64 69 6e 67 20 | 61 20 62 65 74 74 65 72 | Adding |a better|
|00003040| 20 75 73 65 72 20 69 6e | 74 65 72 66 61 63 65 2c | user in|terface,|
|00003050| 20 77 69 74 68 20 61 20 | 70 6f 73 73 69 62 6c 65 | with a |possible|
|00003060| 20 50 72 6f 67 72 65 73 | 73 20 64 69 61 6c 6f 67 | Progres|s dialog|
|00003070| 20 62 6f 78 2c 0a 20 20 | 20 20 61 6e 64 20 61 20 | box,. | and a |
|00003080| 64 69 61 6c 6f 67 20 74 | 68 61 74 20 64 69 73 70 |dialog t|hat disp|
|00003090| 6c 61 79 73 20 77 68 65 | 6e 20 79 6f 75 20 66 69 |lays whe|n you fi|
|000030a0| 6e 69 73 68 2c 20 61 73 | 20 77 65 6c 6c 20 61 73 |nish, as| well as|
|000030b0| 20 61 20 64 69 61 6c 6f | 67 20 74 68 61 74 0a 20 | a dialo|g that. |
|000030c0| 20 20 20 70 6f 70 73 20 | 75 70 20 69 66 20 65 72 | pops |up if er|
|000030d0| 72 6f 72 73 20 6f 63 63 | 75 72 2e 0a 0a 34 2e 20 |rors occ|ur...4. |
|000030e0| 20 49 6e 63 6f 72 70 6f | 72 61 74 65 20 65 72 72 | Incorpo|rate err|
|000030f0| 6f 72 20 63 68 65 63 6b | 69 6e 67 20 69 6e 20 74 |or check|ing in t|
|00003100| 68 65 20 4d 61 63 20 76 | 65 72 73 69 6f 6e 2e 0a |he Mac v|ersion..|
|00003110| 0a 35 2e 20 20 49 20 64 | 6f 6e 27 74 20 6b 6e 6f |.5. I d|on't kno|
|00003120| 77 21 20 20 49 66 20 79 | 6f 75 20 63 61 6e 20 74 |w! If y|ou can t|
|00003130| 68 69 6e 6b 20 6f 66 20 | 73 6f 6d 65 74 68 69 6e |hink of |somethin|
|00003140| 67 20 49 20 63 61 6e 20 | 64 6f 20 74 6f 20 69 6d |g I can |do to im|
|00003150| 70 72 6f 76 65 20 74 68 | 69 73 2c 0a 20 20 20 20 |prove th|is,. |
|00003160| 6c 65 74 20 6d 65 20 6b | 6e 6f 77 20 74 68 72 6f |let me k|now thro|
|00003170| 75 67 68 20 65 6d 61 69 | 6c 21 0a 53 48 41 52 5f |ugh emai|l!.SHAR_|
|00003180| 45 4f 46 0a 69 66 20 74 | 65 73 74 20 31 39 31 37 |EOF.if t|est 1917|
|00003190| 20 2d 6e 65 20 22 60 77 | 63 20 2d 63 20 3c 20 27 | -ne "`w|c -c < '|
|000031a0| 54 4f 44 4f 27 60 22 0a | 74 68 65 6e 0a 09 65 63 |TODO'`".|then..ec|
|000031b0| 68 6f 20 73 68 61 72 3a | 20 65 72 72 6f 72 20 74 |ho shar:| error t|
|000031c0| 72 61 6e 73 6d 69 74 74 | 69 6e 67 20 22 27 54 4f |ransmitt|ing "'TO|
|000031d0| 44 4f 27 22 20 27 28 73 | 68 6f 75 6c 64 20 68 61 |DO'" '(s|hould ha|
|000031e0| 76 65 20 62 65 65 6e 20 | 31 39 31 37 20 63 68 61 |ve been |1917 cha|
|000031f0| 72 61 63 74 65 72 73 29 | 27 0a 66 69 0a 63 68 6d |racters)|'.fi.chm|
|00003200| 6f 64 20 2b 78 20 27 54 | 4f 44 4f 27 0a 66 69 20 |od +x 'T|ODO'.fi |
|00003210| 23 20 65 6e 64 20 6f 66 | 20 6f 76 65 72 77 72 69 |# end of| overwri|
|00003220| 74 69 6e 67 20 63 68 65 | 63 6b 0a 65 63 68 6f 20 |ting che|ck.echo |
|00003230| 73 68 61 72 3a 20 65 78 | 74 72 61 63 74 69 6e 67 |shar: ex|tracting|
|00003240| 20 22 27 4d 61 6b 65 66 | 69 6c 65 27 22 20 27 28 | "'Makef|ile'" '(|
|00003250| 31 39 37 34 20 63 68 61 | 72 61 63 74 65 72 73 29 |1974 cha|racters)|
|00003260| 27 0a 69 66 20 74 65 73 | 74 20 2d 66 20 27 4d 61 |'.if tes|t -f 'Ma|
|00003270| 6b 65 66 69 6c 65 27 0a | 74 68 65 6e 0a 09 65 63 |kefile'.|then..ec|
|00003280| 68 6f 20 73 68 61 72 3a | 20 77 69 6c 6c 20 6e 6f |ho shar:| will no|
|00003290| 74 20 6f 76 65 72 2d 77 | 72 69 74 65 20 65 78 69 |t over-w|rite exi|
|000032a0| 73 74 69 6e 67 20 66 69 | 6c 65 20 22 27 4d 61 6b |sting fi|le "'Mak|
|000032b0| 65 66 69 6c 65 27 22 0a | 65 6c 73 65 0a 63 61 74 |efile'".|else.cat|
|000032c0| 20 3c 3c 20 5c 53 48 41 | 52 5f 45 4f 46 20 3e 20 | << \SHA|R_EOF > |
|000032d0| 27 4d 61 6b 65 66 69 6c | 65 27 0a 23 23 23 23 23 |'Makefil|e'.#####|
|000032e0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|000032f0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00003300| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00003310| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00003320| 23 23 23 23 23 23 0a 23 | 23 20 20 20 20 20 20 20 |######.#|# |
|00003330| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003340| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003350| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003360| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003370| 23 23 0a 23 23 20 20 20 | 20 20 20 20 20 20 20 20 |##.## | |
|00003380| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 4d 61 | | Ma|
|00003390| 6b 65 66 69 6c 65 20 66 | 6f 72 20 4d 41 43 49 46 |kefile f|or MACIF|
|000033a0| 59 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |Y | |
|000033b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 23 23 0a 23 | | ##.#|
|000033c0| 23 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |# | |
|000033d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000033e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000033f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003400| 20 20 20 20 20 20 20 20 | 23 23 0a 23 23 23 23 23 | |##.#####|
|00003410| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00003420| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00003430| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00003440| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00003450| 23 23 23 23 23 23 0a 0a | 23 20 56 61 6c 75 65 73 |######..|# Values|
|00003460| 20 68 65 72 65 20 73 68 | 6f 75 6c 64 20 62 65 20 | here sh|ould be |
|00003470| 63 68 61 6e 67 65 64 20 | 74 6f 20 77 68 61 74 65 |changed |to whate|
|00003480| 76 65 72 27 73 20 61 70 | 70 72 6f 70 72 69 61 74 |ver's ap|propriat|
|00003490| 65 20 66 6f 72 20 79 6f | 75 72 20 73 79 73 74 65 |e for yo|ur syste|
|000034a0| 6d 0a 0a 23 20 43 68 61 | 6e 67 65 20 74 68 69 73 |m..# Cha|nge this|
|000034b0| 20 74 6f 20 74 68 65 20 | 43 20 63 6f 6d 70 69 6c | to the |C compil|
|000034c0| 65 72 20 79 6f 75 20 75 | 73 65 2e 20 20 4d 6f 73 |er you u|se. Mos|
|000034d0| 74 20 73 79 73 74 65 6d | 73 20 77 69 6c 6c 20 68 |t system|s will h|
|000034e0| 61 6e 64 6c 65 20 27 63 | 63 27 0a 23 20 66 69 6e |andle 'c|c'.# fin|
|000034f0| 65 2c 20 73 69 6e 63 65 | 20 49 20 64 69 64 6e 27 |e, since| I didn'|
|00003500| 74 20 77 72 69 74 65 20 | 74 68 69 73 20 69 6e 20 |t write |this in |
|00003510| 41 4e 53 49 20 43 20 6f | 72 20 61 6e 79 74 68 69 |ANSI C o|r anythi|
|00003520| 6e 67 20 73 70 65 63 69 | 61 6c 2e 20 20 4f 6e 20 |ng speci|al. On |
|00003530| 73 6f 6d 65 0a 23 20 73 | 79 73 74 65 6d 73 2c 20 |some.# s|ystems, |
|00003540| 47 43 43 20 6d 61 79 20 | 70 72 6f 76 69 64 65 20 |GCC may |provide |
|00003550| 62 65 74 74 65 72 20 61 | 6e 64 20 73 6d 61 6c 6c |better a|nd small|
|00003560| 65 72 20 6f 75 74 70 75 | 74 2c 20 73 6f 20 74 72 |er outpu|t, so tr|
|00003570| 79 20 74 68 61 74 20 69 | 6e 73 74 65 61 64 2e 0a |y that i|nstead..|
|00003580| 43 43 3d 63 63 0a 23 20 | 52 65 70 6c 61 63 65 20 |CC=cc.# |Replace |
|00003590| 74 68 69 73 20 77 69 74 | 68 20 61 6e 79 20 63 6f |this wit|h any co|
|000035a0| 6d 70 69 6c 65 2d 74 69 | 6d 65 20 66 6c 61 67 73 |mpile-ti|me flags|
|000035b0| 20 79 6f 75 20 77 69 73 | 68 20 74 6f 20 73 65 74 | you wis|h to set|
|000035c0| 2e 0a 43 46 4c 41 47 53 | 3d 2d 4f 0a 23 20 54 68 |..CFLAGS|=-O.# Th|
|000035d0| 69 73 20 69 73 20 77 68 | 65 72 65 20 74 68 65 20 |is is wh|ere the |
|000035e0| 62 69 6e 61 72 69 65 73 | 20 28 42 49 4e 44 49 52 |binaries| (BINDIR|
|000035f0| 29 20 61 6e 64 20 6d 61 | 6e 20 70 61 67 65 73 20 |) and ma|n pages |
|00003600| 28 4d 41 4e 44 49 52 29 | 20 77 69 6c 6c 20 62 65 |(MANDIR)| will be|
|00003610| 20 69 6e 73 74 61 6c 6c | 65 64 0a 23 20 69 66 20 | install|ed.# if |
|00003620| 79 6f 75 20 74 79 70 65 | 20 27 6d 61 6b 65 20 69 |you type| 'make i|
|00003630| 6e 73 74 61 6c 6c 27 2e | 20 20 43 68 61 6e 67 65 |nstall'.| Change|
|00003640| 20 74 68 69 73 20 74 6f | 20 77 68 61 74 65 76 65 | this to| whateve|
|00003650| 72 27 73 20 61 70 70 72 | 6f 70 72 69 61 74 65 2e |r's appr|opriate.|
|00003660| 0a 42 49 4e 44 49 52 3d | 2f 75 73 72 2f 6c 6f 63 |.BINDIR=|/usr/loc|
|00003670| 61 6c 0a 4d 41 4e 44 49 | 52 3d 2f 75 73 72 2f 6d |al.MANDI|R=/usr/m|
|00003680| 61 6e 2f 6c 6f 63 61 6c | 2f 6d 61 6e 31 0a 23 20 |an/local|/man1.# |
|00003690| 54 68 69 73 20 69 73 20 | 74 68 65 20 70 72 6f 67 |This is |the prog|
|000036a0| 72 61 6d 20 74 6f 20 62 | 65 20 75 73 65 64 20 74 |ram to b|e used t|
|000036b0| 6f 20 69 6e 73 74 61 6c | 6c 20 74 68 65 20 62 69 |o instal|l the bi|
|000036c0| 6e 61 72 69 65 73 20 61 | 6e 64 20 6d 61 6e 20 70 |naries a|nd man p|
|000036d0| 61 67 65 73 2e 0a 23 20 | 49 20 75 73 65 20 27 63 |ages..# |I use 'c|
|000036e0| 70 27 20 62 65 63 61 75 | 73 65 20 69 74 27 73 20 |p' becau|se it's |
|000036f0| 73 69 6d 70 6c 65 2c 20 | 61 6e 64 20 73 6f 6d 65 |simple, |and some|
|00003700| 20 76 65 72 73 69 6f 6e | 73 20 6f 66 20 27 69 6e | version|s of 'in|
|00003710| 73 74 61 6c 6c 27 20 28 | 74 68 65 20 73 79 73 74 |stall' (|the syst|
|00003720| 65 6d 0a 23 20 62 75 69 | 6c 74 2d 69 6e 20 69 6e |em.# bui|lt-in in|
|00003730| 73 74 61 6c 6c 61 74 69 | 6f 6e 20 70 72 6f 67 72 |stallati|on progr|
|00003740| 61 6d 29 20 64 6f 6e 27 | 74 20 77 6f 72 6b 20 72 |am) don'|t work r|
|00003750| 69 67 68 74 2e 0a 49 4e | 53 54 50 52 47 3d 63 70 |ight..IN|STPRG=cp|
|00003760| 0a 23 20 54 68 69 73 20 | 69 73 20 70 72 6f 62 61 |.# This |is proba|
|00003770| 62 6c 79 20 69 72 72 65 | 6c 65 76 61 6e 74 3b 20 |bly irre|levant; |
|00003780| 74 68 69 73 20 69 73 20 | 74 68 65 20 64 69 72 65 |this is |the dire|
|00003790| 63 74 6f 72 79 20 74 68 | 61 74 20 74 68 65 20 64 |ctory th|at the d|
|000037a0| 69 73 74 72 69 62 75 74 | 69 6f 6e 0a 23 20 73 68 |istribut|ion.# sh|
|000037b0| 61 72 2d 66 69 6c 65 20 | 77 69 6c 6c 20 62 65 20 |ar-file |will be |
|000037c0| 70 6c 61 63 65 64 2e 20 | 20 54 68 69 73 20 69 73 |placed. | This is|
|000037d0| 20 6f 6e 6c 79 20 6f 66 | 20 75 73 65 20 74 6f 20 | only of| use to |
|000037e0| 70 65 6f 70 6c 65 20 72 | 65 2d 64 69 73 74 72 69 |people r|e-distri|
|000037f0| 62 75 74 69 6e 67 0a 23 | 20 4d 41 43 49 46 59 2c |buting.#| MACIFY,|
|00003800| 20 61 66 74 65 72 20 79 | 6f 75 27 76 65 20 6e 75 | after y|ou've nu|
|00003810| 6b 65 64 20 79 6f 75 72 | 20 6f 72 69 67 69 6e 61 |ked your| origina|
|00003820| 6c 20 63 6f 70 79 20 6f | 66 20 74 68 65 20 73 68 |l copy o|f the sh|
|00003830| 61 72 20 66 69 6c 65 2e | 0a 44 49 53 54 44 49 52 |ar file.|.DISTDIR|
|00003840| 3d 2f 75 73 72 2f 73 72 | 63 2f 64 69 73 74 0a 0a |=/usr/sr|c/dist..|
|00003850| 23 20 59 6f 75 20 73 68 | 6f 75 6c 64 20 6e 6f 74 |# You sh|ould not|
|00003860| 20 6e 65 65 64 20 74 6f | 20 63 68 61 6e 67 65 20 | need to| change |
|00003870| 61 6e 79 74 68 69 6e 67 | 20 62 65 6c 6f 77 20 74 |anything| below t|
|00003880| 68 69 73 20 6c 69 6e 65 | 2e 0a 0a 61 6c 6c 3a 09 |his line|...all:.|
|00003890| 20 20 6d 61 63 69 66 79 | 0a 0a 6d 61 63 69 66 79 | macify|..macify|
|000038a0| 3a 09 20 20 6d 61 63 69 | 66 79 2e 6f 20 63 6f 6e |:. maci|fy.o con|
|000038b0| 76 65 72 74 2e 6f 0a 09 | 20 20 24 28 43 43 29 20 |vert.o..| $(CC) |
|000038c0| 24 28 43 46 4c 41 47 53 | 29 20 2d 6f 20 6d 61 63 |$(CFLAGS|) -o mac|
|000038d0| 69 66 79 20 6d 61 63 69 | 66 79 2e 6f 20 63 6f 6e |ify maci|fy.o con|
|000038e0| 76 65 72 74 2e 6f 0a 0a | 6d 61 63 69 66 79 2e 6f |vert.o..|macify.o|
|000038f0| 3a 20 6d 61 63 69 66 79 | 2e 63 20 6d 61 63 69 66 |: macify|.c macif|
|00003900| 79 2e 68 0a 09 20 20 24 | 28 43 43 29 20 24 28 43 |y.h.. $|(CC) $(C|
|00003910| 46 4c 41 47 53 29 20 2d | 63 20 6d 61 63 69 66 79 |FLAGS) -|c macify|
|00003920| 2e 63 0a 0a 63 6f 6e 76 | 65 72 74 2e 6f 3a 09 63 |.c..conv|ert.o:.c|
|00003930| 6f 6e 76 65 72 74 2e 63 | 20 6d 61 63 69 66 79 2e |onvert.c| macify.|
|00003940| 68 0a 09 09 24 28 43 43 | 29 20 24 28 43 46 4c 41 |h...$(CC|) $(CFLA|
|00003950| 47 53 29 20 2d 63 20 63 | 6f 6e 76 65 72 74 2e 63 |GS) -c c|onvert.c|
|00003960| 0a 0a 69 6e 73 74 61 6c | 6c 3a 0a 09 20 20 24 28 |..instal|l:.. $(|
|00003970| 49 4e 53 54 50 52 47 29 | 20 6d 61 63 69 66 79 20 |INSTPRG)| macify |
|00003980| 24 28 42 49 4e 44 49 52 | 29 2f 6d 61 63 69 66 79 |$(BINDIR|)/macify|
|00003990| 0a 09 20 20 24 28 49 4e | 53 54 50 52 47 29 20 6d |.. $(IN|STPRG) m|
|000039a0| 61 63 69 66 79 2e 31 20 | 24 28 4d 41 4e 44 49 52 |acify.1 |$(MANDIR|
|000039b0| 29 2f 6d 61 63 69 66 79 | 2e 31 0a 0a 64 69 73 74 |)/macify|.1..dist|
|000039c0| 3a 0a 09 20 20 73 68 61 | 72 20 2d 63 76 20 52 45 |:.. sha|r -cv RE|
|000039d0| 41 44 4d 45 20 4d 41 4e | 49 46 45 53 54 20 42 55 |ADME MAN|IFEST BU|
|000039e0| 47 53 20 54 4f 44 4f 20 | 4d 61 6b 65 66 69 6c 65 |GS TODO |Makefile|
|000039f0| 20 6d 61 63 69 66 79 2e | 63 20 5c 0a 20 20 20 20 | macify.|c \. |
|00003a00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 6d | | m|
|00003a10| 61 63 69 66 79 2e 68 20 | 63 6f 6e 76 65 72 74 2e |acify.h |convert.|
|00003a20| 63 20 6d 61 63 69 66 79 | 2e 31 20 6d 61 63 69 66 |c macify|.1 macif|
|00003a30| 79 2e 68 71 78 20 3e 74 | 6d 70 2e 73 68 0a 09 20 |y.hqx >t|mp.sh.. |
|00003a40| 20 63 61 74 20 64 69 73 | 74 69 6e 66 6f 20 74 6d | cat dis|tinfo tm|
|00003a50| 70 2e 73 68 20 3e 24 28 | 44 49 53 54 44 49 52 29 |p.sh >$(|DISTDIR)|
|00003a60| 2f 6d 61 63 69 66 79 2e | 73 68 0a 09 20 20 72 6d |/macify.|sh.. rm|
|00003a70| 20 74 6d 70 2e 73 68 0a | 0a 63 6c 65 61 6e 3a 0a | tmp.sh.|.clean:.|
|00003a80| 09 20 20 72 6d 20 2a 2e | 6f 20 74 6d 70 2e 73 68 |. rm *.|o tmp.sh|
|00003a90| 0a 53 48 41 52 5f 45 4f | 46 0a 69 66 20 74 65 73 |.SHAR_EO|F.if tes|
|00003aa0| 74 20 31 39 37 34 20 2d | 6e 65 20 22 60 77 63 20 |t 1974 -|ne "`wc |
|00003ab0| 2d 63 20 3c 20 27 4d 61 | 6b 65 66 69 6c 65 27 60 |-c < 'Ma|kefile'`|
|00003ac0| 22 0a 74 68 65 6e 0a 09 | 65 63 68 6f 20 73 68 61 |".then..|echo sha|
|00003ad0| 72 3a 20 65 72 72 6f 72 | 20 74 72 61 6e 73 6d 69 |r: error| transmi|
|00003ae0| 74 74 69 6e 67 20 22 27 | 4d 61 6b 65 66 69 6c 65 |tting "'|Makefile|
|00003af0| 27 22 20 27 28 73 68 6f | 75 6c 64 20 68 61 76 65 |'" '(sho|uld have|
|00003b00| 20 62 65 65 6e 20 31 39 | 37 34 20 63 68 61 72 61 | been 19|74 chara|
|00003b10| 63 74 65 72 73 29 27 0a | 66 69 0a 63 68 6d 6f 64 |cters)'.|fi.chmod|
|00003b20| 20 2b 78 20 27 4d 61 6b | 65 66 69 6c 65 27 0a 66 | +x 'Mak|efile'.f|
|00003b30| 69 20 23 20 65 6e 64 20 | 6f 66 20 6f 76 65 72 77 |i # end |of overw|
|00003b40| 72 69 74 69 6e 67 20 63 | 68 65 63 6b 0a 65 63 68 |riting c|heck.ech|
|00003b50| 6f 20 73 68 61 72 3a 20 | 65 78 74 72 61 63 74 69 |o shar: |extracti|
|00003b60| 6e 67 20 22 27 6d 61 63 | 69 66 79 2e 63 27 22 20 |ng "'mac|ify.c'" |
|00003b70| 27 28 33 35 31 37 20 63 | 68 61 72 61 63 74 65 72 |'(3517 c|haracter|
|00003b80| 73 29 27 0a 69 66 20 74 | 65 73 74 20 2d 66 20 27 |s)'.if t|est -f '|
|00003b90| 6d 61 63 69 66 79 2e 63 | 27 0a 74 68 65 6e 0a 09 |macify.c|'.then..|
|00003ba0| 65 63 68 6f 20 73 68 61 | 72 3a 20 77 69 6c 6c 20 |echo sha|r: will |
|00003bb0| 6e 6f 74 20 6f 76 65 72 | 2d 77 72 69 74 65 20 65 |not over|-write e|
|00003bc0| 78 69 73 74 69 6e 67 20 | 66 69 6c 65 20 22 27 6d |xisting |file "'m|
|00003bd0| 61 63 69 66 79 2e 63 27 | 22 0a 65 6c 73 65 0a 63 |acify.c'|".else.c|
|00003be0| 61 74 20 3c 3c 20 5c 53 | 48 41 52 5f 45 4f 46 20 |at << \S|HAR_EOF |
|00003bf0| 3e 20 27 6d 61 63 69 66 | 79 2e 63 27 0a 2f 2a 2a |> 'macif|y.c'./**|
|00003c00| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00003c10| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00003c20| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00003c30| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00003c40| 2a 2a 2a 2a 2a 2a 2a 0a | 20 2a 2a 09 09 09 09 09 |*******.| **.....|
|00003c50| 09 09 09 09 2a 2a 0a 20 | 2a 2a 09 09 09 09 09 54 |....**. |**.....T|
|00003c60| 4d 09 09 09 09 2a 2a 0a | 20 2a 2a 09 09 09 09 20 |M....**.| **.... |
|00003c70| 20 4d 61 63 69 66 79 20 | 20 20 20 31 2e 33 09 09 | Macify | 1.3..|
|00003c80| 09 09 2a 2a 0a 20 2a 2a | 09 09 09 09 09 09 09 09 |..**. **|........|
|00003c90| 09 2a 2a 0a 20 2a 2a 09 | 09 09 42 79 20 44 6f 6e |.**. **.|..By Don|
|00003ca0| 61 6c 64 20 42 75 72 72 | 20 20 2d 2d 20 20 43 6f |ald Burr| -- Co|
|00003cb0| 70 79 72 69 67 68 74 20 | 31 39 39 31 09 09 2a 2a |pyright |1991..**|
|00003cc0| 0a 20 2a 2a 09 09 09 09 | 09 09 09 09 09 2a 2a 0a |. **....|.....**.|
|00003cd0| 20 2a 2a 09 09 09 20 20 | 52 65 6c 65 61 73 65 64 | **... |Released|
|00003ce0| 20 74 6f 20 74 68 65 20 | 50 75 62 6c 69 63 20 44 | to the |Public D|
|00003cf0| 6f 6d 61 69 6e 09 09 09 | 2a 2a 0a 20 2a 2a 09 09 |omain...|**. **..|
|00003d00| 09 09 09 09 09 09 09 2a | 2a 0a 20 2a 2a 20 56 65 |.......*|*. ** Ve|
|00003d10| 72 73 69 6f 6e 20 48 69 | 73 74 6f 72 79 09 09 09 |rsion Hi|story...|
|00003d20| 09 09 09 09 2a 2a 0a 20 | 2a 2a 09 09 09 09 09 09 |....**. |**......|
|00003d30| 09 09 09 2a 2a 0a 20 2a | 2a 20 44 61 74 65 09 56 |...**. *|* Date.V|
|00003d40| 65 72 73 69 6f 6e 09 09 | 43 6f 6d 6d 65 6e 74 73 |ersion..|Comments|
|00003d50| 09 09 09 09 2a 2a 0a 20 | 2a 2a 20 2d 2d 2d 2d 09 |....**. |** ----.|
|00003d60| 2d 2d 2d 2d 2d 2d 2d 09 | 09 2d 2d 2d 2d 2d 2d 2d |-------.|.-------|
|00003d70| 2d 09 09 09 09 2a 2a 0a | 20 2a 2a 20 31 30 2d 4d |-....**.| ** 10-M|
|00003d80| 61 72 2d 39 31 09 31 2e | 30 09 09 49 6e 69 74 69 |ar-91.1.|0..Initi|
|00003d90| 61 6c 20 72 65 6c 65 61 | 73 65 2e 20 20 57 72 69 |al relea|se. Wri|
|00003da0| 74 74 65 6e 20 6f 6e 20 | 61 20 4d 61 63 09 2a 2a |tten on |a Mac.**|
|00003db0| 0a 20 2a 2a 09 09 09 09 | 75 73 69 6e 67 20 4c 69 |. **....|using Li|
|00003dc0| 67 68 74 53 70 65 65 64 | 43 2c 20 61 6e 64 20 6c |ghtSpeed|C, and l|
|00003dd0| 61 74 65 72 20 75 70 6c | 6f 61 64 65 64 09 2a 2a |ater upl|oaded.**|
|00003de0| 0a 20 2a 2a 09 09 09 09 | 74 6f 20 55 4e 49 58 2c |. **....|to UNIX,|
|00003df0| 20 73 6f 20 63 61 6e 27 | 74 20 73 61 79 20 74 68 | so can'|t say th|
|00003e00| 61 74 20 69 74 27 6c 6c | 20 77 6f 72 6b 09 2a 2a |at it'll| work.**|
|00003e10| 0a 20 2a 2a 09 09 09 09 | 09 09 09 09 09 2a 2a 0a |. **....|.....**.|
|00003e20| 20 2a 2a 20 31 34 2d 4d | 61 72 2d 39 31 09 31 2e | ** 14-M|ar-91.1.|
|00003e30| 31 09 09 50 6f 72 74 65 | 64 20 74 6f 20 55 4e 49 |1..Porte|d to UNI|
|00003e40| 58 3b 20 64 69 73 63 6f | 76 65 72 65 64 20 62 75 |X; disco|vered bu|
|00003e50| 67 20 69 6e 20 75 73 61 | 67 65 20 2a 2a 0a 20 2a |g in usa|ge **. *|
|00003e60| 2a 09 09 09 09 6f 66 20 | 68 65 78 20 6e 6f 74 61 |*....of |hex nota|
|00003e70| 74 69 6f 6e 2e 20 20 46 | 69 78 65 64 20 75 70 20 |tion. F|ixed up |
|00003e80| 73 63 72 65 77 79 20 74 | 61 62 73 2e 20 2a 2a 0a |screwy t|abs. **.|
|00003e90| 20 2a 2a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | ** | |
|00003ea0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003eb0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003ec0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003ed0| 20 20 20 20 20 20 20 20 | 2a 2a 0a 20 2a 2a 20 31 | |**. ** 1|
|00003ee0| 34 2d 4d 61 72 2d 39 31 | 09 31 2e 32 09 09 43 6c |4-Mar-91|.1.2..Cl|
|00003ef0| 65 61 6e 65 64 20 75 70 | 20 73 6f 6d 65 20 6d 6f |eaned up| some mo|
|00003f00| 72 65 20 63 6f 64 65 20 | 6f 64 64 69 74 69 65 73 |re code |oddities|
|00003f10| 2c 20 20 20 20 20 2a 2a | 0a 20 2a 2a 09 09 09 09 |, **|. **....|
|00003f20| 73 70 6c 69 74 20 75 70 | 20 74 68 65 20 63 6f 64 |split up| the cod|
|00003f30| 65 20 69 6e 74 6f 20 64 | 69 66 66 65 72 65 6e 74 |e into d|ifferent|
|00003f40| 20 66 69 6c 65 73 2c 20 | 2a 2a 0a 20 2a 2a 09 09 | files, |**. **..|
|00003f50| 09 09 66 69 78 65 64 20 | 61 20 62 75 67 20 69 6e |..fixed |a bug in|
|00003f60| 20 74 68 65 20 63 68 61 | 72 61 63 74 65 72 20 78 | the cha|racter x|
|00003f70| 6c 61 74 69 6f 6e 2e 20 | 20 20 2a 2a 0a 20 2a 2a |lation. | **. **|
|00003f80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003f90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003fa0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003fb0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003fc0| 20 20 20 20 20 2a 2a 0a | 20 2a 2a 20 31 35 2d 4d | **.| ** 15-M|
|00003fd0| 61 72 2d 39 31 09 31 2e | 33 09 09 43 6c 65 61 6e |ar-91.1.|3..Clean|
|00003fe0| 65 64 20 75 70 20 73 6f | 6d 65 20 6d 6f 72 65 20 |ed up so|me more |
|00003ff0| 63 6f 64 65 3b 20 68 61 | 63 6b 65 64 20 75 70 20 |code; ha|cked up |
|00004000| 61 20 20 2a 2a 0a 20 2a | 2a 09 09 09 09 72 65 61 |a **. *|*....rea|
|00004010| 6c 20 6b 6c 75 64 67 79 | 20 4d 61 63 20 76 65 72 |l kludgy| Mac ver|
|00004020| 73 69 6f 6e 3b 20 63 6f | 6d 70 6c 65 74 65 64 20 |sion; co|mpleted |
|00004030| 77 6f 72 6b 20 2a 2a 0a | 20 2a 2a 09 09 09 09 6f |work **.| **....o|
|00004040| 6e 20 74 68 65 20 6d 61 | 6e 70 61 67 65 3b 20 61 |n the ma|npage; a|
|00004050| 64 64 65 64 20 74 68 65 | 20 4d 61 63 20 76 65 72 |dded the| Mac ver|
|00004060| 73 69 6f 6e 20 20 20 2a | 2a 0a 20 2a 2a 09 09 09 |sion *|*. **...|
|00004070| 09 28 77 69 74 68 20 69 | 74 73 20 6f 77 6e 20 64 |.(with i|ts own d|
|00004080| 6f 63 75 6d 65 6e 74 61 | 74 69 6f 6e 29 20 74 6f |ocumenta|tion) to|
|00004090| 20 74 68 65 09 2a 2a 0a | 20 2a 2a 09 09 09 09 64 | the.**.| **....d|
|000040a0| 69 73 74 72 69 62 75 74 | 69 6f 6e 20 61 73 20 61 |istribut|ion as a|
|000040b0| 20 42 69 6e 48 65 78 20 | 28 2e 68 71 78 29 20 66 | BinHex |(.hqx) f|
|000040c0| 69 6c 65 09 2a 2a 0a 20 | 2a 2a 09 09 09 09 09 09 |ile.**. |**......|
|000040d0| 09 09 09 2a 2a 0a 20 2a | 2a 2a 2a 2a 2a 2a 2a 2a |...**. *|********|
|000040e0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000040f0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00004100| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00004110| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00004120| 2f 0a 0a 23 69 6e 63 6c | 75 64 65 20 09 3c 73 74 |/..#incl|ude .<st|
|00004130| 64 69 6f 2e 68 3e 09 09 | 2f 2a 20 53 74 61 6e 64 |dio.h>..|/* Stand|
|00004140| 61 72 64 20 49 2f 4f 20 | 66 75 6e 63 74 69 6f 6e |ard I/O |function|
|00004150| 73 20 2a 2f 0a 23 69 6e | 63 6c 75 64 65 09 3c 73 |s */.#in|clude.<s|
|00004160| 74 72 69 6e 67 2e 68 3e | 09 09 2f 2a 20 42 53 44 |tring.h>|../* BSD|
|00004170| 20 75 73 65 73 20 73 74 | 72 69 6e 67 73 2e 68 20 | uses st|rings.h |
|00004180| 2a 2f 0a 23 69 6e 63 6c | 75 64 65 09 22 6d 61 63 |*/.#incl|ude."mac|
|00004190| 69 66 79 2e 68 22 09 09 | 2f 2a 20 64 65 66 69 6e |ify.h"..|/* defin|
|000041a0| 65 73 20 66 6f 72 20 4d | 41 43 49 46 59 20 2a 2f |es for M|ACIFY */|
|000041b0| 0a 0a 6d 61 69 6e 28 61 | 72 67 63 2c 20 61 72 67 |..main(a|rgc, arg|
|000041c0| 76 29 09 09 2f 2a 20 6d | 61 69 6e 20 4d 61 63 69 |v)../* m|ain Maci|
|000041d0| 66 79 20 66 75 6e 63 74 | 69 6f 6e 20 2a 2f 0a 69 |fy funct|ion */.i|
|000041e0| 6e 74 09 61 72 67 63 3b | 0a 63 68 61 72 09 2a 61 |nt.argc;|.char.*a|
|000041f0| 72 67 76 5b 5d 3b 09 09 | 2f 2a 20 63 6f 6d 6d 61 |rgv[];..|/* comma|
|00004200| 6e 64 20 6c 69 6e 65 20 | 61 72 67 75 6d 65 6e 74 |nd line |argument|
|00004210| 73 20 2a 2f 0a 7b 0a 09 | 63 68 61 72 09 74 68 65 |s */.{..|char.the|
|00004220| 5f 69 6e 70 75 74 3b 09 | 2f 2a 20 69 6e 70 75 74 |_input;.|/* input|
|00004230| 20 67 61 74 68 65 72 65 | 64 20 66 72 6f 6d 20 70 | gathere|d from p|
|00004240| 72 6f 67 72 61 6d 20 2a | 2f 0a 09 69 6e 74 09 74 |rogram *|/..int.t|
|00004250| 68 69 6e 67 5f 74 6f 5f | 64 6f 3b 09 2f 2a 20 74 |hing_to_|do;./* t|
|00004260| 65 6c 6c 73 20 75 73 20 | 77 68 61 74 20 66 75 6e |ells us |what fun|
|00004270| 63 20 74 6f 20 70 65 72 | 66 6f 72 6d 20 2a 2f 0a |c to per|form */.|
|00004280| 09 63 68 61 72 09 64 6f | 5f 74 68 65 5f 63 6f 6e |.char.do|_the_con|
|00004290| 76 65 72 73 69 6f 6e 28 | 29 3b 09 2f 2a 20 74 68 |version(|);./* th|
|000042a0| 69 73 20 66 75 6e 63 74 | 69 6f 6e 20 64 6f 65 73 |is funct|ion does|
|000042b0| 20 74 68 65 20 73 74 75 | 66 66 20 2a 2f 0a 09 46 | the stu|ff */..F|
|000042c0| 49 4c 45 09 2a 69 6e 66 | 69 6c 65 2c 20 2a 6f 75 |ILE.*inf|ile, *ou|
|000042d0| 74 66 69 6c 65 2c 20 2a | 66 6f 70 65 6e 28 29 3b |tfile, *|fopen();|
|000042e0| 09 2f 2a 20 66 69 6c 65 | 20 68 61 6e 64 6c 65 72 |./* file| handler|
|000042f0| 73 20 2a 2f 0a 0a 09 69 | 66 20 28 61 72 67 63 20 |s */...i|f (argc |
|00004300| 21 3d 20 34 29 09 09 2f | 2a 20 61 72 65 20 77 65 |!= 4)../|* are we|
|00004310| 20 67 65 74 74 69 6e 67 | 20 74 68 65 20 72 69 67 | getting| the rig|
|00004320| 68 74 20 23 20 6f 66 20 | 61 72 67 73 3f 20 2a 2f |ht # of |args? */|
|00004330| 0a 09 7b 0a 09 09 70 72 | 69 6e 74 66 28 22 5c 6e |..{...pr|intf("\n|
|00004340| 4d 41 43 49 46 59 20 28 | 74 6d 29 20 76 31 2e 33 |MACIFY (|tm) v1.3|
|00004350| 2c 20 28 63 29 31 39 39 | 31 20 44 6f 6e 61 6c 64 |, (c)199|1 Donald|
|00004360| 20 42 75 72 72 5c 6e 22 | 29 3b 0a 09 09 70 72 69 | Burr\n"|);...pri|
|00004370| 6e 74 66 28 22 55 73 61 | 67 65 3a 20 25 73 20 5b |ntf("Usa|ge: %s [|
|00004380| 75 6d 20 6f 72 20 6d 75 | 5d 20 5b 69 6e 70 75 74 |um or mu|] [input|
|00004390| 66 69 6c 65 20 6f 72 20 | 2d 5d 20 22 2c 20 61 72 |file or |-] ", ar|
|000043a0| 67 76 5b 30 5d 29 3b 0a | 09 09 70 72 69 6e 74 66 |gv[0]);.|..printf|
|000043b0| 28 22 5b 6f 75 74 70 75 | 74 66 69 6c 65 20 6f 72 |("[outpu|tfile or|
|000043c0| 20 2d 5d 5c 6e 22 2c 20 | 61 72 67 76 5b 30 5d 29 | -]\n", |argv[0])|
|000043d0| 3b 0a 09 09 70 72 69 6e | 74 66 28 22 5c 74 75 6d |;...prin|tf("\tum|
|000043e0| 20 3d 20 55 4e 49 58 20 | 2d 3e 20 4d 61 63 69 6e | = UNIX |-> Macin|
|000043f0| 74 6f 73 68 5c 6e 22 29 | 3b 0a 09 09 70 72 69 6e |tosh\n")|;...prin|
|00004400| 74 66 28 22 5c 74 6d 75 | 20 3d 20 4d 61 63 69 6e |tf("\tmu| = Macin|
|00004410| 74 6f 73 68 20 2d 3e 20 | 55 4e 49 58 22 29 3b 0a |tosh -> |UNIX");.|
|00004420| 09 09 70 72 69 6e 74 66 | 28 22 5c 6e 5c 74 69 6e |..printf|("\n\tin|
|00004430| 70 75 74 66 69 6c 65 20 | 3d 20 66 69 6c 65 20 74 |putfile |= file t|
|00004440| 6f 20 63 6f 6e 76 65 72 | 74 20 46 52 4f 4d 2c 20 |o conver|t FROM, |
|00004450| 2d 20 66 6f 72 20 73 74 | 64 69 6e 5c 6e 22 29 3b |- for st|din\n");|
|00004460| 0a 09 09 70 72 69 6e 74 | 66 28 22 5c 74 6f 75 74 |...print|f("\tout|
|00004470| 70 75 74 66 69 6c 65 20 | 3d 20 66 69 6c 65 20 74 |putfile |= file t|
|00004480| 6f 20 63 6f 6e 76 65 72 | 74 20 54 4f 2c 20 2d 20 |o conver|t TO, - |
|00004490| 66 6f 72 20 73 74 64 6f | 75 74 5c 6e 22 29 3b 0a |for stdo|ut\n");.|
|000044a0| 09 09 70 72 69 6e 74 66 | 28 22 5c 6e 52 65 6c 65 |..printf|("\nRele|
|000044b0| 61 73 65 64 20 69 6e 74 | 6f 20 74 68 65 20 50 75 |ased int|o the Pu|
|000044c0| 62 6c 69 63 20 44 6f 6d | 61 69 6e 5c 6e 5c 6e 22 |blic Dom|ain\n\n"|
|000044d0| 29 3b 0a 09 09 65 78 69 | 74 28 31 29 3b 0a 09 7d |);...exi|t(1);..}|
|000044e0| 0a 0a 09 2f 2a 20 4f 6b | 61 79 2c 20 77 65 20 68 |.../* Ok|ay, we h|
|000044f0| 61 76 65 20 74 68 65 20 | 72 69 67 68 74 20 61 72 |ave the |right ar|
|00004500| 67 73 2c 20 73 6f 20 6c | 65 74 27 73 20 63 68 65 |gs, so l|et's che|
|00004510| 63 6b 20 69 66 20 74 68 | 65 79 27 72 65 20 76 61 |ck if th|ey're va|
|00004520| 6c 69 64 20 2a 2f 0a 0a | 09 69 66 20 28 73 74 72 |lid */..|.if (str|
|00004530| 63 6d 70 28 61 72 67 76 | 5b 31 5d 2c 20 22 75 6d |cmp(argv|[1], "um|
|00004540| 22 29 20 3d 3d 20 30 29 | 09 09 2f 2a 20 61 72 65 |") == 0)|../* are|
|00004550| 20 77 65 20 64 6f 69 6e | 67 20 75 6e 69 78 2d 3e | we doin|g unix->|
|00004560| 6d 61 63 3f 20 2a 2f 0a | 09 09 74 68 69 6e 67 5f |mac? */.|..thing_|
|00004570| 74 6f 5f 64 6f 20 3d 20 | 31 3b 09 09 2f 2a 20 31 |to_do = |1;../* 1|
|00004580| 20 3d 20 63 6f 6e 76 65 | 72 74 20 75 6e 69 78 2d | = conve|rt unix-|
|00004590| 3e 6d 61 63 20 2a 2f 0a | 09 65 6c 73 65 20 69 66 |>mac */.|.else if|
|000045a0| 20 28 73 74 72 63 6d 70 | 28 61 72 67 76 5b 31 5d | (strcmp|(argv[1]|
|000045b0| 2c 20 22 6d 75 22 29 20 | 3d 3d 20 30 29 09 2f 2a |, "mu") |== 0)./*|
|000045c0| 20 61 72 65 20 77 65 20 | 64 6f 69 6e 67 20 6d 61 | are we |doing ma|
|000045d0| 63 2d 3e 75 6e 69 78 3f | 20 2a 2f 0a 09 09 74 68 |c->unix?| */...th|
|000045e0| 69 6e 67 5f 74 6f 5f 64 | 6f 20 3d 20 32 3b 09 09 |ing_to_d|o = 2;..|
|000045f0| 2f 2a 20 32 20 3d 20 63 | 6f 6e 76 65 72 74 20 6d |/* 2 = c|onvert m|
|00004600| 61 63 2d 3e 75 6e 69 78 | 20 2a 2f 0a 09 65 6c 73 |ac->unix| */..els|
|00004610| 65 09 09 09 09 09 2f 2a | 20 61 73 73 75 6d 65 20 |e...../*| assume |
|00004620| 69 6e 76 61 6c 69 64 20 | 61 72 67 20 2a 2f 0a 09 |invalid |arg */..|
|00004630| 09 7b 0a 09 09 70 72 69 | 6e 74 66 28 22 5c 6e 4d |.{...pri|ntf("\nM|
|00004640| 41 43 49 46 59 3a 20 69 | 6e 76 61 6c 69 64 20 70 |ACIFY: i|nvalid p|
|00004650| 61 72 61 6d 65 74 65 72 | 20 2d 20 3c 25 73 3e 5c |arameter| - <%s>\|
|00004660| 6e 22 2c 20 61 72 67 76 | 5b 31 5d 29 3b 0a 09 09 |n", argv|[1]);...|
|00004670| 70 72 69 6e 74 66 28 22 | 57 61 73 20 65 78 70 65 |printf("|Was expe|
|00004680| 63 74 69 6e 67 3a 20 20 | 6d 75 20 3d 20 4d 61 63 |cting: |mu = Mac|
|00004690| 20 2d 3e 20 55 4e 49 58 | 20 74 72 61 6e 73 6c 61 | -> UNIX| transla|
|000046a0| 74 69 6f 6e 5c 6e 22 29 | 3b 0a 09 09 70 72 69 6e |tion\n")|;...prin|
|000046b0| 74 66 28 22 20 20 20 20 | 20 20 20 20 20 20 20 6f |tf(" | o|
|000046c0| 72 3a 20 20 75 6d 20 3d | 20 55 4e 49 58 20 2d 3e |r: um =| UNIX ->|
|000046d0| 20 4d 61 63 20 74 72 61 | 6e 73 6c 61 74 69 6f 6e | Mac tra|nslation|
|000046e0| 5c 6e 5c 6e 22 29 3b 0a | 09 09 70 72 69 6e 74 66 |\n\n");.|..printf|
|000046f0| 28 22 48 61 6c 74 2c 20 | 63 61 6e 6e 6f 74 20 70 |("Halt, |cannot p|
|00004700| 72 6f 63 65 65 64 2e 5c | 6e 5c 6e 22 29 3b 0a 09 |roceed.\|n\n");..|
|00004710| 09 65 78 69 74 28 31 29 | 3b 0a 09 09 7d 0a 0a 09 |.exit(1)|;...}...|
|00004720| 2f 2a 20 41 73 73 69 67 | 6e 20 66 69 6c 65 6e 61 |/* Assig|n filena|
|00004730| 6d 65 73 2c 20 6f 72 20 | 73 74 64 69 6e 2f 73 74 |mes, or |stdin/st|
|00004740| 64 6f 75 74 20 69 66 20 | 74 68 65 79 20 61 72 65 |dout if |they are|
|00004750| 20 3c 2d 3e 20 2a 2f 0a | 0a 09 69 66 20 28 73 74 | <-> */.|..if (st|
|00004760| 72 63 6d 70 28 61 72 67 | 76 5b 32 5d 2c 20 22 2d |rcmp(arg|v[2], "-|
|00004770| 22 29 20 3d 3d 20 30 29 | 09 09 2f 2a 20 69 73 20 |") == 0)|../* is |
|00004780| 69 6e 70 75 74 20 3d 3d | 20 73 74 64 69 6e 3f 20 |input ==| stdin? |
|00004790| 2a 2f 0a 09 09 69 6e 66 | 69 6c 65 20 3d 20 73 74 |*/...inf|ile = st|
|000047a0| 64 69 6e 3b 09 09 09 2f | 2a 20 64 69 72 65 63 74 |din;.../|* direct|
|000047b0| 6c 79 20 61 73 73 69 67 | 6e 20 70 6f 69 6e 74 65 |ly assig|n pointe|
|000047c0| 72 20 2a 2f 0a 09 65 6c | 73 65 09 09 09 09 09 2f |r */..el|se...../|
|000047d0| 2a 20 61 73 73 75 6d 65 | 20 66 69 6c 65 6e 61 6d |* assume| filenam|
|000047e0| 65 20 2a 2f 0a 09 09 69 | 6e 66 69 6c 65 20 3d 20 |e */...i|nfile = |
|000047f0| 66 6f 70 65 6e 28 61 72 | 67 76 5b 32 5d 2c 20 22 |fopen(ar|gv[2], "|
|00004800| 72 22 29 3b 09 2f 2a 20 | 6f 70 65 6e 20 74 68 65 |r");./* |open the|
|00004810| 20 66 69 6c 65 20 73 70 | 65 63 69 66 69 65 64 20 | file sp|ecified |
|00004820| 2a 2f 0a 0a 09 69 66 20 | 28 73 74 72 63 6d 70 28 |*/...if |(strcmp(|
|00004830| 61 72 67 76 5b 33 5d 2c | 20 22 2d 22 29 20 3d 3d |argv[3],| "-") ==|
|00004840| 20 30 29 09 09 2f 2a 20 | 69 73 20 6f 75 74 70 75 | 0)../* |is outpu|
|00004850| 74 20 3d 3d 20 73 74 64 | 6f 75 74 3f 20 2a 2f 0a |t == std|out? */.|
|00004860| 09 09 6f 75 74 66 69 6c | 65 20 3d 20 73 74 64 6f |..outfil|e = stdo|
|00004870| 75 74 3b 09 09 2f 2a 20 | 64 69 72 65 63 74 6c 79 |ut;../* |directly|
|00004880| 20 61 73 73 69 67 6e 20 | 70 6f 69 6e 74 65 72 20 | assign |pointer |
|00004890| 2a 2f 0a 09 65 6c 73 65 | 09 09 09 09 09 2f 2a 20 |*/..else|...../* |
|000048a0| 61 73 73 75 6d 65 20 66 | 69 6c 65 6e 61 6d 65 20 |assume f|ilename |
|000048b0| 2a 2f 0a 09 09 6f 75 74 | 66 69 6c 65 20 3d 20 66 |*/...out|file = f|
|000048c0| 6f 70 65 6e 28 61 72 67 | 76 5b 33 5d 2c 20 22 77 |open(arg|v[3], "w|
|000048d0| 22 29 3b 09 2f 2a 20 6f | 70 65 6e 20 66 6f 72 20 |");./* o|pen for |
|000048e0| 6f 75 74 70 75 74 20 2a | 2f 0a 0a 09 2f 2a 20 47 |output *|/.../* G|
|000048f0| 65 74 20 69 6e 70 75 74 | 20 63 68 61 72 2d 62 79 |et input| char-by|
|00004900| 2d 63 68 61 72 20 2a 2f | 0a 0a 09 77 68 69 6c 65 |-char */|...while|
|00004910| 20 28 28 74 68 65 5f 69 | 6e 70 75 74 20 3d 20 66 | ((the_i|nput = f|
|00004920| 67 65 74 63 28 69 6e 66 | 69 6c 65 29 29 20 21 3d |getc(inf|ile)) !=|
|00004930| 20 45 4f 46 29 0a 09 09 | 09 09 09 2f 2a 20 77 68 | EOF)...|.../* wh|
|00004940| 69 6c 65 20 77 65 27 76 | 65 20 73 74 69 6c 6c 20 |ile we'v|e still |
|00004950| 67 6f 74 20 73 74 75 66 | 66 20 2a 2f 0a 09 09 66 |got stuf|f */...f|
|00004960| 70 75 74 63 28 64 6f 5f | 74 68 65 5f 63 6f 6e 76 |putc(do_|the_conv|
|00004970| 65 72 73 69 6f 6e 28 74 | 68 65 5f 69 6e 70 75 74 |ersion(t|he_input|
|00004980| 2c 20 74 68 69 6e 67 5f | 74 6f 5f 64 6f 29 2c 20 |, thing_|to_do), |
|00004990| 6f 75 74 66 69 6c 65 29 | 3b 0a 09 09 09 09 09 09 |outfile)|;.......|
|000049a0| 2f 2a 20 44 6f 20 74 68 | 65 20 63 6f 6e 76 65 72 |/* Do th|e conver|
|000049b0| 73 69 6f 6e 20 2a 2f 0a | 7d 0a 53 48 41 52 5f 45 |sion */.|}.SHAR_E|
|000049c0| 4f 46 0a 69 66 20 74 65 | 73 74 20 33 35 31 37 20 |OF.if te|st 3517 |
|000049d0| 2d 6e 65 20 22 60 77 63 | 20 2d 63 20 3c 20 27 6d |-ne "`wc| -c < 'm|
|000049e0| 61 63 69 66 79 2e 63 27 | 60 22 0a 74 68 65 6e 0a |acify.c'|`".then.|
|000049f0| 09 65 63 68 6f 20 73 68 | 61 72 3a 20 65 72 72 6f |.echo sh|ar: erro|
|00004a00| 72 20 74 72 61 6e 73 6d | 69 74 74 69 6e 67 20 22 |r transm|itting "|
|00004a10| 27 6d 61 63 69 66 79 2e | 63 27 22 20 27 28 73 68 |'macify.|c'" '(sh|
|00004a20| 6f 75 6c 64 20 68 61 76 | 65 20 62 65 65 6e 20 33 |ould hav|e been 3|
|00004a30| 35 31 37 20 63 68 61 72 | 61 63 74 65 72 73 29 27 |517 char|acters)'|
|00004a40| 0a 66 69 0a 63 68 6d 6f | 64 20 2b 78 20 27 6d 61 |.fi.chmo|d +x 'ma|
|00004a50| 63 69 66 79 2e 63 27 0a | 66 69 20 23 20 65 6e 64 |cify.c'.|fi # end|
|00004a60| 20 6f 66 20 6f 76 65 72 | 77 72 69 74 69 6e 67 20 | of over|writing |
|00004a70| 63 68 65 63 6b 0a 65 63 | 68 6f 20 73 68 61 72 3a |check.ec|ho shar:|
|00004a80| 20 65 78 74 72 61 63 74 | 69 6e 67 20 22 27 6d 61 | extract|ing "'ma|
|00004a90| 63 69 66 79 2e 68 27 22 | 20 27 28 36 30 32 20 63 |cify.h'"| '(602 c|
|00004aa0| 68 61 72 61 63 74 65 72 | 73 29 27 0a 69 66 20 74 |haracter|s)'.if t|
|00004ab0| 65 73 74 20 2d 66 20 27 | 6d 61 63 69 66 79 2e 68 |est -f '|macify.h|
|00004ac0| 27 0a 74 68 65 6e 0a 09 | 65 63 68 6f 20 73 68 61 |'.then..|echo sha|
|00004ad0| 72 3a 20 77 69 6c 6c 20 | 6e 6f 74 20 6f 76 65 72 |r: will |not over|
|00004ae0| 2d 77 72 69 74 65 20 65 | 78 69 73 74 69 6e 67 20 |-write e|xisting |
|00004af0| 66 69 6c 65 20 22 27 6d | 61 63 69 66 79 2e 68 27 |file "'m|acify.h'|
|00004b00| 22 0a 65 6c 73 65 0a 63 | 61 74 20 3c 3c 20 5c 53 |".else.c|at << \S|
|00004b10| 48 41 52 5f 45 4f 46 20 | 3e 20 27 6d 61 63 69 66 |HAR_EOF |> 'macif|
|00004b20| 79 2e 68 27 0a 2f 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |y.h'./**|********|
|00004b30| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00004b40| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00004b50| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00004b60| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00004b70| 2a 0a 20 2a 2a 20 20 20 | 20 20 20 20 20 20 20 20 |*. ** | |
|00004b80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004b90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004ba0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004bb0| 20 20 20 20 20 20 20 20 | 20 20 20 20 2a 2a 0a 20 | | **. |
|00004bc0| 2a 2a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |** | |
|00004bd0| 20 20 20 20 20 20 20 20 | 53 70 65 63 69 61 6c 20 | |Special |
|00004be0| 64 65 66 69 6e 65 73 20 | 66 6f 72 20 4d 41 43 49 |defines |for MACI|
|00004bf0| 46 59 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |FY | |
|00004c00| 20 20 20 20 20 20 20 20 | 20 2a 2a 0a 20 2a 2a 20 | | **. ** |
|00004c10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004c20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004c30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004c40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004c50| 20 20 20 20 20 20 2a 2a | 0a 20 2a 2a 2a 2a 2a 2a | **|. ******|
|00004c60| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00004c70| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00004c80| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00004c90| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00004ca0| 2a 2a 2a 2a 2a 2f 0a 0a | 2f 2a 20 44 65 66 69 6e |*****/..|/* Defin|
|00004cb0| 65 73 20 66 6f 72 20 74 | 68 65 20 63 68 61 72 63 |es for t|he charc|
|00004cc0| 74 65 72 73 20 77 65 27 | 6c 6c 20 62 65 20 63 6f |ters we'|ll be co|
|00004cd0| 6e 76 65 72 74 69 6e 67 | 20 2a 2f 0a 23 64 65 66 |nverting| */.#def|
|00004ce0| 69 6e 65 20 20 20 20 20 | 20 20 20 20 55 4e 49 58 |ine | UNIX|
|00004cf0| 5f 45 4f 4c 20 20 20 20 | 20 20 20 20 27 5c 6e 27 |_EOL | '\n'|
|00004d00| 20 20 20 20 2f 2a 20 55 | 4e 49 58 20 65 6e 64 2d | /* U|NIX end-|
|00004d10| 6f 66 2d 6c 69 6e 65 20 | 63 68 61 72 61 63 74 65 |of-line |characte|
|00004d20| 72 20 2a 2f 0a 23 64 65 | 66 69 6e 65 20 20 20 20 |r */.#de|fine |
|00004d30| 20 20 20 20 20 4d 41 43 | 5f 45 4f 4c 20 20 20 20 | MAC|_EOL |
|00004d40| 20 20 20 20 20 30 78 30 | 64 20 20 20 20 2f 2a 20 | 0x0|d /* |
|00004d50| 4d 61 63 20 65 6e 64 2d | 6f 66 2d 6c 69 6e 65 20 |Mac end-|of-line |
|00004d60| 63 68 61 72 61 63 74 65 | 72 20 2a 2f 0a 0a 2f 2a |characte|r */../*|
|00004d70| 20 54 68 61 74 27 73 20 | 69 74 21 20 2a 2f 0a 53 | That's |it! */.S|
|00004d80| 48 41 52 5f 45 4f 46 0a | 69 66 20 74 65 73 74 20 |HAR_EOF.|if test |
|00004d90| 36 30 32 20 2d 6e 65 20 | 22 60 77 63 20 2d 63 20 |602 -ne |"`wc -c |
|00004da0| 3c 20 27 6d 61 63 69 66 | 79 2e 68 27 60 22 0a 74 |< 'macif|y.h'`".t|
|00004db0| 68 65 6e 0a 09 65 63 68 | 6f 20 73 68 61 72 3a 20 |hen..ech|o shar: |
|00004dc0| 65 72 72 6f 72 20 74 72 | 61 6e 73 6d 69 74 74 69 |error tr|ansmitti|
|00004dd0| 6e 67 20 22 27 6d 61 63 | 69 66 79 2e 68 27 22 20 |ng "'mac|ify.h'" |
|00004de0| 27 28 73 68 6f 75 6c 64 | 20 68 61 76 65 20 62 65 |'(should| have be|
|00004df0| 65 6e 20 36 30 32 20 63 | 68 61 72 61 63 74 65 72 |en 602 c|haracter|
|00004e00| 73 29 27 0a 66 69 0a 63 | 68 6d 6f 64 20 2b 78 20 |s)'.fi.c|hmod +x |
|00004e10| 27 6d 61 63 69 66 79 2e | 68 27 0a 66 69 20 23 20 |'macify.|h'.fi # |
|00004e20| 65 6e 64 20 6f 66 20 6f | 76 65 72 77 72 69 74 69 |end of o|verwriti|
|00004e30| 6e 67 20 63 68 65 63 6b | 0a 65 63 68 6f 20 73 68 |ng check|.echo sh|
|00004e40| 61 72 3a 20 65 78 74 72 | 61 63 74 69 6e 67 20 22 |ar: extr|acting "|
|00004e50| 27 63 6f 6e 76 65 72 74 | 2e 63 27 22 20 27 28 31 |'convert|.c'" '(1|
|00004e60| 30 32 30 20 63 68 61 72 | 61 63 74 65 72 73 29 27 |020 char|acters)'|
|00004e70| 0a 69 66 20 74 65 73 74 | 20 2d 66 20 27 63 6f 6e |.if test| -f 'con|
|00004e80| 76 65 72 74 2e 63 27 0a | 74 68 65 6e 0a 09 65 63 |vert.c'.|then..ec|
|00004e90| 68 6f 20 73 68 61 72 3a | 20 77 69 6c 6c 20 6e 6f |ho shar:| will no|
|00004ea0| 74 20 6f 76 65 72 2d 77 | 72 69 74 65 20 65 78 69 |t over-w|rite exi|
|00004eb0| 73 74 69 6e 67 20 66 69 | 6c 65 20 22 27 63 6f 6e |sting fi|le "'con|
|00004ec0| 76 65 72 74 2e 63 27 22 | 0a 65 6c 73 65 0a 63 61 |vert.c'"|.else.ca|
|00004ed0| 74 20 3c 3c 20 5c 53 48 | 41 52 5f 45 4f 46 20 3e |t << \SH|AR_EOF >|
|00004ee0| 20 27 63 6f 6e 76 65 72 | 74 2e 63 27 0a 2f 2a 2a | 'conver|t.c'./**|
|00004ef0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00004f00| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00004f10| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00004f20| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00004f30| 2a 2a 2a 2a 2a 2a 2a 0a | 20 2a 2a 20 20 20 20 20 |*******.| ** |
|00004f40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004f50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004f60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004f70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004f80| 2a 2a 0a 20 2a 2a 20 20 | 20 20 20 20 20 20 20 20 |**. ** | |
|00004f90| 20 20 20 20 20 20 20 20 | 43 68 61 72 20 63 6f 6e | |Char con|
|00004fa0| 76 65 72 73 69 6f 6e 20 | 72 6f 75 74 69 6e 65 20 |version |routine |
|00004fb0| 66 6f 72 20 4d 41 43 49 | 46 59 20 20 20 20 20 20 |for MACI|FY |
|00004fc0| 20 20 20 20 20 20 20 20 | 20 20 20 2a 2a 0a 20 2a | | **. *|
|00004fd0| 2a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |* | |
|00004fe0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004ff0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005000| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005010| 20 20 20 20 20 20 2a 2a | 0a 20 2a 2a 2a 2a 2a 2a | **|. ******|
|00005020| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00005030| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00005040| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00005050| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00005060| 2a 2a 2a 2f 0a 0a 23 69 | 6e 63 6c 75 64 65 20 3c |***/..#i|nclude <|
|00005070| 73 74 64 69 6f 2e 68 3e | 09 09 09 2f 2a 20 73 74 |stdio.h>|.../* st|
|00005080| 61 6e 64 61 72 64 20 49 | 2f 4f 20 66 75 6e 63 74 |andard I|/O funct|
|00005090| 69 6f 6e 73 20 2a 2f 0a | 23 69 6e 63 6c 75 64 65 |ions */.|#include|
|000050a0| 20 3c 73 74 72 69 6e 67 | 2e 68 3e 09 09 09 2f 2a | <string|.h>.../*|
|000050b0| 20 42 53 44 20 75 73 65 | 73 20 73 74 72 69 6e 67 | BSD use|s string|
|000050c0| 73 2e 68 20 2a 2f 0a 23 | 69 6e 63 6c 75 64 65 20 |s.h */.#|include |
|000050d0| 22 6d 61 63 69 66 79 2e | 68 22 09 09 09 2f 2a 20 |"macify.|h".../* |
|000050e0| 50 72 6f 67 72 61 6d 2d | 73 70 65 63 69 66 69 63 |Program-|specific|
|000050f0| 20 64 65 66 69 6e 65 73 | 20 2a 2f 0a 0a 63 68 61 | defines| */..cha|
|00005100| 72 20 64 6f 5f 74 68 65 | 5f 63 6f 6e 76 65 72 73 |r do_the|_convers|
|00005110| 69 6f 6e 28 69 6e 63 68 | 61 72 2c 20 74 68 69 6e |ion(inch|ar, thin|
|00005120| 67 5f 74 6f 5f 64 6f 29 | 0a 63 68 61 72 09 69 6e |g_to_do)|.char.in|
|00005130| 63 68 61 72 3b 0a 69 6e | 74 09 74 68 69 6e 67 5f |char;.in|t.thing_|
|00005140| 74 6f 5f 64 6f 3b 0a 7b | 0a 09 69 66 20 28 74 68 |to_do;.{|..if (th|
|00005150| 69 6e 67 5f 74 6f 5f 64 | 6f 20 3d 3d 20 31 29 09 |ing_to_d|o == 1).|
|00005160| 09 2f 2a 20 44 6f 69 6e | 67 20 55 4e 49 58 20 2d |./* Doin|g UNIX -|
|00005170| 3e 20 4d 61 63 3f 20 2a | 2f 0a 09 7b 0a 09 09 69 |> Mac? *|/..{...i|
|00005180| 66 20 28 69 6e 63 68 61 | 72 20 3d 3d 20 55 4e 49 |f (incha|r == UNI|
|00005190| 58 5f 45 4f 4c 29 09 2f | 2a 20 69 73 20 69 74 20 |X_EOL)./|* is it |
|000051a0| 74 68 65 20 55 6e 69 78 | 20 65 6e 64 3f 20 2a 2f |the Unix| end? */|
|000051b0| 0a 09 09 09 72 65 74 75 | 72 6e 28 4d 41 43 5f 45 |....retu|rn(MAC_E|
|000051c0| 4f 4c 29 3b 09 2f 2a 20 | 70 61 73 73 20 62 61 63 |OL);./* |pass bac|
|000051d0| 6b 20 4d 61 63 20 65 71 | 75 69 76 2e 20 2a 2f 0a |k Mac eq|uiv. */.|
|000051e0| 09 09 65 6c 73 65 0a 09 | 09 09 72 65 74 75 72 6e |..else..|..return|
|000051f0| 28 69 6e 63 68 61 72 29 | 3b 09 2f 2a 20 65 63 68 |(inchar)|;./* ech|
|00005200| 6f 20 62 61 63 6b 20 74 | 68 65 20 63 68 61 72 20 |o back t|he char |
|00005210| 2a 2f 0a 09 7d 0a 09 65 | 6c 73 65 20 69 66 20 28 |*/..}..e|lse if (|
|00005220| 74 68 69 6e 67 5f 74 6f | 5f 64 6f 20 3d 3d 20 32 |thing_to|_do == 2|
|00005230| 29 09 2f 2a 20 44 6f 69 | 6e 67 20 4d 61 63 20 2d |)./* Doi|ng Mac -|
|00005240| 3e 20 55 4e 49 58 3f 20 | 2a 2f 0a 09 7b 0a 09 09 |> UNIX? |*/..{...|
|00005250| 69 66 20 28 69 6e 63 68 | 61 72 20 3d 3d 20 4d 41 |if (inch|ar == MA|
|00005260| 43 5f 45 4f 4c 29 09 2f | 2a 20 69 73 20 69 74 20 |C_EOL)./|* is it |
|00005270| 74 68 65 20 4d 61 63 20 | 65 6e 64 3f 20 2a 2f 0a |the Mac |end? */.|
|00005280| 09 09 09 72 65 74 75 72 | 6e 28 55 4e 49 58 5f 45 |...retur|n(UNIX_E|
|00005290| 4f 4c 29 3b 09 2f 2a 20 | 70 61 73 73 20 62 61 63 |OL);./* |pass bac|
|000052a0| 6b 20 55 4e 49 58 20 65 | 71 75 69 76 2e 20 2a 2f |k UNIX e|quiv. */|
|000052b0| 0a 09 09 65 6c 73 65 0a | 09 09 09 72 65 74 75 72 |...else.|...retur|
|000052c0| 6e 28 69 6e 63 68 61 72 | 29 3b 09 2f 2a 20 65 63 |n(inchar|);./* ec|
|000052d0| 68 6f 20 62 61 63 6b 20 | 74 68 65 20 63 68 61 72 |ho back |the char|
|000052e0| 20 2a 2f 0a 09 7d 0a 7d | 0a 53 48 41 52 5f 45 4f | */..}.}|.SHAR_EO|
|000052f0| 46 0a 69 66 20 74 65 73 | 74 20 31 30 32 30 20 2d |F.if tes|t 1020 -|
|00005300| 6e 65 20 22 60 77 63 20 | 2d 63 20 3c 20 27 63 6f |ne "`wc |-c < 'co|
|00005310| 6e 76 65 72 74 2e 63 27 | 60 22 0a 74 68 65 6e 0a |nvert.c'|`".then.|
|00005320| 09 65 63 68 6f 20 73 68 | 61 72 3a 20 65 72 72 6f |.echo sh|ar: erro|
|00005330| 72 20 74 72 61 6e 73 6d | 69 74 74 69 6e 67 20 22 |r transm|itting "|
|00005340| 27 63 6f 6e 76 65 72 74 | 2e 63 27 22 20 27 28 73 |'convert|.c'" '(s|
|00005350| 68 6f 75 6c 64 20 68 61 | 76 65 20 62 65 65 6e 20 |hould ha|ve been |
|00005360| 31 30 32 30 20 63 68 61 | 72 61 63 74 65 72 73 29 |1020 cha|racters)|
|00005370| 27 0a 66 69 0a 63 68 6d | 6f 64 20 2b 78 20 27 63 |'.fi.chm|od +x 'c|
|00005380| 6f 6e 76 65 72 74 2e 63 | 27 0a 66 69 20 23 20 65 |onvert.c|'.fi # e|
|00005390| 6e 64 20 6f 66 20 6f 76 | 65 72 77 72 69 74 69 6e |nd of ov|erwritin|
|000053a0| 67 20 63 68 65 63 6b 0a | 65 63 68 6f 20 73 68 61 |g check.|echo sha|
|000053b0| 72 3a 20 65 78 74 72 61 | 63 74 69 6e 67 20 22 27 |r: extra|cting "'|
|000053c0| 6d 61 63 69 66 79 2e 31 | 27 22 20 27 28 31 35 33 |macify.1|'" '(153|
|000053d0| 39 20 63 68 61 72 61 63 | 74 65 72 73 29 27 0a 69 |9 charac|ters)'.i|
|000053e0| 66 20 74 65 73 74 20 2d | 66 20 27 6d 61 63 69 66 |f test -|f 'macif|
|000053f0| 79 2e 31 27 0a 74 68 65 | 6e 0a 09 65 63 68 6f 20 |y.1'.the|n..echo |
|00005400| 73 68 61 72 3a 20 77 69 | 6c 6c 20 6e 6f 74 20 6f |shar: wi|ll not o|
|00005410| 76 65 72 2d 77 72 69 74 | 65 20 65 78 69 73 74 69 |ver-writ|e existi|
|00005420| 6e 67 20 66 69 6c 65 20 | 22 27 6d 61 63 69 66 79 |ng file |"'macify|
|00005430| 2e 31 27 22 0a 65 6c 73 | 65 0a 63 61 74 20 3c 3c |.1'".els|e.cat <<|
|00005440| 20 5c 53 48 41 52 5f 45 | 4f 46 20 3e 20 27 6d 61 | \SHAR_E|OF > 'ma|
|00005450| 63 69 66 79 2e 31 27 0a | 2e 50 55 0a 2e 54 48 20 |cify.1'.|.PU..TH |
|00005460| 4d 41 43 49 46 59 20 31 | 20 22 4d 61 72 63 68 20 |MACIFY 1| "March |
|00005470| 31 34 2c 20 31 39 39 31 | 22 20 22 55 4e 49 58 20 |14, 1991|" "UNIX |
|00005480| 55 73 65 72 27 73 20 4d | 61 6e 75 61 6c 22 20 22 |User's M|anual" "|
|00005490| 44 6f 6e 61 6c 64 20 42 | 75 72 72 22 0a 2e 53 48 |Donald B|urr"..SH|
|000054a0| 20 4e 41 4d 45 0a 6d 61 | 63 69 66 79 20 5c 2d 20 | NAME.ma|cify \- |
|000054b0| 63 6f 6e 76 65 72 74 20 | 74 65 78 74 20 66 69 6c |convert |text fil|
|000054c0| 65 73 20 62 65 74 77 65 | 65 6e 20 4d 61 63 20 3c |es betwe|en Mac <|
|000054d0| 2d 2d 3e 20 55 4e 49 58 | 0a 2e 53 48 20 53 59 4e |--> UNIX|..SH SYN|
|000054e0| 4f 50 53 49 53 0a 2e 42 | 20 6d 61 63 69 66 79 0a |OPSIS..B| macify.|
|000054f0| 5b 6d 75 20 6f 72 20 75 | 6d 5d 20 5b 69 6e 70 75 |[mu or u|m] [inpu|
|00005500| 74 66 69 6c 65 20 6f 72 | 20 2d 5d 20 5b 6f 75 74 |tfile or| -] [out|
|00005510| 70 75 74 66 69 6c 65 20 | 6f 72 20 2d 5d 0a 2e 53 |putfile |or -]..S|
|00005520| 48 20 44 45 53 43 52 49 | 50 54 49 4f 4e 0a 2e 49 |H DESCRI|PTION..I|
|00005530| 20 6d 61 63 69 66 79 0a | 63 6f 6e 76 65 72 74 73 | macify.|converts|
|00005540| 20 74 65 78 74 20 66 69 | 6c 65 73 20 62 65 74 77 | text fi|les betw|
|00005550| 65 65 6e 20 55 4e 49 58 | 20 61 6e 64 20 4d 61 63 |een UNIX| and Mac|
|00005560| 69 6e 74 6f 73 68 2e 20 | 20 53 69 6e 63 65 20 62 |intosh. | Since b|
|00005570| 6f 74 68 0a 55 4e 49 58 | 20 61 6e 64 20 4d 61 63 |oth.UNIX| and Mac|
|00005580| 20 68 61 76 65 20 64 69 | 66 66 65 72 65 6e 74 20 | have di|fferent |
|00005590| 45 4f 4c 20 28 65 6e 64 | 20 6f 66 20 6c 69 6e 65 |EOL (end| of line|
|000055a0| 29 20 63 68 61 72 61 63 | 74 65 72 73 2c 0a 74 68 |) charac|ters,.th|
|000055b0| 69 73 20 69 73 20 6e 65 | 63 65 73 73 61 72 79 2e |is is ne|cessary.|
|000055c0| 20 20 0a 2e 49 20 6d 61 | 63 69 66 79 0a 73 68 6f | ..I ma|cify.sho|
|000055d0| 75 6c 64 20 62 65 20 75 | 73 65 64 20 69 64 65 61 |uld be u|sed idea|
|000055e0| 6c 6c 79 20 69 6e 20 61 | 20 73 68 65 6c 6c 0a 73 |lly in a| shell.s|
|000055f0| 63 72 69 70 74 20 6f 72 | 20 61 6c 69 61 73 2c 20 |cript or| alias, |
|00005600| 77 68 69 63 68 20 63 61 | 6c 6c 73 20 61 20 66 69 |which ca|lls a fi|
|00005610| 6c 65 20 74 72 61 6e 73 | 66 65 72 20 70 72 6f 67 |le trans|fer prog|
|00005620| 72 61 6d 20 28 65 2e 67 | 2e 0a 2e 49 20 78 6d 6f |ram (e.g|...I xmo|
|00005630| 64 65 6d 0a 2c 20 0a 2e | 49 20 72 7a 0a 2c 20 0a |dem., ..|I rz., .|
|00005640| 2e 49 20 73 7a 0a 2c 20 | 65 74 63 2e 0a 2e 50 50 |.I sz., |etc...PP|
|00005650| 0a 2e 49 20 6d 61 63 69 | 66 79 0a 74 61 6b 65 73 |..I maci|fy.takes|
|00005660| 20 74 68 72 65 65 20 28 | 33 29 20 61 72 67 75 6d | three (|3) argum|
|00005670| 65 6e 74 73 2e 20 20 54 | 68 65 20 66 69 72 73 74 |ents. T|he first|
|00005680| 20 61 72 67 75 6d 65 6e | 74 20 69 73 20 74 68 65 | argumen|t is the|
|00005690| 0a 64 69 72 65 63 74 69 | 6f 6e 20 69 6e 64 69 63 |.directi|on indic|
|000056a0| 61 74 6f 72 3b 20 69 74 | 20 73 68 6f 75 6c 64 20 |ator; it| should |
|000056b0| 62 65 20 22 6d 75 22 20 | 69 66 20 79 6f 75 20 77 |be "mu" |if you w|
|000056c0| 69 73 68 20 74 6f 20 63 | 6f 6e 76 65 72 74 0a 3e |ish to c|onvert.>|
|000056d0| 46 72 6f 6d 20 4d 61 63 | 20 74 6f 20 55 4e 49 58 |From Mac| to UNIX|
|000056e0| 2c 20 6f 72 20 22 75 6d | 22 20 69 66 20 79 6f 75 |, or "um|" if you|
|000056f0| 20 77 69 73 68 20 74 6f | 20 63 6f 6e 76 65 72 74 | wish to| convert|
|00005700| 20 66 72 6f 6d 20 55 4e | 49 58 20 74 6f 0a 4d 61 | from UN|IX to.Ma|
|00005710| 63 2e 20 20 54 68 65 20 | 73 65 63 6f 6e 64 20 61 |c. The |second a|
|00005720| 72 67 75 6d 65 6e 74 20 | 69 73 20 74 68 65 20 66 |rgument |is the f|
|00005730| 69 6c 65 6e 61 6d 65 20 | 74 6f 20 74 61 6b 65 20 |ilename |to take |
|00005740| 69 6e 70 75 74 20 66 72 | 6f 6d 2e 0a 49 66 20 61 |input fr|om..If a|
|00005750| 20 68 79 70 68 65 6e 20 | 28 2d 29 20 69 73 20 73 | hyphen |(-) is s|
|00005760| 70 65 63 69 66 69 65 64 | 2c 20 0a 2e 49 20 6d 61 |pecified|, ..I ma|
|00005770| 63 69 66 79 0a 20 77 69 | 6c 6c 20 74 61 6b 65 20 |cify. wi|ll take |
|00005780| 69 6e 70 75 74 20 66 72 | 6f 6d 20 73 74 64 69 6e |input fr|om stdin|
|00005790| 0a 28 73 74 61 6e 64 61 | 72 64 20 69 6e 70 75 74 |.(standa|rd input|
|000057a0| 29 2e 20 20 54 68 65 20 | 74 68 69 72 64 2c 20 61 |). The |third, a|
|000057b0| 6e 64 20 6c 61 73 74 2c | 20 61 72 67 75 6d 65 6e |nd last,| argumen|
|000057c0| 74 20 74 6f 20 0a 2e 49 | 20 6d 61 63 69 66 79 0a |t to ..I| macify.|
|000057d0| 2c 0a 63 6f 6e 73 69 73 | 74 73 20 6f 66 20 74 68 |,.consis|ts of th|
|000057e0| 65 20 66 69 6c 65 6e 61 | 6d 65 20 74 6f 20 64 69 |e filena|me to di|
|000057f0| 72 65 63 74 20 6f 75 74 | 70 75 74 20 74 6f 2e 20 |rect out|put to. |
|00005800| 20 49 66 20 61 20 68 79 | 70 68 65 6e 20 28 2d 29 | If a hy|phen (-)|
|00005810| 0a 69 73 20 73 70 65 63 | 69 66 69 65 64 2c 20 0a |.is spec|ified, .|
|00005820| 2e 49 20 6d 61 63 69 66 | 79 0a 20 77 69 6c 6c 20 |.I macif|y. will |
|00005830| 75 73 65 20 73 74 61 6e | 64 61 72 64 20 6f 75 74 |use stan|dard out|
|00005840| 70 75 74 20 28 73 74 64 | 6f 75 74 29 2e 0a 49 66 |put (std|out)..If|
|00005850| 20 74 68 65 20 6f 75 74 | 70 75 74 20 66 69 6c 65 | the out|put file|
|00005860| 20 61 6c 72 65 61 64 79 | 20 65 78 69 73 74 73 2c | already| exists,|
|00005870| 20 69 74 20 77 69 6c 6c | 20 62 65 20 6f 76 65 72 | it will| be over|
|00005880| 77 72 69 74 74 65 6e 2e | 0a 49 66 20 74 68 65 20 |written.|.If the |
|00005890| 69 6e 70 75 74 20 66 69 | 6c 65 20 64 6f 65 73 6e |input fi|le doesn|
|000058a0| 27 74 20 65 78 69 73 74 | 2c 20 0a 2e 49 20 6d 61 |'t exist|, ..I ma|
|000058b0| 63 69 66 79 0a 20 77 69 | 6c 6c 20 6d 6f 73 74 20 |cify. wi|ll most |
|000058c0| 6c 69 6b 65 6c 79 20 6e | 6f 74 20 77 6f 72 6b 2e |likely n|ot work.|
|000058d0| 0a 2e 50 50 0a 2e 53 48 | 20 22 53 45 45 20 41 4c |..PP..SH| "SEE AL|
|000058e0| 53 4f 0a 78 6d 6f 64 65 | 6d 28 31 29 2c 20 72 78 |SO.xmode|m(1), rx|
|000058f0| 28 31 29 2c 20 72 62 28 | 31 29 2c 20 72 7a 28 31 |(1), rb(|1), rz(1|
|00005900| 29 2c 20 73 78 28 31 29 | 2c 20 73 62 28 31 29 2c |), sx(1)|, sb(1),|
|00005910| 20 73 7a 28 31 29 2c 20 | 6b 65 72 6d 69 74 28 31 | sz(1), |kermit(1|
|00005920| 29 0a 2e 53 48 20 41 55 | 54 48 4f 52 0a 44 6f 6e |)..SH AU|THOR.Don|
|00005930| 61 6c 64 20 42 75 72 72 | 0a 49 4e 54 45 52 4e 45 |ald Burr|.INTERNE|
|00005940| 54 3a 20 64 62 75 72 72 | 40 6f 63 66 2e 62 65 72 |T: dburr|@ocf.ber|
|00005950| 6b 65 6c 65 79 2e 65 64 | 75 2c 20 37 32 35 34 30 |keley.ed|u, 72540|
|00005960| 2e 33 30 37 31 40 63 6f | 6d 70 75 73 65 72 76 65 |.3071@co|mpuserve|
|00005970| 2e 43 4f 4d 0a 43 4f 4d | 50 55 24 45 52 56 45 3a |.COM.COM|PU$ERVE:|
|00005980| 20 37 32 35 34 30 2c 33 | 30 37 31 0a 41 4d 45 52 | 72540,3|071.AMER|
|00005990| 49 43 41 20 4f 4e 4c 49 | 4e 45 3a 20 44 6f 6e 61 |ICA ONLI|NE: Dona|
|000059a0| 6c 64 42 75 72 72 0a 2e | 53 48 20 4c 49 4d 49 54 |ldBurr..|SH LIMIT|
|000059b0| 41 54 49 4f 4e 53 0a 2e | 49 20 6d 61 63 69 66 79 |ATIONS..|I macify|
|000059c0| 0a 6f 6e 6c 79 20 77 6f | 72 6b 73 20 6f 6e 20 6f |.only wo|rks on o|
|000059d0| 6e 65 20 66 69 6c 65 20 | 61 74 20 61 20 74 69 6d |ne file |at a tim|
|000059e0| 65 2e 20 20 49 74 20 64 | 6f 65 73 20 6e 6f 74 20 |e. It d|oes not |
|000059f0| 65 78 70 61 6e 64 20 77 | 69 6c 64 63 61 72 64 73 |expand w|ildcards|
|00005a00| 2e 0a 77 69 6c 64 63 61 | 72 64 73 2e 20 20 54 68 |..wildca|rds. Th|
|00005a10| 69 73 20 69 73 20 62 65 | 69 6e 67 20 77 6f 72 6b |is is be|ing work|
|00005a20| 65 64 20 6f 6e 3b 20 74 | 68 65 20 6e 65 78 74 20 |ed on; t|he next |
|00005a30| 76 65 72 73 69 6f 6e 20 | 77 69 6c 6c 20 70 72 6f |version |will pro|
|00005a40| 62 61 62 6c 79 0a 69 6e | 63 6c 75 64 65 20 74 68 |bably.in|clude th|
|00005a50| 69 73 20 66 65 61 74 75 | 72 65 2e 0a 53 48 41 52 |is featu|re..SHAR|
|00005a60| 5f 45 4f 46 0a 69 66 20 | 74 65 73 74 20 31 35 33 |_EOF.if |test 153|
|00005a70| 39 20 2d 6e 65 20 22 60 | 77 63 20 2d 63 20 3c 20 |9 -ne "`|wc -c < |
|00005a80| 27 6d 61 63 69 66 79 2e | 31 27 60 22 0a 74 68 65 |'macify.|1'`".the|
|00005a90| 6e 0a 09 65 63 68 6f 20 | 73 68 61 72 3a 20 65 72 |n..echo |shar: er|
|00005aa0| 72 6f 72 20 74 72 61 6e | 73 6d 69 74 74 69 6e 67 |ror tran|smitting|
|00005ab0| 20 22 27 6d 61 63 69 66 | 79 2e 31 27 22 20 27 28 | "'macif|y.1'" '(|
|00005ac0| 73 68 6f 75 6c 64 20 68 | 61 76 65 20 62 65 65 6e |should h|ave been|
|00005ad0| 20 31 35 33 39 20 63 68 | 61 72 61 63 74 65 72 73 | 1539 ch|aracters|
|00005ae0| 29 27 0a 66 69 0a 63 68 | 6d 6f 64 20 2b 78 20 27 |)'.fi.ch|mod +x '|
|00005af0| 6d 61 63 69 66 79 2e 31 | 27 0a 66 69 20 23 20 65 |macify.1|'.fi # e|
|00005b00| 6e 64 20 6f 66 20 6f 76 | 65 72 77 72 69 74 69 6e |nd of ov|erwritin|
|00005b10| 67 20 63 68 65 63 6b 0a | 65 63 68 6f 20 73 68 61 |g check.|echo sha|
|00005b20| 72 3a 20 65 78 74 72 61 | 63 74 69 6e 67 20 22 27 |r: extra|cting "'|
|00005b30| 6d 61 63 69 66 79 2e 68 | 71 78 27 22 20 27 28 32 |macify.h|qx'" '(2|
|00005b40| 34 39 31 36 33 20 63 68 | 61 72 61 63 74 65 72 73 |49163 ch|aracters|
|00005b50| 29 27 0a 69 66 20 74 65 | 73 74 20 2d 66 20 27 6d |)'.if te|st -f 'm|
|00005b60| 61 63 69 66 79 2e 68 71 | 78 27 0a 74 68 65 6e 0a |acify.hq|x'.then.|
|00005b70| 09 65 63 68 6f 20 73 68 | 61 72 3a 20 77 69 6c 6c |.echo sh|ar: will|
|00005b80| 20 6e 6f 74 20 6f 76 65 | 72 2d 77 72 69 74 65 20 | not ove|r-write |
|00005b90| 65 78 69 73 74 69 6e 67 | 20 66 69 6c 65 20 22 27 |existing| file "'|
|00005ba0| 6d 61 63 69 66 79 2e 68 | 71 78 27 22 0a 65 6c 73 |macify.h|qx'".els|
|00005bb0| 65 0a 63 61 74 20 3c 3c | 20 5c 53 48 41 52 5f 45 |e.cat <<| \SHAR_E|
|00005bc0| 4f 46 20 3e 20 27 6d 61 | 63 69 66 79 2e 68 71 78 |OF > 'ma|cify.hqx|
|00005bd0| 27 0a 28 54 68 69 73 20 | 66 69 6c 65 20 6d 75 73 |'.(This |file mus|
|00005be0| 74 20 62 65 20 63 6f 6e | 76 65 72 74 65 64 20 77 |t be con|verted w|
|00005bf0| 69 74 68 20 42 69 6e 48 | 65 78 20 34 2e 30 29 0a |ith BinH|ex 4.0).|
|00005c00| 0a 3a 23 4e 65 4b 42 66 | 50 51 48 35 6a 63 44 41 |.:#NeKBf|PQH5jcDA|
|00005c10| 33 21 38 64 50 38 29 39 | 30 2a 39 23 25 21 4e 21 |3!8dP8)9|0*9#%!N!|
|00005c20| 2d 23 64 53 53 21 4e 21 | 35 68 27 39 30 2a 39 23 |-#dSS!N!|5h'90*9#|
|00005c30| 25 21 21 60 21 23 64 53 | 54 62 36 27 26 65 21 43 |%!!`!#dS|Tb6'&e!C|
|00005c40| 21 0a 21 21 2a 21 24 26 | 4a 21 5b 21 21 2d 28 38 |!.!!*!$&|J![!!-(8|
|00005c50| 4e 39 22 34 23 22 30 34 | 33 23 33 2c 4a 42 71 21 |N9"4#"04|3#3,JBq!|
|00005c60| 2a 21 29 47 28 34 62 45 | 68 34 64 48 28 33 22 21 |*!)G(4bE|h4dH(3"!|
|00005c70| 2b 33 26 6d 38 31 4e 22 | 49 28 4c 21 2a 21 27 23 |+3&m81N"|I(L!*!'#|
|00005c80| 30 69 0a 21 4e 21 42 26 | 5a 21 21 21 49 5b 69 21 |0i.!N!B&|Z!!!I[i!|
|00005c90| 4e 21 45 72 2d 23 33 21 | 59 43 34 6b 5b 23 44 35 |N!Er-#3!|YC4k[#D5|
|00005ca0| 58 6a 2a 6b 2c 36 4c 41 | 41 48 61 4c 69 41 51 66 |Xj*k,6LA|AHaLiAQf|
|00005cb0| 22 2b 54 44 51 25 6b 25 | 4c 51 6b 47 65 29 35 4c |"+TDQ%k%|LQkGe)5L|
|00005cc0| 44 55 22 0a 34 23 50 65 | 54 44 4e 4b 4e 50 53 26 |DU".4#Pe|TDNKNPS&|
|00005cd0| 5b 5a 4a 50 4c 6c 2b 49 | 39 26 59 22 2b 43 48 54 |[ZJPLl+I|9&Y"+CHT|
|00005ce0| 26 43 52 65 24 39 4b 36 | 2b 4b 43 34 46 65 51 26 |&CRe$9K6|+KC4FeQ&|
|00005cf0| 36 2c 4d 21 2a 4c 53 39 | 69 54 55 6a 40 69 2c 25 |6,M!*LS9|iTUj@i,%|
|00005d00| 2a 50 2d 64 0a 64 53 30 | 39 58 50 54 40 26 24 45 |*P-d.dS0|9XPT@&$E|
|00005d10| 56 6d 21 2a 21 2a 69 31 | 24 56 5b 68 2a 52 58 62 |Vm!*!*i1|$V[h*RXb|
|00005d20| 4d 34 52 6d 5b 5a 36 2a | 35 63 30 34 62 46 4b 60 |M4Rm[Z6*|5c04bFK`|
|00005d30| 46 32 5b 58 64 62 6a 4d | 59 61 5b 63 48 36 30 49 |F2[XdbjM|Ya[cH60I|
|00005d40| 6b 64 21 2a 21 0a 26 21 | 49 21 23 2b 48 52 36 41 |kd!*!.&!|I!#+HR6A|
|00005d50| 40 52 36 44 47 63 31 48 | 28 71 59 31 65 23 6d 50 |@R6DGc1H|(qY1e#mP|
|00005d60| 31 26 6b 33 40 66 66 39 | 2c 6a 72 53 28 36 61 24 |1&k3@ff9|,jrS(6a$|
|00005d70| 58 6d 38 6a 2b 46 35 6a | 31 52 2d 68 44 41 26 36 |Xm8j+F5j|1R-hDA&6|
|00005d80| 28 71 2c 65 35 59 0a 35 | 59 54 58 72 60 22 40 61 |(q,e5Y.5|YTXr`"@a|
|00005d90| 38 61 71 6c 71 70 38 56 | 46 61 64 6d 33 6c 32 26 |8aqlqp8V|Fadm3l2&|
|00005da0| 31 39 28 25 5a 36 54 63 | 2d 21 21 24 4c 6b 56 65 |19(%Z6Tc|-!!$LkVe|
|00005db0| 65 49 4c 51 66 68 5a 6c | 46 61 66 69 68 6a 5b 31 |eILQfhZl|Fafihj[1|
|00005dc0| 44 72 65 56 6c 6c 39 0a | 59 5b 66 2c 6a 31 6c 51 |DreVll9.|Y[f,j1lQ|
|00005dd0| 23 41 66 2d 49 6d 27 70 | 40 46 61 39 6c 5a 72 5b |#Af-Im'p|@Fa9lZr[|
|00005de0| 55 72 61 5a 5a 5b 64 66 | 42 36 41 32 6c 6a 24 34 |UraZZ[df|B6A2lj$4|
|00005df0| 26 49 42 25 56 51 48 6c | 35 2d 47 40 4a 32 45 6a |&IB%VQHl|5-G@J2Ej|
|00005e00| 2a 6c 55 71 35 2d 4b 2b | 0a 6a 52 5a 64 4b 46 44 |*lUq5-K+|.jRZdKFD|
|00005e10| 65 71 61 30 6d 52 26 6a | 4c 59 34 34 31 42 39 66 |eqa0mR&j|LY441B9f|
|00005e20| 66 32 46 69 53 71 72 61 | 68 44 33 6c 59 38 46 68 |f2FiSqra|hD3lY8Fh|
|00005e30| 38 53 23 26 49 66 45 28 | 46 68 65 2a 6d 4d 72 42 |8S#&IfE(|Fhe*mMrB|
|00005e40| 32 45 29 6a 6a 26 49 2d | 4e 0a 43 28 2d 2b 6c 45 |2E)jj&I-|N.C(-+lE|
|00005e50| 28 5a 48 6c 35 53 30 60 | 39 48 51 45 64 2b 5b 70 |(ZHl5S0`|9HQEd+[p|
|00005e60| 32 63 27 53 51 26 60 64 | 43 4d 70 2d 65 43 72 4d |2c'SQ&`d|CMp-eCrM|
|00005e70| 5a 64 4b 66 2b 6b 4a 56 | 28 33 34 53 47 66 55 31 |ZdKf+kJV|(34SGfU1|
|00005e80| 45 55 56 21 53 23 29 5a | 32 66 0a 6d 6c 36 2a 2d |EUV!S#)Z|2f.ml6*-|
|00005e90| 5a 6c 6a 32 45 43 26 61 | 38 61 6c 41 5a 24 45 71 |Zlj2EC&a|8alAZ$Eq|
|00005ea0| 42 65 23 40 5b 39 42 29 | 66 35 71 63 32 6a 49 47 |Be#@[9B)|f5qc2jIG|
|00005eb0| 63 27 28 4e 5b 70 2a 63 | 26 69 31 30 31 4d 41 27 |c'(N[p*c|&i101MA'|
|00005ec0| 6c 39 45 68 47 4d 4d 40 | 36 32 6a 0a 43 40 5a 58 |l9EhGMM@|62j.C@ZX|
|00005ed0| 52 41 59 69 45 6b 48 61 | 5b 26 22 4c 32 4e 34 41 |RAYiEkHa|[&"L2N4A|
|00005ee0| 38 36 43 27 6c 2d 53 64 | 46 44 47 27 5a 53 26 48 |86C'l-Sd|FDG'ZS&H|
|00005ef0| 62 6d 6d 42 59 4d 66 5b | 36 42 61 55 25 59 48 55 |bmmBYMf[|6BaU%YHU|
|00005f00| 2d 53 64 35 71 63 32 6a | 49 47 63 27 0a 28 4e 5b |-Sd5qc2j|IGc'.(N[|
|00005f10| 70 2a 63 26 69 71 47 6c | 72 25 52 5a 25 49 62 35 |p*c&iqGl|r%RZ%Ib5|
|00005f20| 71 63 28 55 56 2a 49 68 | 44 35 4a 38 6c 71 69 26 |qc(UV*Ih|D5J8lqi&|
|00005f30| 48 59 44 2c 4d 47 2b 70 | 35 46 29 50 6a 50 55 2b |HYD,MG+p|5F)PjPU+|
|00005f40| 4d 4d 36 53 65 60 69 65 | 4e 63 71 40 48 0a 68 62 |MM6Se`ie|Ncq@H.hb|
|00005f50| 48 45 4c 32 58 72 50 4d | 4d 40 36 4d 36 53 65 65 |HEL2XrPM|M@6M6See|
|00005f60| 22 4c 22 51 32 61 49 59 | 52 6c 24 42 70 62 36 48 |"L"Q2aIY|Rl$Bpb6H|
|00005f70| 45 4e 62 65 26 33 63 28 | 71 4c 56 62 68 70 68 43 |ENbe&3c(|qLVbhphC|
|00005f80| 6c 21 56 45 40 55 49 49 | 39 59 30 52 56 6b 0a 30 |l!VE@UII|9Y0RVk.0|
|00005f90| 48 34 36 53 34 63 71 71 | 33 6b 47 70 51 29 72 64 |H46S4cqq|3kGpQ)rd|
|00005fa0| 5a 63 5a 22 41 41 43 51 | 70 52 47 50 32 40 2a 26 |ZcZ"AACQ|pRGP2@*&|
|00005fb0| 31 6c 4b 40 52 26 2b 31 | 41 25 38 23 5b 43 48 32 |1lK@R&+1|A%8#[CH2|
|00005fc0| 59 56 22 50 55 2b 4c 5b | 6b 4c 42 50 50 4c 70 0a |YV"PU+L[|kLBPPLp.|
|00005fd0| 28 25 55 31 35 52 62 2d | 4c 72 45 31 26 4d 25 44 |(%U15Rb-|LrE1&M%D|
|00005fe0| 51 71 44 22 25 61 71 60 | 61 27 2c 53 2a 4a 61 26 |QqD"%aq`|a',S*Ja&|
|00005ff0| 39 62 72 5a 64 4c 66 69 | 5a 4a 45 65 22 43 52 56 |9brZdLfi|ZJEe"CRV|
|00006000| 6b 26 53 31 28 6d 50 38 | 42 4e 4d 29 50 70 72 44 |k&S1(mP8|BNM)PprD|
|00006010| 0a 4d 71 48 6c 5b 22 2c | 72 35 46 60 39 41 5b 72 |.MqHl[",|r5F`9A[r|
|00006020| 26 22 50 65 59 69 53 2c | 50 44 4a 56 65 56 34 72 |&"PeYiS,|PDJVeV4r|
|00006030| 55 39 4e 60 46 2c 2b 41 | 47 36 72 6a 56 40 36 39 |U9N`F,+A|G6rjV@69|
|00006040| 55 6b 6c 2d 68 59 36 6b | 5b 41 2a 39 42 4a 68 23 |Ukl-hY6k|[A*9BJh#|
|00006050| 54 0a 68 29 43 4d 6d 55 | 70 5b 62 39 4e 60 2d 34 |T.h)CMmU|p[b9N`-4|
|00006060| 55 36 58 5a 53 34 36 31 | 34 5b 38 26 4e 60 42 5a |U6XZS461|4[8&N`BZ|
|00006070| 63 60 5a 27 27 39 32 5b | 58 65 61 53 36 2d 31 49 |c`Z''92[|XeaS6-1I|
|00006080| 68 62 28 52 6d 5b 5a 36 | 30 42 46 72 26 65 53 5b |hb(Rm[Z6|0BFr&eS[|
|00006090| 72 40 0a 56 68 2c 40 34 | 72 58 25 45 58 41 56 58 |r@.Vh,@4|rX%EXAVX|
|000060a0| 70 41 6a 54 60 72 35 38 | 22 27 34 60 39 6b 65 54 |pAjT`r58|"'4`9keT|
|000060b0| 5a 2a 46 22 46 45 54 41 | 55 36 2c 38 39 49 43 72 |Z*F"FETA|U6,89ICr|
|000060c0| 2c 28 27 58 52 27 52 34 | 56 50 21 54 68 68 55 6d |,('XR'R4|VP!ThhUm|
|000060d0| 53 65 47 0a 21 4c 32 70 | 35 58 6a 6c 4d 68 22 59 |SeG.!L2p|5XjlMh"Y|
|000060e0| 6d 4e 5b 6c 4a 62 5b 64 | 72 6b 59 33 25 43 28 22 |mN[lJb[d|rkY3%C("|
|000060f0| 41 56 40 5a 26 21 71 26 | 45 54 41 55 4d 6a 40 30 |AV@Z&!q&|ETAUMj@0|
|00006100| 29 24 2b 30 28 27 52 34 | 56 4b 61 56 2a 52 6d 59 |)$+0('R4|VKaV*RmY|
|00006110| 33 2d 65 6c 0a 28 39 71 | 44 65 51 4a 39 49 48 61 |3-el.(9q|DeQJ9IHa|
|00006120| 51 32 62 47 2d 4c 69 68 | 35 5b 38 70 66 4e 48 2d |Q2bG-Lih|5[8pfNH-|
|00006130| 72 50 51 41 40 66 36 28 | 68 27 52 34 56 55 24 58 |rPQA@f6(|h'R4VU$X|
|00006140| 52 2d 41 4a 68 25 5b 6c | 59 2a 33 2b 47 70 4e 49 |R-AJh%[l|Y*3+GpNI|
|00006150| 62 61 72 2a 50 0a 65 59 | 52 46 26 6a 5b 62 6a 44 |bar*P.eY|RF&j[bjD|
|00006160| 62 35 71 63 28 55 56 32 | 42 2a 49 43 68 45 28 6d |b5qc(UV2|B*IChE(m|
|00006170| 51 41 40 66 6b 5b 59 61 | 2a 47 2b 70 4e 5b 58 63 |QA@fk[Ya|*G+pN[Xc|
|00006180| 71 40 2a 59 30 41 4e 63 | 22 31 5b 45 60 68 64 68 |q@*Y0ANc|"1[E`hdh|
|00006190| 62 36 22 2c 6c 31 0a 30 | 31 4d 41 23 45 36 39 6a |b6",l1.0|1MA#E69j|
|000061a0| 2d 60 53 26 31 72 5a 24 | 5a 23 31 26 2c 58 49 69 |-`S&1rZ$|Z#1&,XIi|
|000061b0| 44 63 70 72 5b 62 65 66 | 61 32 5a 24 45 38 22 28 |Dcpr[bef|a2Z$E8"(|
|000061c0| 29 43 4d 6d 49 6b 50 43 | 52 6d 5b 5a 6a 4d 24 61 |)CMmIkPC|Rm[ZjM$a|
|000061d0| 4d 38 2a 44 70 39 39 0a | 68 44 33 4a 68 23 56 69 |M8*Dp99.|hD3Jh#Vi|
|000061e0| 39 53 29 64 41 35 5b 42 | 50 48 6c 65 6a 5b 63 27 |9S)dA5[B|PHlej[c'|
|000061f0| 53 35 65 6b 55 56 5a 64 | 4b 22 5a 26 41 60 56 33 |S5ekUVZd|K"Z&A`V3|
|00006200| 36 6a 22 43 69 45 25 29 | 24 64 4e 5b 58 61 28 71 |6j"CiE%)|$dN[Xa(q|
|00006210| 50 66 47 66 59 5b 72 30 | 0a 6d 4d 58 2c 4d 44 6c |PfGfY[r0|.mMX,MDl|
|00006220| 68 31 5b 36 42 63 28 71 | 5b 58 41 6c 35 68 52 47 |h1[6Bc(q|[XAl5hRG|
|00006230| 4e 5b 58 47 27 49 62 71 | 6a 2d 50 45 28 30 5a 4a |N[XG'Ibq|j-PE(0ZJ|
|00006240| 62 4b 5b 30 6b 47 34 2c | 6c 29 50 70 6b 2d 36 72 |bK[0kG4,|l)Ppk-6r|
|00006250| 50 4e 47 60 2d 44 5a 43 | 43 0a 2b 5b 65 5b 2d 72 |PNG`-DZC|C.+[e[-r|
|00006260| 50 5a 32 66 27 2c 41 68 | 2c 55 61 46 46 68 33 30 |PZ2f',Ah|,UaFFh30|
|00006270| 6b 4a 58 51 29 45 60 4d | 30 51 53 72 52 5a 6c 61 |kJXQ)E`M|0QSrRZla|
|00006280| 33 41 2b 65 21 34 62 27 | 42 72 2d 5a 6c 6a 32 27 |3A+e!4b'|Br-Zlj2'|
|00006290| 41 46 68 33 34 53 33 45 | 4b 38 0a 49 23 54 2d 49 |AFh34S3E|K8.I#T-I|
|000062a0| 43 47 63 43 66 44 22 4b | 59 71 61 43 45 4d 39 6c |CGcCfD"K|YqaCEM9l|
|000062b0| 56 35 55 68 38 39 2d 52 | 5a 48 47 41 4d 22 68 22 |V5Uh89-R|ZHGAM"h"|
|000062c0| 6b 35 41 66 36 24 22 27 | 34 2c 71 69 31 42 41 72 |k5Af6$"'|4,qi1BAr|
|000062d0| 39 48 6a 38 71 71 33 6b | 44 41 68 0a 53 69 49 54 |9Hj8qq3k|DAh.SiIT|
|000062e0| 42 32 44 58 6a 5b 23 70 | 47 69 41 62 47 66 35 71 |B2DXj[#p|GiAbGf5q|
|000062f0| 61 64 43 56 4d 33 51 42 | 47 22 50 65 59 52 47 56 |adCVM3QB|G"PeYRGV|
|00006300| 45 72 63 49 29 56 66 41 | 4e 5b 58 69 64 6b 30 46 |ErcI)VfA|N[Xidk0F|
|00006310| 32 6d 68 29 4d 2c 6c 32 | 6a 49 46 51 0a 39 32 5b |2mh)M,l2|jIFQ.92[|
|00006320| 55 66 51 36 65 59 48 69 | 6d 60 4d 36 2a 68 32 6c |UfQ6eYHi|m`M6*h2l|
|00006330| 6a 24 33 59 59 45 33 35 | 72 64 54 51 24 68 23 32 |j$3YYE35|rdTQ$h#2|
|00006340| 6a 31 62 53 23 2b 43 38 | 2b 61 54 22 68 44 34 27 |j1bS#+C8|+aT"hD4'|
|00006350| 63 60 61 27 54 29 62 2a | 49 68 22 2d 27 0a 49 62 |c`a'T)b*|Ih"-'.Ib|
|00006360| 71 6c 51 2d 32 53 71 61 | 21 63 28 69 5b 66 61 46 |qlQ-2Sqa|!c(i[faF|
|00006370| 45 54 41 55 36 2c 56 45 | 60 34 58 50 70 51 49 62 |ETAU6,VE|`4XPpQIb|
|00006380| 62 70 6d 55 22 36 5b 6c | 4a 39 6b 65 53 61 55 31 |bpmU"6[l|J9keSaU1|
|00006390| 28 5a 24 40 36 4b 43 63 | 68 25 6b 6c 60 72 0a 51 |(Z$@6KCc|h%kl`r.Q|
|000063a0| 71 49 50 48 62 6d 50 70 | 51 6c 63 46 50 2b 70 42 |qIPHbmPp|QlcFP+pB|
|000063b0| 6c 27 65 32 5b 4e 30 28 | 29 43 4d 6d 49 6b 50 43 |l'e2[N0(|)CMmIkPC|
|000063c0| 6c 45 2a 60 72 35 30 40 | 61 27 54 61 33 42 72 35 |lE*`r50@|a'Ta3Br5|
|000063d0| 35 5b 25 70 4d 48 2b 24 | 2d 52 70 69 52 58 45 0a |5[%pMH+$|-RpiRXE.|
|000063e0| 61 33 41 2b 65 24 68 23 | 32 6a 2a 49 68 28 63 27 |a3A+e$h#|2j*Ih(c'|
|000063f0| 53 35 65 6b 55 4a 42 45 | 49 58 40 2c 4d 46 71 41 |S5ekUJBE|IX@,MFqA|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.