home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / compsrcs / unix / volume03 / rcsit < prev    next >
SHell self-extracting ARchive  |  1988-09-11  |  22.4 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: SHell self-extracting ARchive (archive/shar).

You can browse this item here: rcsit

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Newsgroup Content (archive/news) magic Supported
100% dexvert SHell self-extracting ARchive (archive/shar) 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% TrID E-Mail message (Var. 2) default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/329 Shell Archive Format default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime message/rfc822 default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 46 72 6f 6d 3a 20 74 61 | 6c 63 6f 74 74 21 74 6f |From: ta|lcott!to|
|00000010| 70 61 7a 21 70 61 63 6b | 61 72 64 21 69 68 6e 70 |paz!pack|ard!ihnp|
|00000020| 34 21 75 63 62 76 61 78 | 21 75 73 63 2d 65 63 6c |4!ucbvax|!usc-ecl|
|00000030| 63 2e 61 72 70 61 21 73 | 64 63 73 76 61 78 21 6f |c.arpa!s|dcsvax!o|
|00000040| 62 65 72 6f 6e 21 6d 63 | 6f 6f 70 65 72 0a 53 75 |beron!mc|ooper.Su|
|00000050| 62 6a 65 63 74 3a 20 72 | 63 73 69 74 20 2d 20 41 |bject: r|csit - A|
|00000060| 20 70 72 6f 67 72 61 6d | 20 74 6f 20 70 72 65 70 | program| to prep|
|00000070| 61 72 65 20 66 69 6c 65 | 73 20 66 6f 72 20 52 43 |are file|s for RC|
|00000080| 53 0a 4e 65 77 73 67 72 | 6f 75 70 73 3a 20 6d 6f |S.Newsgr|oups: mo|
|00000090| 64 2e 73 6f 75 72 63 65 | 73 0a 41 70 70 72 6f 76 |d.source|s.Approv|
|000000a0| 65 64 3a 20 6a 70 6e 40 | 70 61 6e 64 61 2e 55 55 |ed: jpn@|panda.UU|
|000000b0| 43 50 0a 0a 4d 6f 64 2e | 73 6f 75 72 63 65 73 3a |CP..Mod.|sources:|
|000000c0| 20 20 56 6f 6c 75 6d 65 | 20 33 2c 20 49 73 73 75 | Volume| 3, Issu|
|000000d0| 65 20 36 31 0a 53 75 62 | 6d 69 74 74 65 64 20 62 |e 61.Sub|mitted b|
|000000e0| 79 3a 20 73 65 69 73 6d | 6f 21 72 69 61 63 73 21 |y: seism|o!riacs!|
|000000f0| 68 70 6c 61 62 73 21 73 | 64 63 72 64 63 66 21 75 |hplabs!s|dcrdcf!u|
|00000100| 73 63 76 61 78 21 6f 62 | 65 72 6f 6e 21 6d 63 6f |scvax!ob|eron!mco|
|00000110| 6f 70 65 72 0a 0a 0a 41 | 70 70 65 6e 64 65 64 20 |oper...A|ppended |
|00000120| 79 6f 75 27 6c 6c 20 66 | 69 6e 64 20 61 20 73 68 |you'll f|ind a sh|
|00000130| 61 72 20 61 72 63 68 69 | 76 65 20 6f 66 20 61 20 |ar archi|ve of a |
|00000140| 70 72 6f 67 72 61 6d 20 | 49 20 77 72 6f 74 65 20 |program |I wrote |
|00000150| 63 61 6c 6c 65 64 0a 72 | 63 73 69 74 28 31 6c 29 |called.r|csit(1l)|
|00000160| 2e 20 20 49 20 70 6f 73 | 74 65 64 20 74 68 69 73 |. I pos|ted this|
|00000170| 20 70 72 6f 67 72 61 6d | 20 6f 76 65 72 20 61 20 | program| over a |
|00000180| 79 65 61 72 20 61 67 6f | 20 74 6f 20 6e 65 74 2e |year ago| to net.|
|00000190| 73 6f 75 72 63 65 73 2e | 0a 41 66 74 65 72 20 63 |sources.|.After c|
|000001a0| 68 61 6e 67 69 6e 67 20 | 73 69 74 65 73 2c 20 74 |hanging |sites, t|
|000001b0| 68 6f 75 67 68 2c 20 49 | 20 6c 6f 73 74 20 61 20 |hough, I| lost a |
|000001c0| 63 6f 70 79 20 6f 66 20 | 69 74 20 61 6e 64 20 68 |copy of |it and h|
|000001d0| 61 64 20 74 6f 0a 74 6f | 74 61 6c 6c 79 20 72 65 |ad to.to|tally re|
|000001e0| 2d 77 72 69 74 65 20 69 | 74 2e 20 20 54 68 65 20 |-write i|t. The |
|000001f0| 6e 65 77 20 70 72 6f 67 | 72 61 6d 20 69 73 20 64 |new prog|ram is d|
|00000200| 65 73 69 67 6e 65 64 20 | 6d 75 63 68 20 62 65 74 |esigned |much bet|
|00000210| 74 65 72 0a 74 68 61 6e | 20 74 68 65 20 6f 6c 64 |ter.than| the old|
|00000220| 20 6f 6e 65 20 61 6e 64 | 20 73 65 65 6d 73 20 74 | one and| seems t|
|00000230| 6f 20 62 65 20 6d 75 63 | 68 20 6d 6f 72 65 20 66 |o be muc|h more f|
|00000240| 6c 65 78 69 62 6c 65 20 | 68 61 76 69 6e 67 20 6d |lexible |having m|
|00000250| 6f 72 65 0a 6f 70 74 69 | 6f 6e 73 2e 20 20 0a 0a |ore.opti|ons. ..|
|00000260| 54 68 65 20 70 72 6f 67 | 72 61 6d 20 69 74 73 65 |The prog|ram itse|
|00000270| 6c 66 2c 20 64 6f 65 73 | 20 74 68 69 6e 67 73 20 |lf, does| things |
|00000280| 6c 69 6b 65 20 61 64 64 | 20 72 63 73 20 68 65 61 |like add| rcs hea|
|00000290| 64 65 72 73 20 28 66 6f | 72 20 6c 6f 67 0a 74 72 |ders (fo|r log.tr|
|000002a0| 61 63 6b 69 6e 67 2c 20 | 76 65 72 73 69 6f 6e 20 |acking, |version |
|000002b0| 74 72 61 63 6b 69 6e 67 | 2c 20 65 74 63 2e 29 20 |tracking|, etc.) |
|000002c0| 61 6e 64 20 28 6f 70 74 | 69 6f 6e 61 6c 6c 79 29 |and (opt|ionally)|
|000002d0| 20 72 75 6e 20 72 63 73 | 0a 63 6f 6d 6d 61 6e 64 | run rcs|.command|
|000002e0| 73 20 28 6c 69 6b 65 20 | 63 69 28 31 29 29 20 6f |s (like |ci(1)) o|
|000002f0| 6e 20 74 68 65 20 73 70 | 65 63 69 66 69 65 64 20 |n the sp|ecified |
|00000300| 66 69 6c 65 73 2e 0a 0a | 50 6c 65 61 73 65 20 6d |files...|Please m|
|00000310| 61 69 6c 20 6d 65 20 61 | 6e 79 20 62 75 67 73 2f |ail me a|ny bugs/|
|00000320| 63 6f 6d 6d 65 6e 74 73 | 20 74 68 61 74 20 79 6f |comments| that yo|
|00000330| 75 20 72 75 6e 20 61 63 | 72 6f 73 73 2e 0a 0a 0a |u run ac|ross....|
|00000340| 09 09 09 54 68 61 6e 6b | 73 2c 0a 09 09 09 4d 69 |...Thank|s,....Mi|
|00000350| 6b 65 20 43 6f 6f 70 65 | 72 0a 2b 2d 2d 2d 2d 2d |ke Coope|r.+-----|
|00000360| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000370| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000380| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000390| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000003a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2b 0a 7c 20 4d 69 63 68 |--------|+.| Mich|
|000003b0| 61 65 6c 20 43 6f 6f 70 | 65 72 09 09 20 20 20 20 |ael Coop|er.. |
|000003c0| 55 55 43 50 3a 20 2e 2e | 2e 21 7b 75 73 63 76 61 |UUCP: ..|.!{uscva|
|000003d0| 78 2c 20 73 64 63 72 64 | 63 66 2c 20 65 6e 67 76 |x, sdcrd|cf, engv|
|000003e0| 61 78 2c 09 20 20 20 20 | 20 20 7c 0a 7c 20 55 6e |ax,. | |.| Un|
|000003f0| 69 76 65 72 73 69 74 79 | 20 43 6f 6d 70 75 74 69 |iversity| Computi|
|00000400| 6e 67 20 53 65 72 76 69 | 63 65 73 20 20 20 20 20 |ng Servi|ces |
|00000410| 20 20 20 20 20 20 20 20 | 73 63 67 76 61 78 64 2c | |scgvaxd,|
|00000420| 20 73 6d 65 61 67 6f 6c | 7d 21 6f 62 65 72 6f 6e | smeagol|}!oberon|
|00000430| 21 6d 63 6f 6f 70 65 72 | 20 20 7c 0a 7c 20 55 6e |!mcooper| |.| Un|
|00000440| 69 76 65 72 73 69 74 79 | 20 6f 66 20 53 6f 75 74 |iversity| of Sout|
|00000450| 68 65 72 6e 20 43 61 6c | 2e 20 20 20 20 20 42 49 |hern Cal|. BI|
|00000460| 54 4e 45 54 3a 20 6d 63 | 6f 6f 70 65 72 40 75 73 |TNET: mc|ooper@us|
|00000470| 63 76 61 78 71 2c 20 6d | 63 6f 6f 70 65 72 40 6a |cvaxq, m|cooper@j|
|00000480| 61 78 6f 6d 20 20 20 20 | 20 20 7c 0a 7c 20 4c 6f |axom | |.| Lo|
|00000490| 73 20 41 6e 67 65 6c 65 | 73 2c 20 43 61 2e 20 20 |s Angele|s, Ca. |
|000004a0| 20 39 30 30 38 39 2d 30 | 32 35 31 20 20 20 20 20 | 90089-0|251 |
|000004b0| 41 52 50 41 3a 20 6d 63 | 6f 6f 70 65 72 40 75 73 |ARPA: mc|ooper@us|
|000004c0| 63 2d 6f 62 65 72 6f 6e | 2e 61 72 70 61 2c 09 20 |c-oberon|.arpa,. |
|000004d0| 20 20 20 20 20 7c 0a 7c | 20 28 32 31 33 29 20 37 | |.|| (213) 7|
|000004e0| 34 33 2d 33 34 36 32 09 | 09 20 20 09 20 20 6d 63 |43-3462.|. . mc|
|000004f0| 6f 6f 70 65 72 40 75 73 | 63 2d 65 63 6c 63 2e 61 |ooper@us|c-eclc.a|
|00000500| 72 70 61 20 20 09 20 20 | 20 20 20 20 7c 0a 2b 2d |rpa . | |.+-|
|00000510| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000520| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000530| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000540| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000550| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2b 0a 23 21 |--------|----+.#!|
|00000560| 2f 62 69 6e 2f 73 68 0a | 23 20 54 68 69 73 20 69 |/bin/sh.|# This i|
|00000570| 73 20 61 20 73 68 65 6c | 6c 20 61 72 63 68 69 76 |s a shel|l archiv|
|00000580| 65 2c 20 6d 65 61 6e 69 | 6e 67 3a 0a 23 20 31 2e |e, meani|ng:.# 1.|
|00000590| 20 52 65 6d 6f 76 65 20 | 65 76 65 72 79 74 68 69 | Remove |everythi|
|000005a0| 6e 67 20 61 62 6f 76 65 | 20 74 68 65 20 23 21 2f |ng above| the #!/|
|000005b0| 62 69 6e 2f 73 68 20 6c | 69 6e 65 2e 0a 23 20 32 |bin/sh l|ine..# 2|
|000005c0| 2e 20 53 61 76 65 20 74 | 68 65 20 72 65 73 75 6c |. Save t|he resul|
|000005d0| 74 69 6e 67 20 74 65 78 | 74 20 69 6e 20 61 20 66 |ting tex|t in a f|
|000005e0| 69 6c 65 2e 0a 23 20 33 | 2e 20 45 78 65 63 75 74 |ile..# 3|. Execut|
|000005f0| 65 20 74 68 65 20 66 69 | 6c 65 20 77 69 74 68 20 |e the fi|le with |
|00000600| 2f 62 69 6e 2f 73 68 20 | 28 6e 6f 74 20 63 73 68 |/bin/sh |(not csh|
|00000610| 29 20 74 6f 20 63 72 65 | 61 74 65 20 74 68 65 20 |) to cre|ate the |
|00000620| 66 69 6c 65 73 3a 0a 23 | 09 72 63 73 69 74 2e 31 |files:.#|.rcsit.1|
|00000630| 0a 23 09 4d 61 6b 65 66 | 69 6c 65 0a 23 09 72 63 |.#.Makef|ile.#.rc|
|00000640| 73 69 74 2e 63 0a 23 09 | 5f 2e 74 65 6d 70 6c 61 |sit.c.#.|_.templa|
|00000650| 74 65 2e 63 0a 23 20 54 | 68 69 73 20 61 72 63 68 |te.c.# T|his arch|
|00000660| 69 76 65 20 63 72 65 61 | 74 65 64 3a 20 54 75 65 |ive crea|ted: Tue|
|00000670| 20 44 65 63 20 31 30 20 | 31 33 3a 35 34 3a 35 34 | Dec 10 |13:54:54|
|00000680| 20 31 39 38 35 0a 23 20 | 42 79 3a 09 4d 69 63 68 | 1985.# |By:.Mich|
|00000690| 61 65 6c 20 43 6f 6f 70 | 65 72 20 28 55 6e 69 76 |ael Coop|er (Univ|
|000006a0| 65 72 73 69 74 79 20 43 | 6f 6d 70 75 74 69 6e 67 |ersity C|omputing|
|000006b0| 20 53 65 72 76 69 63 65 | 73 2c 20 55 2e 53 2e 43 | Service|s, U.S.C|
|000006c0| 2e 29 0a 65 78 70 6f 72 | 74 20 50 41 54 48 3b 20 |.).expor|t PATH; |
|000006d0| 50 41 54 48 3d 2f 62 69 | 6e 3a 24 50 41 54 48 0a |PATH=/bi|n:$PATH.|
|000006e0| 69 66 20 74 65 73 74 20 | 2d 66 20 27 72 63 73 69 |if test |-f 'rcsi|
|000006f0| 74 2e 31 27 0a 74 68 65 | 6e 0a 09 65 63 68 6f 20 |t.1'.the|n..echo |
|00000700| 73 68 61 72 3a 20 6f 76 | 65 72 2d 77 72 69 74 69 |shar: ov|er-writi|
|00000710| 6e 67 20 65 78 69 73 74 | 69 6e 67 20 66 69 6c 65 |ng exist|ing file|
|00000720| 20 22 27 72 63 73 69 74 | 2e 31 27 22 0a 66 69 0a | "'rcsit|.1'".fi.|
|00000730| 63 61 74 20 3c 3c 20 5c | 53 48 41 52 5f 45 4f 46 |cat << \|SHAR_EOF|
|00000740| 20 3e 20 27 72 63 73 69 | 74 2e 31 27 0a 2e 2e 2e | > 'rcsi|t.1'....|
|00000750| 0a 2e 2e 2e 20 24 48 65 | 61 64 65 72 3a 20 72 63 |.... $He|ader: rc|
|00000760| 73 69 74 2e 31 2c 76 20 | 31 2e 37 20 38 35 2f 31 |sit.1,v |1.7 85/1|
|00000770| 31 2f 32 36 20 31 36 3a | 35 37 3a 32 31 20 6d 63 |1/26 16:|57:21 mc|
|00000780| 6f 6f 70 65 72 20 45 78 | 70 20 24 0a 2e 2e 2e 20 |ooper Ex|p $.... |
|00000790| 0a 2e 2e 2e 20 24 4c 6f | 67 3a 09 72 63 73 69 74 |.... $Lo|g:.rcsit|
|000007a0| 2e 31 2c 76 20 24 0a 2e | 2e 2e 20 52 65 76 69 73 |.1,v $..|.. Revis|
|000007b0| 69 6f 6e 20 31 2e 37 20 | 20 38 35 2f 31 31 2f 32 |ion 1.7 | 85/11/2|
|000007c0| 36 20 20 31 36 3a 35 37 | 3a 32 31 20 20 6d 63 6f |6 16:57|:21 mco|
|000007d0| 6f 70 65 72 0a 2e 2e 2e | 20 4e 6f 74 65 64 20 63 |oper....| Noted c|
|000007e0| 68 61 6e 67 65 73 20 74 | 6f 20 74 68 65 20 2d 74 |hanges t|o the -t|
|000007f0| 20 6f 70 74 69 6f 6e 2e | 0a 2e 2e 2e 20 0a 2e 2e | option.|.... ...|
|00000800| 2e 20 52 65 76 69 73 69 | 6f 6e 20 31 2e 36 20 20 |. Revisi|on 1.6 |
|00000810| 38 35 2f 31 31 2f 31 31 | 20 20 32 31 3a 32 30 3a |85/11/11| 21:20:|
|00000820| 31 37 20 20 6d 63 6f 6f | 70 65 72 0a 2e 2e 2e 20 |17 mcoo|per.... |
|00000830| 41 64 64 65 64 20 41 55 | 54 48 4f 52 2e 0a 2e 2e |Added AU|THOR....|
|00000840| 2e 20 0a 2e 2e 2e 20 52 | 65 76 69 73 69 6f 6e 20 |. .... R|evision |
|00000850| 31 2e 35 20 20 38 35 2f | 31 31 2f 31 31 20 20 32 |1.5 85/|11/11 2|
|00000860| 30 3a 31 33 3a 33 39 20 | 20 6d 63 6f 6f 70 65 72 |0:13:39 | mcooper|
|00000870| 0a 2e 2e 2e 20 41 64 64 | 65 64 20 64 65 73 63 72 |.... Add|ed descr|
|00000880| 69 70 74 69 6f 6e 20 6f | 66 20 6e 65 77 20 46 6f |iption o|f new Fo|
|00000890| 72 74 72 61 6e 20 72 65 | 63 6f 67 6e 69 74 69 6f |rtran re|cognitio|
|000008a0| 6e 2e 0a 2e 2e 2e 20 0a | 2e 2e 2e 20 52 65 76 69 |n..... .|... Revi|
|000008b0| 73 69 6f 6e 20 31 2e 34 | 20 20 38 35 2f 31 30 2f |sion 1.4| 85/10/|
|000008c0| 32 37 20 20 31 39 3a 31 | 38 3a 31 35 20 20 6d 63 |27 19:1|8:15 mc|
|000008d0| 6f 6f 70 65 72 0a 2e 2e | 2e 20 43 6c 65 61 6e 65 |ooper...|. Cleane|
|000008e0| 64 20 75 70 20 74 61 62 | 6c 65 20 64 69 73 70 6c |d up tab|le displ|
|000008f0| 61 79 2e 0a 2e 2e 2e 20 | 0a 2e 2e 2e 20 52 65 76 |ay..... |.... Rev|
|00000900| 69 73 69 6f 6e 20 31 2e | 33 20 20 38 35 2f 31 30 |ision 1.|3 85/10|
|00000910| 2f 32 37 20 20 31 34 3a | 35 35 3a 32 32 20 20 6d |/27 14:|55:22 m|
|00000920| 63 6f 6f 70 65 72 0a 2e | 2e 2e 20 41 64 64 65 64 |cooper..|.. Added|
|00000930| 20 64 65 73 63 72 69 70 | 74 69 6f 6e 20 6f 66 20 | descrip|tion of |
|00000940| 6e 65 77 20 74 65 6d 70 | 6c 61 74 65 20 66 65 61 |new temp|late fea|
|00000950| 74 75 72 65 2e 0a 2e 2e | 2e 20 0a 2e 2e 2e 20 52 |ture....|. .... R|
|00000960| 65 76 69 73 69 6f 6e 20 | 31 2e 32 20 20 38 35 2f |evision |1.2 85/|
|00000970| 30 39 2f 32 38 20 20 31 | 34 3a 32 32 3a 35 32 20 |09/28 1|4:22:52 |
|00000980| 20 6d 63 6f 6f 70 65 72 | 0a 2e 2e 2e 20 44 6f 63 | mcooper|.... Doc|
|00000990| 75 6d 65 6e 74 65 64 20 | 6e 65 77 20 66 65 61 74 |umented |new feat|
|000009a0| 75 72 65 73 20 6f 66 20 | 63 68 65 63 6b 64 69 72 |ures of |checkdir|
|000009b0| 20 28 73 79 6d 62 6f 6c | 69 63 0a 2e 2e 2e 20 6c | (symbol|ic.... l|
|000009c0| 69 6e 6b 69 6e 67 20 61 | 6e 64 20 52 43 53 44 49 |inking a|nd RCSDI|
|000009d0| 52 29 2e 0a 2e 2e 2e 20 | 0a 2e 2e 2e 20 52 65 76 |R)..... |.... Rev|
|000009e0| 69 73 69 6f 6e 20 31 2e | 31 20 20 38 35 2f 30 39 |ision 1.|1 85/09|
|000009f0| 2f 31 39 20 20 31 35 3a | 34 34 3a 32 32 20 20 6d |/19 15:|44:22 m|
|00000a00| 63 6f 6f 70 65 72 0a 2e | 2e 2e 20 49 6e 69 74 69 |cooper..|.. Initi|
|00000a10| 61 6c 20 72 65 76 69 73 | 69 6f 6e 0a 2e 2e 2e 20 |al revis|ion.... |
|00000a20| 0a 2e 2e 2e 0a 2e 54 48 | 20 52 43 53 49 54 20 31 |......TH| RCSIT 1|
|00000a30| 6c 0a 2e 53 48 20 4e 41 | 4d 45 0a 72 63 73 69 74 |l..SH NA|ME.rcsit|
|00000a40| 20 5c 2d 20 41 20 70 72 | 6f 67 72 61 6d 20 74 6f | \- A pr|ogram to|
|00000a50| 20 70 72 65 70 61 72 65 | 20 66 69 6c 65 73 20 66 | prepare| files f|
|00000a60| 6f 72 20 52 43 53 0a 2e | 53 48 20 53 59 4e 4f 50 |or RCS..|SH SYNOP|
|00000a70| 53 49 53 0a 72 63 73 69 | 74 0a 5b 0a 2e 42 20 5c |SIS.rcsi|t.[..B \|
|00000a80| 2d 63 68 66 73 6d 4d 0a | 5d 20 5b 0a 2e 42 20 5c |-chfsmM.|] [..B \|
|00000a90| 2d 71 61 64 0a 5d 20 5b | 0a 5c 2d 49 5c 66 49 66 |-qad.] [|.\-I\fIf|
|00000aa0| 6c 61 67 73 5c 66 52 0a | 5d 20 5b 0a 5c 2d 52 5c |lags\fR.|] [.\-R\|
|00000ab0| 66 49 66 6c 61 67 73 5c | 66 52 0a 5d 20 5b 0a 5c |fIflags\|fR.] [.\|
|00000ac0| 2d 74 5c 66 49 64 69 72 | 65 63 74 6f 72 79 5c 66 |-t\fIdir|ectory\f|
|00000ad0| 52 0a 5d 0a 2e 42 20 66 | 69 6c 65 0a 5b 0a 2e 42 |R.]..B f|ile.[..B|
|00000ae0| 20 66 69 6c 65 31 2c 20 | 66 69 6c 65 32 2c 20 2e | file1, |file2, .|
|00000af0| 2e 2e 0a 5d 0a 2e 53 48 | 20 44 45 53 43 52 49 50 |...]..SH| DESCRIP|
|00000b00| 54 49 4f 4e 0a 2e 49 20 | 52 63 73 69 74 0a 69 73 |TION..I |Rcsit.is|
|00000b10| 20 61 20 73 65 6d 69 2d | 69 6e 74 65 6c 6c 69 67 | a semi-|intellig|
|00000b20| 65 6e 74 20 70 72 6f 67 | 72 61 6d 20 74 6f 20 70 |ent prog|ram to p|
|00000b30| 72 65 70 61 72 65 20 66 | 69 6c 65 73 20 66 6f 72 |repare f|iles for|
|00000b40| 20 0a 2e 49 20 72 63 73 | 28 31 29 2e 0a 54 68 69 | ..I rcs|(1)..Thi|
|00000b50| 73 0a 69 6e 76 6f 6c 76 | 65 73 20 70 75 74 74 69 |s.involv|es putti|
|00000b60| 6e 67 20 74 68 65 20 63 | 6f 72 72 65 63 74 20 74 |ng the c|orrect t|
|00000b70| 79 70 65 20 6f 66 20 68 | 65 61 64 69 6e 67 73 20 |ype of h|eadings |
|00000b80| 61 74 20 74 68 65 20 74 | 6f 70 20 6f 66 20 74 68 |at the t|op of th|
|00000b90| 65 20 66 69 6c 65 20 73 | 6f 0a 74 68 61 74 20 0a |e file s|o.that .|
|00000ba0| 2e 49 20 72 63 73 28 31 | 29 0a 77 69 6c 6c 20 75 |.I rcs(1|).will u|
|00000bb0| 70 64 61 74 65 20 61 20 | 68 65 61 64 65 72 20 61 |pdate a |header a|
|00000bc0| 6e 64 20 6c 6f 67 20 63 | 68 61 6e 67 65 73 20 69 |nd log c|hanges i|
|00000bd0| 6e 20 74 68 65 20 66 69 | 6c 65 2e 0a 2e 50 50 20 |n the fi|le...PP |
|00000be0| 0a 42 79 20 64 65 66 61 | 75 6c 74 2c 20 0a 2e 49 |.By defa|ult, ..I|
|00000bf0| 20 72 63 73 69 74 0a 77 | 69 6c 6c 20 75 73 65 20 | rcsit.w|ill use |
|00000c00| 64 65 66 61 75 6c 74 20 | 68 65 61 64 65 72 73 20 |default |headers |
|00000c10| 60 60 68 61 72 64 2d 77 | 69 72 65 64 27 27 20 69 |``hard-w|ired'' i|
|00000c20| 6e 74 6f 20 69 74 73 65 | 6c 66 20 66 6f 72 20 65 |nto itse|lf for e|
|00000c30| 61 63 68 20 64 69 66 66 | 65 72 65 6e 74 20 66 69 |ach diff|erent fi|
|00000c40| 6c 65 0a 74 79 70 65 20 | 74 68 61 74 20 69 74 20 |le.type |that it |
|00000c50| 60 60 6b 6e 6f 77 73 27 | 27 20 61 62 6f 75 74 2e |``knows'|' about.|
|00000c60| 20 20 28 53 65 65 20 62 | 65 6c 6f 77 20 66 6f 72 | (See b|elow for|
|00000c70| 20 6c 69 73 74 20 6f 66 | 20 6b 6e 6f 77 6e 20 66 | list of| known f|
|00000c80| 69 6c 65 20 74 79 70 65 | 73 29 2e 0a 2e 50 50 0a |ile type|s)...PP.|
|00000c90| 49 66 20 74 68 65 20 5c | 2d 74 5c 66 49 64 69 72 |If the \|-t\fIdir|
|00000ca0| 65 63 74 6f 72 79 5c 66 | 52 20 6f 70 74 69 6f 6e |ectory\f|R option|
|00000cb0| 20 69 73 20 73 70 65 63 | 69 66 69 65 64 2c 20 74 | is spec|ified, t|
|00000cc0| 68 65 6e 0a 2e 49 20 72 | 63 73 69 74 0a 77 69 6c |hen..I r|csit.wil|
|00000cd0| 6c 20 75 73 65 20 60 60 | 2e 74 65 6d 70 6c 61 74 |l use ``|.templat|
|00000ce0| 65 2e 73 75 66 66 69 78 | 27 27 20 66 69 6c 65 73 |e.suffix|'' files|
|00000cf0| 0a 28 77 68 65 72 65 20 | 60 60 73 75 66 66 69 78 |.(where |``suffix|
|00000d00| 27 27 20 69 73 20 61 20 | 73 75 66 66 69 78 20 74 |'' is a |suffix t|
|00000d10| 68 61 74 20 0a 2e 49 20 | 72 63 73 69 74 0a 60 60 |hat ..I |rcsit.``|
|00000d20| 6b 6e 6f 77 73 27 27 20 | 61 62 6f 75 74 29 0a 66 |knows'' |about).f|
|00000d30| 6f 75 6e 64 20 69 6e 20 | 0a 2e 49 20 64 69 72 65 |ound in |..I dire|
|00000d40| 63 74 6f 72 79 2e 0a 49 | 66 20 61 20 64 69 72 65 |ctory..I|f a dire|
|00000d50| 63 74 6f 72 79 20 6e 61 | 6d 65 20 69 73 20 6e 6f |ctory na|me is no|
|00000d60| 74 20 73 70 65 63 69 66 | 69 65 64 20 6f 6e 20 74 |t specif|ied on t|
|00000d70| 68 65 20 63 6f 6d 6d 61 | 6e 64 20 6c 69 6e 65 2c |he comma|nd line,|
|00000d80| 20 74 68 65 6e 0a 74 68 | 65 20 65 6e 76 69 72 6f | then.th|e enviro|
|00000d90| 6e 6d 65 6e 74 20 76 61 | 72 69 61 62 6c 65 20 54 |nment va|riable T|
|00000da0| 45 4d 50 4c 41 54 45 53 | 20 69 73 20 75 73 65 64 |EMPLATES| is used|
|00000db0| 2e 0a 49 66 20 24 54 45 | 4d 50 4c 41 54 45 53 20 |..If $TE|MPLATES |
|00000dc0| 69 73 20 6e 6f 74 20 73 | 65 74 2c 20 74 68 65 6e |is not s|et, then|
|00000dd0| 20 74 68 65 20 65 6e 76 | 69 72 6f 6e 6d 65 6e 74 | the env|ironment|
|00000de0| 20 76 61 72 69 61 6c 62 | 6c 65 2c 20 48 4f 4d 45 | varialb|le, HOME|
|00000df0| 20 69 73 20 74 72 69 65 | 64 2e 0a 2e 4c 50 0a 54 | is trie|d...LP.T|
|00000e00| 68 65 20 66 6f 6c 6c 6f | 77 69 6e 67 20 74 65 6d |he follo|wing tem|
|00000e10| 70 6c 61 74 65 20 66 69 | 6c 65 73 20 61 72 65 20 |plate fi|les are |
|00000e20| 72 65 63 6f 67 6e 69 7a | 65 64 3a 0a 2e 73 70 20 |recogniz|ed:..sp |
|00000e30| 32 0a 2e 69 6e 20 31 30 | 0a 2e 6e 66 0a 20 54 65 |2..in 10|..nf. Te|
|00000e40| 6d 70 6c 61 74 65 20 4e | 61 6d 65 20 20 20 20 20 |mplate N|ame |
|00000e50| 20 20 20 20 20 20 20 20 | 20 20 46 69 6c 65 20 54 | | File T|
|00000e60| 79 70 65 0a 20 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |ype. ---|--------|
|00000e70| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000e80| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000e90| 0a 20 2e 74 65 6d 70 6c | 61 74 65 2e 63 20 20 20 |. .templ|ate.c |
|00000ea0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 53 74 | | St|
|00000eb0| 61 6e 64 61 72 64 20 43 | 0a 20 2e 74 65 6d 70 6c |andard C|. .templ|
|00000ec0| 61 74 65 2e 68 20 20 20 | 20 20 20 20 20 20 20 20 |ate.h | |
|00000ed0| 20 20 20 20 20 20 43 20 | 49 6e 63 6c 75 64 65 0a | C |Include.|
|00000ee0| 20 2e 74 65 6d 70 6c 61 | 74 65 2e 66 20 20 20 20 | .templa|te.f |
|00000ef0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 46 6f 72 | | For|
|00000f00| 74 72 61 6e 0a 20 2e 74 | 65 6d 70 6c 61 74 65 2e |tran. .t|emplate.|
|00000f10| 73 68 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |sh | |
|00000f20| 20 20 53 68 65 6c 6c 20 | 53 63 72 69 70 74 0a 20 | Shell |Script. |
|00000f30| 2e 74 65 6d 70 6c 61 74 | 65 2e 6d 61 6b 65 20 20 |.templat|e.make |
|00000f40| 20 20 20 20 20 20 20 20 | 20 20 20 20 4d 61 6b 65 | | Make|
|00000f50| 66 69 6c 65 0a 20 2e 74 | 65 6d 70 6c 61 74 65 2e |file. .t|emplate.|
|00000f60| 6d 61 6e 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |man | |
|00000f70| 20 20 4d 61 6e 75 61 6c | 0a 2e 73 70 20 32 0a 2e | Manual|..sp 2..|
|00000f80| 69 6e 20 2d 31 30 0a 2e | 66 69 0a 2e 50 50 0a 2e |in -10..|fi..PP..|
|00000f90| 49 20 52 63 73 69 74 0a | 69 73 20 60 60 73 65 6d |I Rcsit.|is ``sem|
|00000fa0| 69 2d 69 6e 74 65 6c 6c | 69 67 65 6e 74 27 27 20 |i-intell|igent'' |
|00000fb0| 69 6e 20 74 68 61 74 20 | 69 74 20 63 61 6e 20 67 |in that |it can g|
|00000fc0| 75 65 73 73 20 74 68 65 | 20 74 79 70 65 20 6f 66 |uess the| type of|
|00000fd0| 20 68 65 61 64 65 72 73 | 20 74 6f 20 70 75 74 20 | headers| to put |
|00000fe0| 69 6e 0a 74 68 65 20 66 | 69 6c 65 20 62 79 20 74 |in.the f|ile by t|
|00000ff0| 68 65 20 74 79 70 65 20 | 6f 66 20 66 69 6c 65 20 |he type |of file |
|00001000| 28 43 20 70 72 6f 67 72 | 61 6d 2c 20 43 20 69 6e |(C progr|am, C in|
|00001010| 63 6c 75 64 65 2c 20 6d | 61 6b 65 66 69 6c 65 2c |clude, m|akefile,|
|00001020| 20 73 68 65 6c 6c 20 73 | 63 72 69 70 74 2c 0a 6f | shell s|cript,.o|
|00001030| 72 20 6d 61 6e 75 61 6c | 29 2e 0a 49 74 20 64 65 |r manual|)..It de|
|00001040| 74 65 72 6d 69 6e 65 73 | 20 74 68 65 20 66 69 6c |termines| the fil|
|00001050| 65 20 74 79 70 65 20 62 | 79 20 6c 6f 6f 6b 69 6e |e type b|y lookin|
|00001060| 67 20 61 74 20 74 68 65 | 20 6e 61 6d 65 20 6f 66 |g at the| name of|
|00001070| 20 74 68 65 20 66 69 6c | 65 2e 0a 49 66 20 74 68 | the fil|e..If th|
|00001080| 65 20 6e 61 6d 65 20 6f | 66 20 74 68 65 20 66 69 |e name o|f the fi|
|00001090| 6c 65 20 69 73 20 60 60 | 4d 61 6b 65 66 69 6c 65 |le is ``|Makefile|
|000010a0| 27 27 20 6f 72 20 60 60 | 6d 61 6b 65 66 69 6c 65 |'' or ``|makefile|
|000010b0| 27 27 2c 20 74 68 65 6e | 20 74 68 65 0a 66 69 6c |'', then| the.fil|
|000010c0| 65 20 74 79 70 65 20 69 | 73 20 74 61 6b 65 6e 20 |e type i|s taken |
|000010d0| 74 6f 20 62 65 20 66 6f | 72 20 0a 2e 49 20 6d 61 |to be fo|r ..I ma|
|000010e0| 6b 65 28 31 29 2e 0a 54 | 68 65 20 73 75 66 66 69 |ke(1)..T|he suffi|
|000010f0| 78 20 61 66 74 65 72 20 | 74 68 65 20 6c 61 73 74 |x after |the last|
|00001100| 20 60 60 2e 27 27 20 69 | 6e 20 74 68 65 20 66 69 | ``.'' i|n the fi|
|00001110| 6c 65 20 6e 61 6d 65 20 | 69 73 20 74 68 65 6e 20 |le name |is then |
|00001120| 75 73 65 64 2e 0a 54 68 | 65 20 66 6f 6c 6c 6f 77 |used..Th|e follow|
|00001130| 69 6e 67 20 74 61 62 6c | 65 20 73 68 6f 77 73 20 |ing tabl|e shows |
|00001140| 74 68 65 20 73 75 66 66 | 69 78 65 73 20 74 68 61 |the suff|ixes tha|
|00001150| 74 20 0a 2e 49 20 72 63 | 73 69 74 0a 6b 6e 6f 77 |t ..I rc|sit.know|
|00001160| 73 20 61 62 6f 75 74 3a | 0a 2e 6e 66 0a 2e 73 70 |s about:|..nf..sp|
|00001170| 20 32 0a 2e 69 6e 20 31 | 30 0a 53 75 66 66 69 78 | 2..in 1|0.Suffix|
|00001180| 20 20 20 20 20 20 20 20 | 20 46 69 6c 65 20 54 79 | | File Ty|
|00001190| 70 65 0a 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |pe.-----|--------|
|000011a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000011b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 0a 63 20 20 20 |--------|---.c |
|000011c0| 20 20 20 20 20 20 20 20 | 20 20 20 43 20 50 72 6f | | C Pro|
|000011d0| 67 72 61 6d 0a 68 20 20 | 20 20 20 20 20 20 20 20 |gram.h | |
|000011e0| 20 20 20 20 43 20 49 6e | 63 6c 75 64 65 0a 66 20 | C In|clude.f |
|000011f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 46 6f 72 | | For|
|00001200| 74 72 61 6e 0a 6d 6b 20 | 20 20 20 20 20 20 20 20 |tran.mk | |
|00001210| 20 20 20 20 5c 66 49 4d | 61 6b 65 28 31 29 5c 66 | \fIM|ake(1)\f|
|00001220| 52 20 66 69 6c 65 0a 73 | 68 20 20 20 20 20 20 20 |R file.s|h |
|00001230| 20 20 20 20 20 20 53 68 | 65 6c 6c 20 53 63 72 69 | Sh|ell Scri|
|00001240| 70 74 0a 63 73 68 20 20 | 20 20 20 20 20 20 20 20 |pt.csh | |
|00001250| 20 20 53 68 65 6c 6c 20 | 53 63 72 69 70 74 0a 5b | Shell |Script.[|
|00001260| 31 2d 39 5d 20 20 20 20 | 20 20 20 20 20 20 4d 61 |1-9] | Ma|
|00001270| 6e 75 61 6c 20 28 64 69 | 67 69 74 73 20 31 20 2d |nual (di|gits 1 -|
|00001280| 20 39 29 0a 2e 66 69 0a | 2e 50 50 0a 49 66 20 74 | 9)..fi.|.PP.If t|
|00001290| 68 65 20 65 6e 76 69 72 | 6f 6e 65 6d 65 6e 74 20 |he envir|onement |
|000012a0| 76 61 72 69 61 62 6c 65 | 20 60 60 52 43 53 44 49 |variable| ``RCSDI|
|000012b0| 52 27 27 20 69 73 20 70 | 72 65 73 65 6e 74 2c 20 |R'' is p|resent, |
|000012c0| 74 68 65 6e 20 0a 2e 49 | 20 72 63 73 69 74 0a 77 |then ..I| rcsit.w|
|000012d0| 69 6c 6c 20 61 74 74 65 | 6d 70 74 20 74 6f 20 6d |ill atte|mpt to m|
|000012e0| 61 6b 65 20 61 20 73 79 | 6d 62 6f 6c 69 63 20 6c |ake a sy|mbolic l|
|000012f0| 69 6e 6b 20 66 72 6f 6d | 20 69 74 20 74 6f 20 60 |ink from| it to `|
|00001300| 60 52 43 53 27 27 20 69 | 6e 0a 74 68 65 20 63 75 |`RCS'' i|n.the cu|
|00001310| 72 72 65 6e 74 20 64 69 | 72 65 63 74 6f 72 79 20 |rrent di|rectory |
|00001320| 69 66 20 74 68 65 20 5c | 2d 5c 66 49 49 5c 66 52 |if the \|-\fII\fR|
|00001330| 20 6f 70 74 69 6f 6e 20 | 69 73 20 75 73 65 64 20 | option |is used |
|00001340| 61 6e 64 0a 74 68 65 72 | 65 20 69 73 20 6e 6f 20 |and.ther|e is no |
|00001350| 64 69 72 65 63 74 6f 72 | 79 20 63 61 6c 6c 65 64 |director|y called|
|00001360| 20 60 60 52 43 53 27 27 | 20 61 6c 72 65 61 64 79 | ``RCS''| already|
|00001370| 2c 20 69 6e 20 74 68 65 | 20 63 75 72 72 65 6e 74 |, in the| current|
|00001380| 0a 64 69 72 65 63 74 6f | 72 79 2e 20 20 0a 49 66 |.directo|ry. .If|
|00001390| 20 74 68 65 20 5c 2d 5c | 66 49 49 5c 66 52 20 6f | the \-\|fII\fR o|
|000013a0| 70 74 69 6f 6e 20 69 73 | 20 75 73 65 64 20 61 6e |ption is| used an|
|000013b0| 64 20 60 60 52 43 53 44 | 49 52 27 27 20 69 73 20 |d ``RCSD|IR'' is |
|000013c0| 6e 6f 74 20 73 70 65 63 | 69 66 69 65 64 0a 69 6e |not spec|ified.in|
|000013d0| 20 74 68 65 20 65 6e 76 | 69 72 6f 6e 6d 65 6e 74 | the env|ironment|
|000013e0| 2c 20 74 68 65 6e 20 61 | 20 6e 6f 72 6d 61 6c 20 |, then a| normal |
|000013f0| 64 69 72 65 63 74 6f 72 | 79 20 63 61 6c 6c 65 64 |director|y called|
|00001400| 20 60 60 52 43 53 27 27 | 20 77 69 6c 6c 20 62 65 | ``RCS''| will be|
|00001410| 0a 63 72 65 61 74 65 64 | 2e 0a 54 68 69 73 20 66 |.created|..This f|
|00001420| 65 61 74 75 72 65 20 63 | 61 6e 20 62 65 20 6f 76 |eature c|an be ov|
|00001430| 65 72 72 69 64 65 64 20 | 77 69 74 68 20 74 68 65 |errided |with the|
|00001440| 20 5c 2d 5c 66 49 64 5c | 66 52 20 6f 70 74 69 6f | \-\fId\|fR optio|
|00001450| 6e 2e 0a 2e 53 48 20 4f | 50 54 49 4f 4e 53 0a 2e |n...SH O|PTIONS..|
|00001460| 54 50 20 31 30 0a 2e 42 | 20 22 63 22 0a 46 6f 72 |TP 10..B| "c".For|
|00001470| 63 65 20 66 69 6c 65 20 | 74 79 70 65 20 74 6f 20 |ce file |type to |
|00001480| 62 65 20 60 60 53 74 61 | 6e 64 61 72 64 20 43 27 |be ``Sta|ndard C'|
|00001490| 27 2e 0a 2e 54 50 20 31 | 30 0a 2e 42 20 22 68 22 |'...TP 1|0..B "h"|
|000014a0| 0a 46 6f 72 63 65 20 66 | 69 6c 65 20 74 79 70 65 |.Force f|ile type|
|000014b0| 20 74 6f 20 62 65 20 60 | 60 43 20 49 6e 63 6c 75 | to be `|`C Inclu|
|000014c0| 64 65 27 27 2e 0a 2e 54 | 50 20 31 30 0a 2e 42 20 |de''...T|P 10..B |
|000014d0| 22 66 22 0a 46 6f 72 63 | 65 20 66 69 6c 65 20 74 |"f".Forc|e file t|
|000014e0| 79 70 65 20 74 6f 20 62 | 65 20 60 60 46 6f 72 74 |ype to b|e ``Fort|
|000014f0| 72 61 6e 27 27 2e 0a 2e | 54 50 20 31 30 0a 2e 42 |ran''...|TP 10..B|
|00001500| 20 22 4d 22 0a 46 6f 72 | 63 65 20 66 69 6c 65 20 | "M".For|ce file |
|00001510| 74 79 70 65 20 74 6f 20 | 62 65 20 60 60 4d 61 6e |type to |be ``Man|
|00001520| 75 61 6c 27 27 2e 0a 4e | 6f 74 65 3a 20 49 66 20 |ual''..N|ote: If |
|00001530| 79 6f 75 20 61 6c 73 6f | 20 73 70 65 63 69 66 79 |you also| specify|
|00001540| 20 74 68 65 20 60 60 49 | 5c 66 49 66 6c 61 67 73 | the ``I|\fIflags|
|00001550| 5c 66 52 27 27 20 6f 70 | 74 69 6f 6e 2c 0a 2e 49 |\fR'' op|tion,..I|
|00001560| 20 72 63 73 69 74 0a 77 | 69 6c 6c 20 72 75 6e 20 | rcsit.w|ill run |
|00001570| 0a 2e 49 20 72 63 73 28 | 31 29 0a 74 6f 20 74 65 |..I rcs(|1).to te|
|00001580| 6c 6c 20 72 63 73 20 77 | 68 61 74 20 6b 69 6e 64 |ll rcs w|hat kind|
|00001590| 20 6f 66 20 63 6f 6d 6d | 65 6e 74 20 73 74 72 69 | of comm|ent stri|
|000015a0| 6e 67 20 74 6f 20 75 73 | 65 20 66 6f 72 20 74 68 |ng to us|e for th|
|000015b0| 65 20 6d 61 6e 75 61 6c | 20 66 69 6c 65 2e 0a 2e |e manual| file...|
|000015c0| 54 50 20 31 30 0a 2e 42 | 20 22 73 22 0a 46 6f 72 |TP 10..B| "s".For|
|000015d0| 63 65 20 66 69 6c 65 20 | 74 79 70 65 20 74 6f 20 |ce file |type to |
|000015e0| 62 65 20 60 60 53 68 65 | 6c 6c 20 53 63 72 69 70 |be ``She|ll Scrip|
|000015f0| 74 27 27 2e 0a 2e 54 50 | 20 31 30 0a 2e 42 20 22 |t''...TP| 10..B "|
|00001600| 6d 22 0a 46 6f 72 63 65 | 20 66 69 6c 65 20 74 79 |m".Force| file ty|
|00001610| 70 65 20 74 6f 20 62 65 | 20 60 60 4d 61 6b 65 66 |pe to be| ``Makef|
|00001620| 69 6c 65 27 27 2e 20 20 | 4e 6f 74 65 20 74 68 61 |ile''. |Note tha|
|00001630| 74 20 74 68 69 73 20 64 | 6f 65 73 20 74 68 65 20 |t this d|oes the |
|00001640| 73 61 6d 65 20 74 68 69 | 6e 67 20 61 73 0a 74 68 |same thi|ng as.th|
|00001650| 65 20 2d 73 20 6f 70 74 | 69 6f 6e 20 64 6f 65 73 |e -s opt|ion does|
|00001660| 2e 20 20 49 74 20 6a 75 | 73 74 20 70 72 69 6e 74 |. It ju|st print|
|00001670| 73 20 61 20 64 69 66 66 | 65 72 65 6e 74 20 6d 65 |s a diff|erent me|
|00001680| 73 73 61 67 65 2e 0a 2e | 54 50 20 31 30 0a 2e 42 |ssage...|TP 10..B|
|00001690| 20 22 74 22 0a 44 6f 20 | 6e 6f 74 20 75 73 65 20 | "t".Do |not use |
|000016a0| 61 6e 79 20 54 65 6d 70 | 6c 61 74 65 20 66 69 6c |any Temp|late fil|
|000016b0| 65 73 20 66 6f 72 20 74 | 68 65 20 68 65 61 64 65 |es for t|he heade|
|000016c0| 72 73 2e 0a 2e 54 50 20 | 31 30 0a 2e 42 20 22 71 |rs...TP |10..B "q|
|000016d0| 22 0a 42 65 20 71 75 69 | 65 74 2e 20 20 44 6f 6e |".Be qui|et. Don|
|000016e0| 27 74 20 70 72 69 6e 74 | 20 6f 75 74 20 77 68 61 |'t print| out wha|
|000016f0| 74 20 69 73 20 67 6f 69 | 6e 67 20 6f 6e 2e 20 20 |t is goi|ng on. |
|00001700| 4f 6e 6c 79 20 65 72 72 | 6f 72 20 6d 65 73 73 61 |Only err|or messa|
|00001710| 67 65 73 20 61 72 65 0a | 70 72 69 6e 74 65 64 2e |ges are.|printed.|
|00001720| 0a 2e 54 50 20 31 30 0a | 2e 42 20 22 64 22 0a 44 |..TP 10.|.B "d".D|
|00001730| 6f 20 6e 6f 74 20 61 74 | 74 65 6d 70 74 20 74 6f |o not at|tempt to|
|00001740| 20 6d 61 6b 65 20 74 68 | 65 20 64 69 72 65 63 74 | make th|e direct|
|00001750| 6f 72 79 20 60 60 52 43 | 53 27 27 2e 0a 53 65 65 |ory ``RC|S''..See|
|00001760| 20 61 62 6f 76 65 20 66 | 6f 72 20 6d 6f 72 65 20 | above f|or more |
|00001770| 69 6e 66 6f 2e 0a 2e 54 | 50 20 31 30 0a 2e 42 20 |info...T|P 10..B |
|00001780| 22 61 22 0a 54 75 72 6e | 20 6f 66 66 20 61 75 74 |"a".Turn| off aut|
|00001790| 6f 20 67 75 65 73 73 69 | 6e 67 20 6f 66 20 66 69 |o guessi|ng of fi|
|000017a0| 6c 65 20 74 79 70 65 2e | 0a 2e 54 50 20 31 30 0a |le type.|..TP 10.|
|000017b0| 2e 42 20 22 49 5c 66 49 | 66 6c 61 67 73 5c 66 52 |.B "I\fI|flags\fR|
|000017c0| 22 0a 43 68 65 63 6b 20 | 49 6e 20 66 69 6c 65 2e |".Check |In file.|
|000017d0| 0a 52 75 6e 20 52 43 53 | 27 73 20 0a 2e 49 20 63 |.Run RCS|'s ..I c|
|000017e0| 69 28 31 29 0a 6f 6e 20 | 74 68 65 20 66 69 6c 65 |i(1).on |the file|
|000017f0| 20 77 69 74 68 20 60 60 | 66 6c 61 67 73 27 27 20 | with ``|flags'' |
|00001800| 62 65 69 6e 67 20 70 61 | 73 73 65 64 20 6f 6e 74 |being pa|ssed ont|
|00001810| 6f 20 0a 2e 49 20 63 69 | 28 31 29 20 0a 61 73 20 |o ..I ci|(1) .as |
|00001820| 74 68 65 20 63 6f 6d 6d | 61 6e 64 20 6c 69 6e 65 |the comm|and line|
|00001830| 20 61 72 67 75 6d 65 6e | 74 73 2e 0a 2e 54 50 20 | argumen|ts...TP |
|00001840| 31 30 0a 2e 42 20 22 52 | 5c 66 49 66 6c 61 67 73 |10..B "R|\fIflags|
|00001850| 5c 66 52 22 0a 52 75 6e | 20 0a 2e 49 20 72 63 73 |\fR".Run| ..I rcs|
|00001860| 28 31 29 0a 77 69 74 68 | 20 60 60 66 6c 61 67 73 |(1).with| ``flags|
|00001870| 27 27 20 61 73 20 74 68 | 65 20 63 6f 6d 6d 61 6e |'' as th|e comman|
|00001880| 64 20 6c 69 6e 65 20 61 | 72 67 75 6d 65 6e 74 73 |d line a|rguments|
|00001890| 2e 0a 2e 53 48 20 46 49 | 4c 45 53 0a 2f 74 6d 70 |...SH FI|LES./tmp|
|000018a0| 2f 72 63 73 69 74 2a 09 | 2d 20 74 65 6d 70 6f 72 |/rcsit*.|- tempor|
|000018b0| 61 72 79 20 62 75 66 66 | 65 72 0a 2e 62 72 0a 7e |ary buff|er..br.~|
|000018c0| 2f 2e 74 65 6d 70 6c 61 | 74 65 2e 2a 20 20 20 2d |/.templa|te.* -|
|000018d0| 20 74 65 6d 70 6c 61 74 | 65 20 66 69 6c 65 73 20 | templat|e files |
|000018e0| 74 6f 20 75 73 65 20 61 | 73 20 74 68 65 20 68 65 |to use a|s the he|
|000018f0| 61 64 65 72 2e 0a 2e 62 | 72 0a 2e 53 48 20 41 55 |ader...b|r..SH AU|
|00001900| 54 48 4f 52 0a 4d 69 63 | 68 61 65 6c 20 43 6f 6f |THOR.Mic|hael Coo|
|00001910| 70 65 72 20 28 6d 63 6f | 6f 70 65 72 40 75 73 63 |per (mco|oper@usc|
|00001920| 2d 6f 62 65 72 6f 6e 2e | 41 52 50 41 29 0a 2e 53 |-oberon.|ARPA)..S|
|00001930| 48 20 53 45 45 20 41 4c | 53 4f 0a 63 69 28 31 29 |H SEE AL|SO.ci(1)|
|00001940| 2c 20 6d 61 6b 65 28 31 | 29 2c 20 72 63 73 28 31 |, make(1|), rcs(1|
|00001950| 29 0a 2e 53 48 20 44 49 | 41 47 4e 4f 53 54 49 43 |)..SH DI|AGNOSTIC|
|00001960| 53 0a 43 6f 6d 70 6c 61 | 69 6e 73 20 61 62 6f 75 |S.Compla|ins abou|
|00001970| 74 20 74 68 65 20 75 73 | 75 61 6c 20 73 74 75 66 |t the us|ual stuf|
|00001980| 66 2e 20 20 28 69 2e 65 | 2e 20 2d 20 74 68 65 20 |f. (i.e|. - the |
|00001990| 73 70 65 63 69 66 69 65 | 64 20 66 69 6c 65 20 64 |specifie|d file d|
|000019a0| 6f 65 73 6e 27 74 20 65 | 78 69 73 74 2c 0a 6f 72 |oesn't e|xist,.or|
|000019b0| 20 69 74 20 63 61 6e 27 | 74 20 72 65 61 64 20 69 | it can'|t read i|
|000019c0| 74 2e 2e 2e 6a 75 73 74 | 20 74 68 69 6e 67 73 20 |t...just| things |
|000019d0| 6c 69 6b 65 20 74 68 61 | 74 2e 29 0a 2e 53 48 20 |like tha|t.)..SH |
|000019e0| 42 55 47 53 0a 41 63 74 | 73 20 6f 64 64 6c 79 20 |BUGS.Act|s oddly |
|000019f0| 69 6e 20 74 68 65 20 70 | 72 65 73 65 6e 63 65 20 |in the p|resence |
|00001a00| 6f 66 20 62 65 61 75 74 | 69 66 75 6c 20 77 6f 6d |of beaut|iful wom|
|00001a10| 65 6e 2e 0a 53 48 41 52 | 5f 45 4f 46 0a 69 66 20 |en..SHAR|_EOF.if |
|00001a20| 74 65 73 74 20 2d 66 20 | 27 4d 61 6b 65 66 69 6c |test -f |'Makefil|
|00001a30| 65 27 0a 74 68 65 6e 0a | 09 65 63 68 6f 20 73 68 |e'.then.|.echo sh|
|00001a40| 61 72 3a 20 6f 76 65 72 | 2d 77 72 69 74 69 6e 67 |ar: over|-writing|
|00001a50| 20 65 78 69 73 74 69 6e | 67 20 66 69 6c 65 20 22 | existin|g file "|
|00001a60| 27 4d 61 6b 65 66 69 6c | 65 27 22 0a 66 69 0a 63 |'Makefil|e'".fi.c|
|00001a70| 61 74 20 3c 3c 20 5c 53 | 48 41 52 5f 45 4f 46 20 |at << \S|HAR_EOF |
|00001a80| 3e 20 27 4d 61 6b 65 66 | 69 6c 65 27 0a 23 0a 23 |> 'Makef|ile'.#.#|
|00001a90| 20 24 48 65 61 64 65 72 | 3a 20 4d 61 6b 65 66 69 | $Header|: Makefi|
|00001aa0| 6c 65 2c 76 20 31 2e 31 | 20 38 35 2f 30 39 2f 31 |le,v 1.1| 85/09/1|
|00001ab0| 39 20 31 33 3a 32 34 3a | 32 37 20 6d 63 6f 6f 70 |9 13:24:|27 mcoop|
|00001ac0| 65 72 20 45 78 70 20 24 | 0a 23 0a 23 20 24 4c 6f |er Exp $|.#.# $Lo|
|00001ad0| 67 3a 09 4d 61 6b 65 66 | 69 6c 65 2c 76 20 24 0a |g:.Makef|ile,v $.|
|00001ae0| 23 20 52 65 76 69 73 69 | 6f 6e 20 31 2e 31 20 20 |# Revisi|on 1.1 |
|00001af0| 38 35 2f 30 39 2f 31 39 | 20 20 31 33 3a 32 34 3a |85/09/19| 13:24:|
|00001b00| 32 37 20 20 6d 63 6f 6f | 70 65 72 0a 23 20 49 6e |27 mcoo|per.# In|
|00001b10| 69 74 69 61 6c 20 72 65 | 76 69 73 69 6f 6e 0a 23 |itial re|vision.#|
|00001b20| 20 0a 23 0a 23 0a 23 20 | 4d 61 6b 65 66 69 6c 65 | .#.#.# |Makefile|
|00001b30| 20 66 6f 72 20 72 63 73 | 69 74 2e 63 0a 23 0a 42 | for rcs|it.c.#.B|
|00001b40| 49 4e 20 3d 20 2f 75 2f | 6d 63 6f 6f 70 65 72 2f |IN = /u/|mcooper/|
|00001b50| 62 69 6e 0a 4d 41 4e 20 | 3d 20 2f 75 2f 6d 63 6f |bin.MAN |= /u/mco|
|00001b60| 6f 70 65 72 2f 75 73 72 | 2f 6d 61 6e 2f 6d 61 6e |oper/usr|/man/man|
|00001b70| 6c 2f 6d 61 6e 31 0a 0a | 72 63 73 69 74 3a 20 72 |l/man1..|rcsit: r|
|00001b80| 63 73 69 74 2e 63 0a 09 | 63 63 20 2d 4f 20 2d 73 |csit.c..|cc -O -s|
|00001b90| 20 2d 6f 20 72 63 73 69 | 74 20 72 63 73 69 74 2e | -o rcsi|t rcsit.|
|00001ba0| 63 0a 0a 64 62 78 3a 20 | 72 63 73 69 74 2e 63 0a |c..dbx: |rcsit.c.|
|00001bb0| 09 63 63 20 2d 67 20 72 | 63 73 69 74 2e 63 0a 0a |.cc -g r|csit.c..|
|00001bc0| 64 65 62 75 67 3a 20 72 | 63 73 69 74 2e 63 0a 09 |debug: r|csit.c..|
|00001bd0| 63 63 20 2d 67 20 2d 44 | 44 45 42 55 47 20 72 63 |cc -g -D|DEBUG rc|
|00001be0| 73 69 74 2e 63 0a 0a 6d | 61 6e 3a 20 72 63 73 69 |sit.c..m|an: rcsi|
|00001bf0| 74 2e 31 0a 09 6e 72 6f | 66 66 20 2d 6d 61 6e 20 |t.1..nro|ff -man |
|00001c00| 72 63 73 69 74 2e 31 20 | 3e 20 72 63 73 69 74 2e |rcsit.1 |> rcsit.|
|00001c10| 6d 61 6e 0a 0a 69 6e 73 | 74 61 6c 6c 3a 20 72 63 |man..ins|tall: rc|
|00001c20| 73 69 74 20 72 63 73 69 | 74 2e 31 0a 09 6d 76 20 |sit rcsi|t.1..mv |
|00001c30| 72 63 73 69 74 20 24 28 | 42 49 4e 29 0a 09 63 70 |rcsit $(|BIN)..cp|
|00001c40| 20 72 63 73 69 74 2e 31 | 20 24 28 4d 41 4e 29 0a | rcsit.1| $(MAN).|
|00001c50| 53 48 41 52 5f 45 4f 46 | 0a 69 66 20 74 65 73 74 |SHAR_EOF|.if test|
|00001c60| 20 2d 66 20 27 72 63 73 | 69 74 2e 63 27 0a 74 68 | -f 'rcs|it.c'.th|
|00001c70| 65 6e 0a 09 65 63 68 6f | 20 73 68 61 72 3a 20 6f |en..echo| shar: o|
|00001c80| 76 65 72 2d 77 72 69 74 | 69 6e 67 20 65 78 69 73 |ver-writ|ing exis|
|00001c90| 74 69 6e 67 20 66 69 6c | 65 20 22 27 72 63 73 69 |ting fil|e "'rcsi|
|00001ca0| 74 2e 63 27 22 0a 66 69 | 0a 63 61 74 20 3c 3c 20 |t.c'".fi|.cat << |
|00001cb0| 5c 53 48 41 52 5f 45 4f | 46 20 3e 20 27 72 63 73 |\SHAR_EO|F > 'rcs|
|00001cc0| 69 74 2e 63 27 0a 2f 2a | 0a 20 2a 20 24 48 65 61 |it.c'./*|. * $Hea|
|00001cd0| 64 65 72 3a 20 72 63 73 | 69 74 2e 63 2c 76 20 31 |der: rcs|it.c,v 1|
|00001ce0| 2e 31 38 20 38 35 2f 31 | 31 2f 32 36 20 31 37 3a |.18 85/1|1/26 17:|
|00001cf0| 30 33 3a 33 32 20 6d 63 | 6f 6f 70 65 72 20 45 78 |03:32 mc|ooper Ex|
|00001d00| 70 20 24 0a 20 2a 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |p $. *--|--------|
|00001d10| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001d20| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001d30| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 0a |--------|-------.|
|00001d40| 20 2a 20 24 53 6f 75 72 | 63 65 3a 20 2f 75 2f 6d | * $Sour|ce: /u/m|
|00001d50| 63 6f 6f 70 65 72 2f 73 | 72 63 2f 72 63 73 69 74 |cooper/s|rc/rcsit|
|00001d60| 2f 52 43 53 2f 72 63 73 | 69 74 2e 63 2c 76 20 24 |/RCS/rcs|it.c,v $|
|00001d70| 0a 20 2a 20 24 52 65 76 | 69 73 69 6f 6e 3a 20 31 |. * $Rev|ision: 1|
|00001d80| 2e 31 38 20 24 0a 20 2a | 20 24 44 61 74 65 3a 20 |.18 $. *| $Date: |
|00001d90| 38 35 2f 31 31 2f 32 36 | 20 31 37 3a 30 33 3a 33 |85/11/26| 17:03:3|
|00001da0| 32 20 24 0a 20 2a 20 24 | 53 74 61 74 65 3a 20 45 |2 $. * $|State: E|
|00001db0| 78 70 20 24 0a 20 2a 20 | 24 41 75 74 68 6f 72 3a |xp $. * |$Author:|
|00001dc0| 20 6d 63 6f 6f 70 65 72 | 20 24 0a 20 2a 20 24 4c | mcooper| $. * $L|
|00001dd0| 6f 63 6b 65 72 3a 20 6d | 63 6f 6f 70 65 72 20 24 |ocker: m|cooper $|
|00001de0| 0a 20 2a 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |. *-----|--------|
|00001df0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001e00| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001e10| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 0a 20 2a 20 |--------|----. * |
|00001e20| 4d 69 63 68 61 65 6c 20 | 43 6f 6f 70 65 72 20 28 |Michael |Cooper (|
|00001e30| 6d 63 6f 6f 70 65 72 40 | 75 73 63 2d 6f 62 65 72 |mcooper@|usc-ober|
|00001e40| 6f 6e 2e 61 72 70 61 29 | 0a 20 2a 20 55 6e 69 76 |on.arpa)|. * Univ|
|00001e50| 65 72 73 69 74 79 20 6f | 66 20 53 6f 75 74 68 65 |ersity o|f Southe|
|00001e60| 72 6e 20 43 61 6c 69 66 | 6f 72 6e 69 61 2c 0a 20 |rn Calif|ornia,. |
|00001e70| 2a 20 55 6e 69 76 65 72 | 73 69 74 79 20 43 6f 6d |* Univer|sity Com|
|00001e80| 70 75 74 69 6e 67 20 53 | 65 72 76 69 63 65 73 2c |puting S|ervices,|
|00001e90| 0a 20 2a 20 4c 6f 73 20 | 41 6e 67 65 6c 65 73 2c |. * Los |Angeles,|
|00001ea0| 20 43 61 6c 69 66 6f 72 | 6e 69 61 2c 20 20 20 39 | Califor|nia, 9|
|00001eb0| 30 30 38 39 2d 30 32 35 | 31 0a 20 2a 20 28 32 31 |0089-025|1. * (21|
|00001ec0| 33 29 20 37 34 33 2d 33 | 34 36 39 0a 20 2a 2d 2d |3) 743-3|469. *--|
|00001ed0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001ee0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001ef0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001f00| 2d 2d 2d 2d 2d 2d 2d 0a | 20 2a 0a 20 2a 20 24 4c |-------.| *. * $L|
|00001f10| 6f 67 3a 09 72 63 73 69 | 74 2e 63 2c 76 20 24 0a |og:.rcsi|t.c,v $.|
|00001f20| 20 2a 20 52 65 76 69 73 | 69 6f 6e 20 31 2e 31 38 | * Revis|ion 1.18|
|00001f30| 20 20 38 35 2f 31 31 2f | 32 36 20 20 31 37 3a 30 | 85/11/|26 17:0|
|00001f40| 33 3a 33 32 20 20 6d 63 | 6f 6f 70 65 72 0a 20 2a |3:32 mc|ooper. *|
|00001f50| 20 43 68 61 6e 67 65 20 | 6d 65 73 73 61 67 65 20 | Change |message |
|00001f60| 74 65 6c 6c 69 6e 67 20 | 6f 66 20 77 68 61 74 20 |telling |of what |
|00001f70| 68 65 61 64 65 72 20 77 | 61 73 20 61 64 64 65 64 |header w|as added|
|00001f80| 2e 0a 20 2a 20 0a 20 2a | 20 52 65 76 69 73 69 6f |.. * . *| Revisio|
|00001f90| 6e 20 31 2e 31 37 20 20 | 38 35 2f 31 31 2f 32 36 |n 1.17 |85/11/26|
|00001fa0| 20 20 31 36 3a 34 30 3a | 35 35 20 20 6d 63 6f 6f | 16:40:|55 mcoo|
|00001fb0| 70 65 72 0a 20 2a 20 43 | 68 61 6e 67 65 64 20 74 |per. * C|hanged t|
|00001fc0| 68 65 20 64 65 66 61 75 | 6c 74 20 2d 74 20 6f 70 |he defau|lt -t op|
|00001fd0| 74 69 6f 6e 20 74 6f 20 | 46 41 4c 53 45 2e 0a 20 |tion to |FALSE.. |
|00001fe0| 2a 20 41 64 64 65 64 20 | 73 70 65 63 69 66 79 69 |* Added |specifyi|
|00001ff0| 6e 67 20 64 69 72 65 63 | 74 6f 72 79 20 74 6f 20 |ng direc|tory to |
|00002000| 6c 6f 6f 6b 20 66 6f 72 | 20 2e 74 65 6d 70 6c 61 |look for| .templa|
|00002010| 74 65 2e 2a 0a 20 2a 20 | 66 69 6c 65 73 20 69 6e |te.*. * |files in|
|00002020| 20 76 69 61 20 2d 74 64 | 69 72 65 63 74 6f 72 79 | via -td|irectory|
|00002030| 2e 0a 20 2a 20 0a 20 2a | 20 52 65 76 69 73 69 6f |.. * . *| Revisio|
|00002040| 6e 20 31 2e 31 36 20 20 | 38 35 2f 31 31 2f 31 31 |n 1.16 |85/11/11|
|00002050| 20 20 32 31 3a 33 35 3a | 33 34 20 20 6d 63 6f 6f | 21:35:|34 mcoo|
|00002060| 70 65 72 0a 20 2a 20 41 | 64 64 65 64 20 63 61 6c |per. * A|dded cal|
|00002070| 6c 20 74 6f 20 61 63 63 | 65 73 73 28 29 20 74 6f |l to acc|ess() to|
|00002080| 20 73 65 65 20 69 66 20 | 74 68 65 20 66 69 6c 65 | see if |the file|
|00002090| 0a 20 2a 20 63 6f 75 6c | 64 20 62 65 20 72 65 61 |. * coul|d be rea|
|000020a0| 64 2e 0a 20 2a 20 0a 20 | 2a 20 52 65 76 69 73 69 |d.. * . |* Revisi|
|000020b0| 6f 6e 20 31 2e 31 35 20 | 20 38 35 2f 31 31 2f 31 |on 1.15 | 85/11/1|
|000020c0| 31 20 20 32 31 3a 32 32 | 3a 33 33 20 20 6d 63 6f |1 21:22|:33 mco|
|000020d0| 6f 70 65 72 0a 20 2a 20 | 43 68 61 6e 67 65 64 20 |oper. * |Changed |
|000020e0| 63 6f 6d 6d 65 6e 74 20 | 63 68 61 72 20 66 6f 72 |comment |char for|
|000020f0| 20 66 6f 72 74 72 61 6e | 20 66 69 6c 65 73 0a 20 | fortran| files. |
|00002100| 2a 20 66 72 6f 6d 20 22 | 2a 22 20 74 6f 20 22 63 |* from "|*" to "c|
|00002110| 22 2e 20 20 54 68 69 73 | 20 69 73 20 77 68 61 74 |". This| is what|
|00002120| 20 52 43 53 20 75 73 65 | 73 2e 0a 20 2a 20 0a 20 | RCS use|s.. * . |
|00002130| 2a 20 52 65 76 69 73 69 | 6f 6e 20 31 2e 31 34 20 |* Revisi|on 1.14 |
|00002140| 20 38 35 2f 31 31 2f 31 | 31 20 20 32 30 3a 30 38 | 85/11/1|1 20:08|
|00002150| 3a 34 33 20 20 6d 63 6f | 6f 70 65 72 0a 20 2a 20 |:43 mco|oper. * |
|00002160| 41 64 64 65 64 20 64 65 | 73 63 72 69 70 74 69 6f |Added de|scriptio|
|00002170| 6e 73 20 66 6f 72 20 66 | 6f 72 74 72 61 6e 20 28 |ns for f|ortran (|
|00002180| 2e 66 29 20 66 69 6c 65 | 73 2e 0a 20 2a 20 0a 20 |.f) file|s.. * . |
|00002190| 2a 20 52 65 76 69 73 69 | 6f 6e 20 31 2e 31 33 20 |* Revisi|on 1.13 |
|000021a0| 20 38 35 2f 31 31 2f 31 | 31 20 20 31 39 3a 35 32 | 85/11/1|1 19:52|
|000021b0| 3a 31 37 20 20 6d 63 6f | 6f 70 65 72 0a 20 2a 20 |:17 mco|oper. * |
|000021c0| 4d 6f 64 69 66 69 65 64 | 20 64 65 66 61 75 6c 74 |Modified| default|
|000021d0| 20 68 65 61 64 65 72 20 | 74 65 6d 70 6c 61 74 65 | header |template|
|000021e0| 73 20 74 6f 20 6e 6f 74 | 20 62 6f 74 68 65 72 20 |s to not| bother |
|000021f0| 73 70 65 63 69 66 79 69 | 6e 67 0a 20 2a 20 74 68 |specifyi|ng. * th|
|00002200| 65 20 52 43 53 20 66 69 | 6c 65 20 6e 61 6d 65 20 |e RCS fi|le name |
|00002210| 6f 66 20 74 68 65 20 66 | 69 6c 65 2e 20 20 63 6f |of the f|ile. co|
|00002220| 28 31 29 20 77 6f 72 72 | 69 65 73 20 61 62 6f 75 |(1) worr|ies abou|
|00002230| 74 20 69 74 2e 0a 20 2a | 20 0a 20 2a 20 52 65 76 |t it.. *| . * Rev|
|00002240| 69 73 69 6f 6e 20 31 2e | 31 32 20 20 38 35 2f 31 |ision 1.|12 85/1|
|00002250| 30 2f 32 37 20 20 31 39 | 3a 31 30 3a 30 37 20 20 |0/27 19|:10:07 |
|00002260| 6d 63 6f 6f 70 65 72 0a | 20 2a 20 46 69 78 65 64 |mcooper.| * Fixed|
|00002270| 20 62 75 67 20 74 68 61 | 74 20 77 6f 75 6c 64 20 | bug tha|t would |
|00002280| 6e 6f 74 20 75 73 65 20 | 74 65 6d 70 6c 61 74 65 |not use |template|
|00002290| 20 66 69 6c 65 73 20 69 | 66 20 61 20 66 69 6c 65 | files i|f a file|
|000022a0| 0a 20 2a 20 74 79 70 65 | 20 77 61 73 20 66 6f 72 |. * type| was for|
|000022b0| 63 65 64 20 77 69 74 68 | 20 2d 63 2c 20 2d 68 2c |ced with| -c, -h,|
|000022c0| 20 65 74 63 2e 0a 20 2a | 20 0a 20 2a 20 52 65 76 | etc.. *| . * Rev|
|000022d0| 69 73 69 6f 6e 20 31 2e | 31 31 20 20 38 35 2f 31 |ision 1.|11 85/1|
|000022e0| 30 2f 32 37 20 20 31 38 | 3a 34 38 3a 32 37 20 20 |0/27 18|:48:27 |
|000022f0| 6d 63 6f 6f 70 65 72 0a | 20 2a 20 45 78 74 65 6e |mcooper.| * Exten|
|00002300| 64 65 64 20 74 65 6d 70 | 6c 61 74 65 20 66 69 6c |ded temp|late fil|
|00002310| 65 2e 20 20 59 6f 75 20 | 63 61 6e 20 6e 6f 77 20 |e. You |can now |
|00002320| 68 61 76 65 20 74 65 6d | 70 6c 61 74 65 0a 20 2a |have tem|plate. *|
|00002330| 20 66 69 6c 65 73 20 64 | 65 73 63 72 69 62 69 6e | files d|escribin|
|00002340| 67 20 61 6c 6c 20 74 68 | 65 20 74 79 70 65 73 20 |g all th|e types |
|00002350| 6f 66 20 66 69 6c 65 73 | 20 74 68 61 74 0a 20 2a |of files| that. *|
|00002360| 20 72 63 73 69 74 20 22 | 6b 6e 6f 77 73 22 20 61 | rcsit "|knows" a|
|00002370| 62 6f 75 74 2e 20 20 54 | 68 65 20 66 69 6c 65 20 |bout. T|he file |
|00002380| 24 48 4f 4d 45 2f 2e 74 | 65 6d 70 6c 61 74 65 2e |$HOME/.t|emplate.|
|00002390| 2a 0a 20 2a 20 28 77 68 | 65 72 65 20 60 60 2a 27 |*. * (wh|ere ``*'|
|000023a0| 27 20 69 73 20 61 20 60 | 60 2e 27 27 20 73 75 66 |' is a `|`.'' suf|
|000023b0| 66 69 78 20 72 63 73 69 | 74 20 63 61 6e 20 67 75 |fix rcsi|t can gu|
|000023c0| 65 73 73 20 61 74 20 6f | 72 0a 20 2a 20 74 68 65 |ess at o|r. * the|
|000023d0| 20 74 79 70 65 20 6f 66 | 20 66 69 6c 65 20 74 68 | type of| file th|
|000023e0| 61 74 20 69 73 20 73 70 | 65 63 69 66 69 65 64 20 |at is sp|ecified |
|000023f0| 77 69 74 68 20 61 6e 20 | 6f 76 65 72 72 69 64 65 |with an |override|
|00002400| 29 0a 20 2a 20 69 73 20 | 63 68 65 63 6b 65 64 20 |). * is |checked |
|00002410| 66 6f 72 20 65 78 69 73 | 74 61 6e 63 65 2e 20 20 |for exis|tance. |
|00002420| 49 66 20 6e 6f 74 20 70 | 72 65 73 65 6e 74 2c 20 |If not p|resent, |
|00002430| 74 68 65 20 64 65 66 61 | 75 6c 74 0a 20 2a 20 68 |the defa|ult. * h|
|00002440| 65 61 64 65 72 20 28 62 | 75 69 6c 74 20 69 6e 74 |eader (b|uilt int|
|00002450| 6f 20 72 63 73 69 74 29 | 20 77 69 6c 6c 20 62 65 |o rcsit)| will be|
|00002460| 20 75 73 65 64 2e 0a 20 | 2a 20 0a 20 2a 20 52 65 | used.. |* . * Re|
|00002470| 76 69 73 69 6f 6e 20 31 | 2e 31 30 20 20 38 35 2f |vision 1|.10 85/|
|00002480| 31 30 2f 32 37 20 20 31 | 36 3a 31 35 3a 35 33 20 |10/27 1|6:15:53 |
|00002490| 20 6d 63 6f 6f 70 65 72 | 0a 20 2a 20 41 64 64 65 | mcooper|. * Adde|
|000024a0| 64 20 70 72 69 6e 74 69 | 6e 67 20 6f 66 20 77 68 |d printi|ng of wh|
|000024b0| 61 74 20 72 63 73 69 74 | 20 69 73 20 64 6f 69 6e |at rcsit| is doin|
|000024c0| 67 20 69 66 20 74 66 6c | 61 67 20 69 73 0a 20 2a |g if tfl|ag is. *|
|000024d0| 20 74 72 75 65 2e 20 20 | 41 6c 73 6f 20 61 64 64 | true. |Also add|
|000024e0| 65 64 20 6e 65 77 20 68 | 65 61 64 65 72 73 2e 0a |ed new h|eaders..|
|000024f0| 20 2a 20 0a 20 2a 20 52 | 65 76 69 73 69 6f 6e 20 | * . * R|evision |
|00002500| 31 2e 39 20 20 38 35 2f | 31 30 2f 32 37 20 20 31 |1.9 85/|10/27 1|
|00002510| 34 3a 34 37 3a 33 39 20 | 20 6d 63 6f 6f 70 65 72 |4:47:39 | mcooper|
|00002520| 0a 20 2a 20 41 64 64 65 | 64 20 6e 65 77 20 74 65 |. * Adde|d new te|
|00002530| 6d 70 6c 61 74 65 20 66 | 65 61 74 75 72 65 2e 20 |mplate f|eature. |
|00002540| 20 49 66 20 74 68 65 20 | 66 69 6c 65 0a 20 2a 20 | If the |file. * |
|00002550| 2e 74 65 6d 70 6c 61 74 | 65 20 65 78 69 73 74 73 |.templat|e exists|
|00002560| 20 69 6e 20 74 68 65 20 | 75 73 65 72 73 20 48 4f | in the |users HO|
|00002570| 4d 45 20 64 69 72 65 63 | 74 6f 72 79 2c 0a 20 2a |ME direc|tory,. *|
|00002580| 20 74 68 65 6e 20 74 68 | 61 74 20 66 69 6c 65 20 | then th|at file |
|00002590| 69 73 20 75 73 65 64 20 | 61 73 20 74 68 65 20 68 |is used |as the h|
|000025a0| 65 61 64 65 72 20 66 69 | 6c 65 20 69 6e 73 74 65 |eader fi|le inste|
|000025b0| 61 64 0a 20 2a 20 6f 66 | 20 74 68 65 20 64 65 66 |ad. * of| the def|
|000025c0| 61 75 6c 74 73 20 66 6f | 72 20 65 61 63 68 20 74 |aults fo|r each t|
|000025d0| 79 70 65 20 6f 66 20 66 | 69 6c 65 2e 20 20 54 68 |ype of f|ile. Th|
|000025e0| 69 73 20 63 61 6e 0a 20 | 2a 20 62 65 20 64 69 73 |is can. |* be dis|
|000025f0| 61 62 6c 65 64 20 77 69 | 74 68 20 74 68 65 20 2d |abled wi|th the -|
|00002600| 74 20 6f 70 74 69 6f 6e | 20 69 6e 20 63 61 73 65 |t option| in case|
|00002610| 20 74 68 65 20 66 69 6c | 65 0a 20 2a 20 69 73 20 | the fil|e. * is |
|00002620| 73 61 79 20 61 20 73 68 | 65 6c 6c 20 73 63 72 69 |say a sh|ell scri|
|00002630| 70 74 2e 20 20 57 69 74 | 68 20 74 68 65 20 74 65 |pt. Wit|h the te|
|00002640| 6d 70 6c 61 74 65 20 66 | 65 61 74 75 72 65 0a 20 |mplate f|eature. |
|00002650| 2a 20 74 75 72 6e 65 64 | 20 6f 66 66 2c 20 74 68 |* turned| off, th|
|00002660| 65 20 61 75 74 6f 20 67 | 75 65 73 73 69 6e 67 20 |e auto g|uessing |
|00002670| 69 73 20 72 65 2d 69 6e | 61 62 6c 65 64 2e 0a 20 |is re-in|abled.. |
|00002680| 2a 20 41 6c 73 6f 2c 20 | 72 63 73 69 74 20 6e 6f |* Also, |rcsit no|
|00002690| 77 20 72 65 6d 6f 76 65 | 73 20 69 74 73 20 74 65 |w remove|s its te|
|000026a0| 6d 70 6f 72 61 72 79 20 | 66 69 6c 65 73 2e 0a 20 |mporary |files.. |
|000026b0| 2a 20 0a 20 2a 20 52 65 | 76 69 73 69 6f 6e 20 31 |* . * Re|vision 1|
|000026c0| 2e 38 20 20 38 35 2f 30 | 39 2f 32 38 20 20 31 34 |.8 85/0|9/28 14|
|000026d0| 3a 31 31 3a 34 35 20 20 | 6d 63 6f 6f 70 65 72 0a |:11:45 |mcooper.|
|000026e0| 20 2a 20 41 64 64 65 64 | 20 66 65 61 74 75 72 65 | * Added| feature|
|000026f0| 3a 20 69 66 20 74 68 65 | 20 65 6e 76 69 72 6f 6e |: if the| environ|
|00002700| 6d 65 6e 74 20 76 61 72 | 69 61 62 6c 65 20 52 43 |ment var|iable RC|
|00002710| 53 44 49 52 20 69 73 0a | 20 2a 20 70 72 65 73 65 |SDIR is.| * prese|
|00002720| 6e 74 2c 20 72 63 73 69 | 74 20 77 69 6c 6c 20 61 |nt, rcsi|t will a|
|00002730| 74 74 65 6d 70 74 20 74 | 6f 20 6d 61 6b 65 20 61 |ttempt t|o make a|
|00002740| 20 73 79 6d 62 6f 6c 69 | 63 0a 20 2a 20 6c 69 6e | symboli|c. * lin|
|00002750| 6b 20 74 6f 20 74 68 65 | 20 64 69 72 65 63 74 6f |k to the| directo|
|00002760| 72 79 20 77 68 65 6e 20 | 74 68 65 20 2d 49 20 66 |ry when |the -I f|
|00002770| 6c 61 67 20 69 73 20 75 | 73 65 64 2e 0a 20 2a 20 |lag is u|sed.. * |
|00002780| 54 68 69 73 20 69 73 20 | 64 6f 6e 65 20 6f 6e 6c |This is |done onl|
|00002790| 79 20 77 68 65 6e 20 2d | 49 20 69 73 20 73 70 65 |y when -|I is spe|
|000027a0| 63 69 66 69 65 64 20 41 | 4e 44 20 74 68 65 20 0a |cified A|ND the .|
|000027b0| 20 2a 20 64 69 72 65 63 | 74 6f 72 79 20 52 43 53 | * direc|tory RCS|
|000027c0| 20 69 73 20 6e 6f 74 20 | 70 72 65 73 65 6e 74 2e | is not |present.|
|000027d0| 20 20 59 6f 75 20 6d 61 | 79 20 64 69 73 61 62 6c | You ma|y disabl|
|000027e0| 65 20 74 68 69 73 0a 20 | 2a 20 66 65 61 74 75 72 |e this. |* featur|
|000027f0| 65 20 77 69 74 68 20 74 | 68 65 20 2d 64 20 6f 70 |e with t|he -d op|
|00002800| 74 69 6f 6e 2e 20 20 4e | 6f 74 65 20 61 6c 73 6f |tion. N|ote also|
|00002810| 20 74 68 61 74 20 69 66 | 20 52 43 53 44 49 52 0a | that if| RCSDIR.|
|00002820| 20 2a 20 69 73 20 6e 6f | 74 20 69 6e 20 74 68 65 | * is no|t in the|
|00002830| 20 65 6e 76 69 72 6f 6e | 6d 65 6e 74 20 61 6e 64 | environ|ment and|
|00002840| 20 74 68 65 20 61 62 6f | 76 65 20 63 6f 6e 64 69 | the abo|ve condi|
|00002850| 74 69 6f 6e 73 0a 20 2a | 20 61 72 65 20 74 72 75 |tions. *| are tru|
|00002860| 65 2c 20 74 68 61 74 20 | 61 20 6e 6f 72 6d 61 6c |e, that |a normal|
|00002870| 20 64 69 72 65 63 74 6f | 72 79 20 63 61 6c 6c 65 | directo|ry calle|
|00002880| 64 20 52 43 53 20 77 69 | 6c 6c 0a 20 2a 20 62 65 |d RCS wi|ll. * be|
|00002890| 20 63 72 65 61 74 65 64 | 2e 0a 20 2a 20 0a 20 2a | created|.. * . *|
|000028a0| 20 52 65 76 69 73 69 6f | 6e 20 31 2e 37 20 20 38 | Revisio|n 1.7 8|
|000028b0| 35 2f 30 39 2f 31 39 20 | 20 31 35 3a 35 39 3a 35 |5/09/19 | 15:59:5|
|000028c0| 33 20 20 6d 63 6f 6f 70 | 65 72 0a 20 2a 20 4b 6c |3 mcoop|er. * Kl|
|000028d0| 75 64 67 65 20 70 61 72 | 74 20 32 20 2d 2d 20 49 |udge par|t 2 -- I|
|000028e0| 66 20 79 6f 75 20 73 70 | 65 63 69 66 79 20 61 20 |f you sp|ecify a |
|000028f0| 63 69 20 2d 6c 20 6f 66 | 20 61 0a 20 2a 20 6d 61 |ci -l of| a. * ma|
|00002900| 6e 20 66 69 6c 65 2c 20 | 74 68 65 6e 20 74 68 65 |n file, |then the|
|00002910| 20 68 65 61 64 65 72 20 | 69 73 20 6d 65 73 73 65 | header |is messe|
|00002920| 64 20 75 70 2e 20 0a 20 | 2a 20 46 69 78 3a 20 41 |d up. . |* Fix: A|
|00002930| 66 74 65 72 20 69 6e 69 | 74 69 61 6c 69 7a 69 6e |fter ini|tializin|
|00002940| 67 20 74 68 65 20 63 6f | 6d 6d 65 6e 74 20 73 74 |g the co|mment st|
|00002950| 72 69 6e 67 2c 0a 20 2a | 20 75 6e 6c 69 6e 6b 20 |ring,. *| unlink |
|00002960| 74 68 65 20 66 69 6c 65 | 20 61 6e 64 20 74 68 65 |the file| and the|
|00002970| 6e 20 72 75 6e 20 63 6f | 20 2d 6c 2e 0a 20 2a 20 |n run co| -l.. * |
|00002980| 0a 20 2a 20 52 65 76 69 | 73 69 6f 6e 20 31 2e 36 |. * Revi|sion 1.6|
|00002990| 20 20 38 35 2f 30 39 2f | 31 39 20 20 31 35 3a 33 | 85/09/|19 15:3|
|000029a0| 39 3a 35 37 20 20 6d 63 | 6f 6f 70 65 72 0a 20 2a |9:57 mc|ooper. *|
|000029b0| 20 4e 6f 77 20 6b 6e 6f | 77 73 20 61 62 6f 75 74 | Now kno|ws about|
|000029c0| 20 60 60 4d 61 6e 75 61 | 6c 27 27 20 74 79 70 65 | ``Manua|l'' type|
|000029d0| 20 66 69 6c 65 73 2e 0a | 20 2a 20 0a 20 2a 20 52 | files..| * . * R|
|000029e0| 65 76 69 73 69 6f 6e 20 | 31 2e 35 20 20 38 35 2f |evision |1.5 85/|
|000029f0| 30 39 2f 31 39 20 20 31 | 34 3a 32 33 3a 32 34 20 |09/19 1|4:23:24 |
|00002a00| 20 6d 63 6f 6f 70 65 72 | 0a 20 2a 20 41 64 64 65 | mcooper|. * Adde|
|00002a10| 64 20 6c 69 6e 65 70 72 | 69 6e 74 28 29 20 66 75 |d linepr|int() fu|
|00002a20| 6e 63 74 69 6f 6e 20 74 | 6f 20 70 72 69 6e 74 20 |nction t|o print |
|00002a30| 74 68 69 6e 67 73 20 6f | 75 74 0a 20 2a 20 6e 69 |things o|ut. * ni|
|00002a40| 63 65 6c 79 2e 20 20 46 | 69 78 65 64 20 62 75 67 |cely. F|ixed bug|
|00002a50| 20 66 6f 72 20 4d 61 6e | 75 61 6c 20 74 79 70 65 | for Man|ual type|
|00002a60| 20 66 69 6c 65 73 2e 20 | 20 44 75 65 0a 20 2a 20 | files. | Due. * |
|00002a70| 74 6f 20 74 68 65 20 66 | 61 63 74 20 74 68 61 74 |to the f|act that|
|00002a80| 20 52 43 53 20 64 6f 65 | 73 20 6e 6f 74 20 6e 6f | RCS doe|s not no|
|00002a90| 74 20 74 68 65 20 73 75 | 66 66 69 78 65 73 20 6f |t the su|ffixes o|
|00002aa0| 66 0a 20 2a 20 6d 61 6e | 75 61 6c 73 2c 20 69 74 |f. * man|uals, it|
|00002ab0| 20 74 68 65 72 65 66 6f | 72 20 64 6f 65 73 20 6e | therefo|r does n|
|00002ac0| 6f 74 20 6b 6e 6f 77 20 | 77 68 61 74 20 6b 69 6e |ot know |what kin|
|00002ad0| 64 20 6f 66 0a 20 2a 20 | 63 6f 6d 6d 65 6e 74 20 |d of. * |comment |
|00002ae0| 73 74 72 69 6e 67 20 74 | 6f 20 75 73 65 2e 20 20 |string t|o use. |
|00002af0| 54 68 75 73 2c 20 49 20 | 6b 6c 75 64 67 65 20 62 |Thus, I |kludge b|
|00002b00| 79 20 72 75 6e 6e 69 6e | 67 0a 20 2a 20 61 20 60 |y runnin|g. * a `|
|00002b10| 60 72 63 73 20 2d 63 60 | 2e 2e 2e 20 27 20 66 69 |`rcs -c`|... ' fi|
|00002b20| 6c 65 27 27 20 74 6f 20 | 74 65 6c 6c 20 72 63 73 |le'' to |tell rcs|
|00002b30| 20 74 68 65 20 63 6f 6d | 6d 65 6e 74 0a 20 2a 20 | the com|ment. * |
|00002b40| 73 74 72 69 6e 67 2e 0a | 20 2a 20 0a 20 2a 20 52 |string..| * . * R|
|00002b50| 65 76 69 73 69 6f 6e 20 | 31 2e 34 20 20 38 35 2f |evision |1.4 85/|
|00002b60| 30 39 2f 31 39 20 20 31 | 33 3a 32 38 3a 32 32 20 |09/19 1|3:28:22 |
|00002b70| 20 6d 63 6f 6f 70 65 72 | 0a 20 2a 20 46 69 78 65 | mcooper|. * Fixe|
|00002b80| 64 20 62 75 67 20 69 6e | 20 61 75 74 6f 5f 67 75 |d bug in| auto_gu|
|00002b90| 65 73 73 2e 20 20 57 6f | 75 6c 64 20 6e 6f 74 20 |ess. Wo|uld not |
|00002ba0| 63 6f 6e 74 69 6e 75 65 | 20 74 68 72 6f 75 67 68 |continue| through|
|00002bb0| 20 66 75 6e 63 74 69 6f | 6e 0a 20 2a 20 77 68 65 | functio|n. * whe|
|00002bc0| 6e 20 66 69 6c 65 20 74 | 79 70 65 20 77 61 73 20 |n file t|ype was |
|00002bd0| 60 60 4d 61 6b 65 66 69 | 6c 65 27 27 2e 0a 20 2a |``Makefi|le''.. *|
|00002be0| 20 0a 20 2a 20 52 65 76 | 69 73 69 6f 6e 20 31 2e | . * Rev|ision 1.|
|00002bf0| 33 20 20 38 35 2f 30 39 | 2f 31 39 20 20 31 33 3a |3 85/09|/19 13:|
|00002c00| 31 39 3a 35 30 20 20 6d | 63 6f 6f 70 65 72 0a 20 |19:50 m|cooper. |
|00002c10| 2a 20 41 64 64 65 64 20 | 60 60 53 68 65 6c 6c 20 |* Added |``Shell |
|00002c20| 53 63 72 69 70 74 27 27 | 20 66 69 6c 65 20 74 79 |Script''| file ty|
|00002c30| 70 65 2e 0a 20 2a 20 0a | 20 2a 20 52 65 76 69 73 |pe.. * .| * Revis|
|00002c40| 69 6f 6e 20 31 2e 32 20 | 20 38 35 2f 30 39 2f 31 |ion 1.2 | 85/09/1|
|00002c50| 39 20 20 31 30 3a 30 38 | 3a 33 36 20 20 6d 63 6f |9 10:08|:36 mco|
|00002c60| 6f 70 65 72 0a 20 2a 20 | 41 64 64 65 64 20 63 6f |oper. * |Added co|
|00002c70| 64 65 20 74 6f 20 72 75 | 6e 20 52 43 53 20 63 6f |de to ru|n RCS co|
|00002c80| 6d 6d 61 6e 64 73 20 28 | 72 63 73 20 26 20 63 69 |mmands (|rcs & ci|
|00002c90| 29 20 6f 6e 20 66 69 6c | 65 73 2e 0a 20 2a 20 46 |) on fil|es.. * F|
|00002ca0| 69 78 65 64 20 62 75 67 | 20 74 68 61 74 20 6c 69 |ixed bug| that li|
|00002cb0| 6d 69 74 65 64 20 6e 75 | 6d 62 65 72 20 6f 66 20 |mited nu|mber of |
|00002cc0| 63 6f 6d 6d 61 6e 64 20 | 6c 69 6e 65 20 66 69 6c |command |line fil|
|00002cd0| 65 73 20 73 70 65 63 69 | 66 69 65 64 20 74 6f 0a |es speci|fied to.|
|00002ce0| 20 2a 20 6e 69 6e 65 2e | 20 20 53 65 76 65 72 61 | * nine.| Severa|
|00002cf0| 6c 20 6f 74 68 65 72 20 | 6d 69 6e 6f 72 20 66 69 |l other |minor fi|
|00002d00| 78 65 73 20 61 6e 64 20 | 69 6d 70 72 6f 76 65 6d |xes and |improvem|
|00002d10| 65 6e 74 73 2e 0a 20 2a | 20 0a 20 2a 20 52 65 76 |ents.. *| . * Rev|
|00002d20| 69 73 69 6f 6e 20 31 2e | 31 20 20 38 35 2f 30 39 |ision 1.|1 85/09|
|00002d30| 2f 31 37 20 20 31 31 3a | 33 33 3a 33 33 20 20 6d |/17 11:|33:33 m|
|00002d40| 63 6f 6f 70 65 72 0a 20 | 2a 20 49 6e 69 74 69 61 |cooper. |* Initia|
|00002d50| 6c 20 72 65 76 69 73 69 | 6f 6e 0a 20 2a 20 0a 20 |l revisi|on. * . |
|00002d60| 2a 2f 0a 0a 2f 2a 0a 20 | 2a 20 72 63 73 69 74 20 |*/../*. |* rcsit |
|00002d70| 2d 2d 20 09 50 72 65 70 | 61 72 65 20 66 69 6c 65 |-- .Prep|are file|
|00002d80| 73 20 66 6f 72 20 52 43 | 53 2e 20 20 72 63 73 69 |s for RC|S. rcsi|
|00002d90| 74 20 70 75 74 73 20 74 | 68 65 20 63 6f 72 72 65 |t puts t|he corre|
|00002da0| 63 74 20 68 65 61 64 69 | 6e 67 73 0a 20 2a 09 09 |ct headi|ngs. *..|
|00002db0| 61 74 20 74 68 65 20 74 | 6f 70 20 6f 66 20 66 69 |at the t|op of fi|
|00002dc0| 6c 65 73 20 74 6f 20 70 | 72 65 70 61 72 65 20 74 |les to p|repare t|
|00002dd0| 68 65 6d 20 66 6f 72 20 | 52 43 53 20 68 65 61 64 |hem for |RCS head|
|00002de0| 69 6e 67 73 0a 20 2a 09 | 09 61 6e 64 20 6c 6f 67 |ings. *.|.and log|
|00002df0| 20 74 72 61 63 6b 69 6e | 67 2e 0a 20 2a 0a 20 2a | trackin|g.. *. *|
|00002e00| 20 4d 69 63 68 61 65 6c | 20 43 6f 6f 70 65 72 09 | Michael| Cooper.|
|00002e10| 28 6d 63 6f 6f 70 65 72 | 40 75 73 63 2d 6f 62 65 |(mcooper|@usc-obe|
|00002e20| 72 6f 6e 2e 61 72 70 61 | 29 0a 20 2a 20 55 6e 69 |ron.arpa|). * Uni|
|00002e30| 76 65 72 73 69 74 79 20 | 43 6f 6d 70 75 74 69 6e |versity |Computin|
|00002e40| 67 20 53 65 72 76 69 63 | 65 73 2c 20 55 53 43 0a |g Servic|es, USC.|
|00002e50| 20 2a 0a 20 2a 20 39 2d | 31 36 2d 38 35 0a 20 2a | *. * 9-|16-85. *|
|00002e60| 2f 0a 0a 23 69 6e 63 6c | 75 64 65 20 3c 73 74 64 |/..#incl|ude <std|
|00002e70| 69 6f 2e 68 3e 0a 23 69 | 6e 63 6c 75 64 65 20 3c |io.h>.#i|nclude <|
|00002e80| 63 74 79 70 65 2e 68 3e | 0a 23 69 6e 63 6c 75 64 |ctype.h>|.#includ|
|00002e90| 65 20 3c 73 79 73 2f 66 | 69 6c 65 2e 68 3e 0a 0a |e <sys/f|ile.h>..|
|00002ea0| 23 69 66 64 65 66 20 4e | 55 4c 4c 0a 23 75 6e 64 |#ifdef N|ULL.#und|
|00002eb0| 65 66 20 4e 55 4c 4c 0a | 23 65 6e 64 69 66 0a 23 |ef NULL.|#endif.#|
|00002ec0| 64 65 66 69 6e 65 20 4e | 55 4c 4c 09 09 27 5c 30 |define N|ULL..'\0|
|00002ed0| 27 0a 23 64 65 66 69 6e | 65 20 4c 45 4e 47 54 48 |'.#defin|e LENGTH|
|00002ee0| 09 09 31 33 32 09 09 2f | 2a 20 6c 65 6e 67 74 68 |..132../|* length|
|00002ef0| 20 6f 66 20 6c 69 6e 65 | 20 2a 2f 0a 23 64 65 66 | of line| */.#def|
|00002f00| 69 6e 65 20 54 52 55 45 | 09 09 31 0a 23 64 65 66 |ine TRUE|..1.#def|
|00002f10| 69 6e 65 20 46 41 4c 53 | 45 09 09 30 0a 0a 23 69 |ine FALS|E..0..#i|
|00002f20| 66 64 65 66 20 44 45 42 | 55 47 0a 20 69 6e 74 20 |fdef DEB|UG. int |
|00002f30| 64 65 62 75 67 6f 6e 20 | 3d 20 54 52 55 45 3b 0a |debugon |= TRUE;.|
|00002f40| 23 65 6c 73 65 0a 20 69 | 6e 74 20 64 65 62 75 67 |#else. i|nt debug|
|00002f50| 6f 6e 20 3d 20 46 41 4c | 53 45 3b 0a 23 65 6e 64 |on = FAL|SE;.#end|
|00002f60| 69 66 0a 0a 73 74 61 74 | 69 63 20 63 68 61 72 20 |if..stat|ic char |
|00002f70| 09 2a 70 72 6f 67 6e 61 | 6d 65 3b 09 09 2f 2a 20 |.*progna|me;../* |
|00002f80| 70 72 6f 67 72 61 6d 20 | 6e 61 6d 65 20 2a 2f 0a |program |name */.|
|00002f90| 73 74 61 74 69 63 20 63 | 68 61 72 20 09 2a 72 63 |static c|har .*rc|
|00002fa0| 73 64 69 72 3b 0a 0a 2f | 2a 0a 20 2a 20 4d 65 73 |sdir;../|*. * Mes|
|00002fb0| 73 61 67 65 73 20 74 6f | 20 62 65 20 70 72 69 6e |sages to| be prin|
|00002fc0| 74 65 64 20 66 6f 72 20 | 74 68 65 20 75 73 65 72 |ted for |the user|
|00002fd0| 2e 0a 20 2a 2f 0a 73 74 | 61 74 69 63 20 63 68 61 |.. */.st|atic cha|
|00002fe0| 72 09 2a 6d 73 67 5f 6e | 61 6d 65 3b 09 09 0a 73 |r.*msg_n|ame;...s|
|00002ff0| 74 61 74 69 63 20 63 68 | 61 72 20 09 2a 6d 5f 73 |tatic ch|ar .*m_s|
|00003000| 74 64 63 20 3d 20 22 53 | 74 61 6e 64 61 72 64 20 |tdc = "S|tandard |
|00003010| 43 22 2c 0a 09 09 2a 6d | 5f 69 6e 63 6c 75 64 65 |C",...*m|_include|
|00003020| 20 3d 20 22 43 20 49 6e | 63 6c 75 64 65 22 2c 0a | = "C In|clude",.|
|00003030| 09 09 2a 6d 5f 66 6f 72 | 74 72 61 6e 20 3d 20 22 |..*m_for|tran = "|
|00003040| 46 6f 72 74 72 61 6e 22 | 2c 0a 09 09 2a 6d 5f 70 |Fortran"|,...*m_p|
|00003050| 61 73 63 61 6c 20 3d 20 | 22 50 61 73 63 61 6c 22 |ascal = |"Pascal"|
|00003060| 2c 0a 09 09 2a 6d 5f 6d | 61 6b 65 09 3d 20 22 4d |,...*m_m|ake.= "M|
|00003070| 61 6b 65 66 69 6c 65 22 | 2c 0a 09 09 2a 6d 5f 73 |akefile"|,...*m_s|
|00003080| 68 65 6c 6c 20 3d 20 22 | 53 68 65 6c 6c 20 53 63 |hell = "|Shell Sc|
|00003090| 72 69 70 74 22 2c 0a 09 | 09 2a 6d 5f 6d 61 6e 75 |ript",..|.*m_manu|
|000030a0| 61 6c 20 3d 20 22 4d 61 | 6e 75 61 6c 22 3b 0a 0a |al = "Ma|nual";..|
|000030b0| 2f 2a 0a 20 2a 20 54 68 | 65 20 68 65 61 64 65 72 |/*. * Th|e header|
|000030c0| 73 20 74 6f 20 70 75 74 | 20 61 74 20 74 68 65 20 |s to put| at the |
|000030d0| 62 65 67 69 6e 6e 69 6e | 67 20 6f 66 20 74 68 65 |beginnin|g of the|
|000030e0| 20 66 69 6c 65 28 73 29 | 2e 0a 20 2a 20 4e 6f 74 | file(s)|.. * Not|
|000030f0| 69 63 65 20 74 68 61 74 | 20 74 68 65 20 77 6f 72 |ice that| the wor|
|00003100| 64 73 20 48 65 61 64 65 | 72 20 61 6e 64 20 4c 6f |ds Heade|r and Lo|
|00003110| 67 20 64 6f 20 6e 6f 74 | 20 61 70 70 65 61 72 20 |g do not| appear |
|00003120| 68 65 72 65 0a 20 2a 20 | 62 65 63 61 75 73 65 20 |here. * |because |
|00003130| 52 43 53 20 77 69 6c 6c | 20 70 75 74 20 69 6e 20 |RCS will| put in |
|00003140| 74 68 65 20 6b 65 79 77 | 6f 72 64 20 73 75 62 73 |the keyw|ord subs|
|00003150| 74 69 74 75 74 69 6f 6e | 73 20 77 68 65 6e 20 72 |titution|s when r|
|00003160| 63 73 69 74 2e 63 0a 20 | 2a 20 69 73 20 63 6f 27 |csit.c. |* is co'|
|00003170| 65 64 2e 0a 20 2a 2f 0a | 73 74 61 74 69 63 20 63 |ed.. */.|static c|
|00003180| 68 61 72 09 2a 68 65 61 | 64 65 72 3b 0a 73 74 61 |har.*hea|der;.sta|
|00003190| 74 69 63 20 63 68 61 72 | 09 2a 68 5f 73 74 64 63 |tic char|.*h_stdc|
|000031a0| 20 3d 20 0a 09 22 73 74 | 61 74 69 63 20 63 68 61 | = .."st|atic cha|
|000031b0| 72 20 2a 52 43 53 69 64 | 20 3d 20 5c 22 24 25 73 |r *RCSid| = \"$%s|
|000031c0| 24 5c 22 3b 5c 6e 5c 6e | 2f 2a 5c 6e 20 2a 20 24 |$\";\n\n|/*\n * $|
|000031d0| 25 73 24 5c 6e 20 2a 2f | 5c 6e 5c 6e 22 3b 0a 73 |%s$\n */|\n\n";.s|
|000031e0| 74 61 74 69 63 20 63 68 | 61 72 09 2a 68 5f 69 6e |tatic ch|ar.*h_in|
|000031f0| 63 6c 75 64 65 20 3d 20 | 0a 09 22 2f 2a 5c 6e 20 |clude = |.."/*\n |
|00003200| 2a 20 24 25 73 24 5c 6e | 20 2a 5c 6e 20 2a 20 24 |* $%s$\n| *\n * $|
|00003210| 25 73 24 5c 6e 20 2a 2f | 5c 6e 5c 6e 22 3b 0a 73 |%s$\n */|\n\n";.s|
|00003220| 74 61 74 69 63 20 63 68 | 61 72 09 2a 68 5f 6d 61 |tatic ch|ar.*h_ma|
|00003230| 6b 65 20 3d 0a 09 22 23 | 5c 6e 23 20 24 25 73 24 |ke =.."#|\n# $%s$|
|00003240| 5c 6e 23 5c 6e 23 20 24 | 25 73 24 5c 6e 23 5c 6e |\n#\n# $|%s$\n#\n|
|00003250| 22 3b 0a 73 74 61 74 69 | 63 20 63 68 61 72 20 09 |";.stati|c char .|
|00003260| 2a 68 5f 6d 61 6e 75 61 | 6c 20 3d 0a 09 22 2e 2e |*h_manua|l =.."..|
|00003270| 2e 5c 6e 2e 2e 2e 20 24 | 25 73 24 5c 6e 2e 2e 2e |.\n... $|%s$\n...|
|00003280| 20 5c 6e 2e 2e 2e 20 24 | 25 73 24 5c 6e 2e 2e 2e | \n... $|%s$\n...|
|00003290| 5c 6e 22 3b 0a 73 74 61 | 74 69 63 20 63 68 61 72 |\n";.sta|tic char|
|000032a0| 20 09 2a 68 5f 66 6f 72 | 74 72 61 6e 20 3d 0a 09 | .*h_for|tran =..|
|000032b0| 22 63 5c 6e 63 20 24 25 | 73 24 5c 6e 63 5c 6e 63 |"c\nc $%|s$\nc\nc|
|000032c0| 20 24 25 73 24 5c 6e 63 | 5c 6e 22 3b 0a 0a 2f 2a | $%s$\nc|\n";../*|
|000032d0| 0a 20 2a 20 54 65 6d 70 | 6c 61 74 65 20 66 69 6c |. * Temp|late fil|
|000032e0| 65 20 6e 61 6d 65 73 0a | 20 2a 2f 0a 73 74 61 74 |e names.| */.stat|
|000032f0| 69 63 20 63 68 61 72 09 | 2a 74 65 6d 70 6c 61 74 |ic char.|*templat|
|00003300| 65 5f 63 20 09 3d 20 22 | 2e 74 65 6d 70 6c 61 74 |e_c .= "|.templat|
|00003310| 65 2e 63 22 3b 09 2f 2a | 20 2e 63 20 74 65 6d 70 |e.c";./*| .c temp|
|00003320| 6c 61 74 65 20 2a 2f 0a | 73 74 61 74 69 63 20 63 |late */.|static c|
|00003330| 68 61 72 20 09 2a 74 65 | 6d 70 6c 61 74 65 5f 68 |har .*te|mplate_h|
|00003340| 20 09 3d 20 22 2e 74 65 | 6d 70 6c 61 74 65 2e 68 | .= ".te|mplate.h|
|00003350| 22 3b 09 2f 2a 20 2e 68 | 20 74 65 6d 70 6c 61 74 |";./* .h| templat|
|00003360| 65 20 2a 2f 0a 73 74 61 | 74 69 63 20 63 68 61 72 |e */.sta|tic char|
|00003370| 20 09 2a 74 65 6d 70 6c | 61 74 65 5f 66 20 09 3d | .*templ|ate_f .=|
|00003380| 20 22 2e 74 65 6d 70 6c | 61 74 65 2e 66 22 3b 09 | ".templ|ate.f";.|
|00003390| 2f 2a 20 2e 66 20 74 65 | 6d 70 6c 61 74 65 20 2a |/* .f te|mplate *|
|000033a0| 2f 0a 73 74 61 74 69 63 | 20 63 68 61 72 20 09 2a |/.static| char .*|
|000033b0| 74 65 6d 70 6c 61 74 65 | 5f 70 20 09 3d 20 22 2e |template|_p .= ".|
|000033c0| 74 65 6d 70 6c 61 74 65 | 2e 70 22 3b 09 2f 2a 20 |template|.p";./* |
|000033d0| 2e 70 20 74 65 6d 70 6c | 61 74 65 20 2a 2f 0a 73 |.p templ|ate */.s|
|000033e0| 74 61 74 69 63 20 63 68 | 61 72 20 09 2a 74 65 6d |tatic ch|ar .*tem|
|000033f0| 70 6c 61 74 65 5f 6d 61 | 6e 20 09 3d 20 22 2e 74 |plate_ma|n .= ".t|
|00003400| 65 6d 70 6c 61 74 65 2e | 6d 61 6e 22 3b 09 2f 2a |emplate.|man";./*|
|00003410| 20 6d 61 6e 20 74 65 6d | 70 6c 61 74 65 20 2a 2f | man tem|plate */|
|00003420| 0a 73 74 61 74 69 63 20 | 63 68 61 72 09 2a 74 65 |.static |char.*te|
|00003430| 6d 70 6c 61 74 65 5f 6d | 61 6b 65 09 3d 20 22 2e |mplate_m|ake.= ".|
|00003440| 74 65 6d 70 6c 61 74 65 | 2e 6d 61 6b 65 22 3b 09 |template|.make";.|
|00003450| 2f 2a 20 6d 61 6b 65 20 | 74 65 6d 70 6c 61 74 65 |/* make |template|
|00003460| 20 2a 2f 0a 73 74 61 74 | 69 63 20 63 68 61 72 09 | */.stat|ic char.|
|00003470| 2a 74 65 6d 70 6c 61 74 | 65 5f 73 68 09 3d 20 22 |*templat|e_sh.= "|
|00003480| 2e 74 65 6d 70 6c 61 74 | 65 2e 73 68 22 3b 09 2f |.templat|e.sh";./|
|00003490| 2a 20 73 68 20 73 63 72 | 69 70 74 20 74 65 6d 70 |* sh scr|ipt temp|
|000034a0| 6c 61 74 65 20 2a 2f 0a | 73 74 61 74 69 63 20 63 |late */.|static c|
|000034b0| 68 61 72 09 2a 74 70 61 | 74 68 3b 09 09 09 09 09 |har.*tpa|th;.....|
|000034c0| 2f 2a 20 70 61 74 68 20 | 74 6f 20 74 65 6d 70 6c |/* path |to templ|
|000034d0| 61 74 65 20 2a 2f 0a 73 | 74 61 74 69 63 20 63 68 |ate */.s|tatic ch|
|000034e0| 61 72 09 74 66 69 6c 65 | 5b 42 55 46 53 49 5a 5d |ar.tfile|[BUFSIZ]|
|000034f0| 3b 09 09 09 09 2f 2a 20 | 74 65 6d 70 6c 61 74 65 |;..../* |template|
|00003500| 20 66 69 6c 65 20 2a 2f | 0a 73 74 61 74 69 63 20 | file */|.static |
|00003510| 63 68 61 72 09 74 62 75 | 66 5b 42 55 46 53 49 5a |char.tbu|f[BUFSIZ|
|00003520| 5d 3b 09 09 09 09 2f 2a | 20 63 75 72 72 65 6e 74 |];..../*| current|
|00003530| 20 74 66 69 6c 65 20 2a | 2f 0a 0a 2f 2a 0a 20 2a | tfile *|/../*. *|
|00003540| 20 43 6f 6d 6d 61 6e 64 | 20 6c 69 6e 65 20 66 6c | Command| line fl|
|00003550| 61 67 73 0a 20 2a 2f 0a | 69 6e 74 09 49 66 6c 61 |ags. */.|int.Ifla|
|00003560| 67 09 3d 20 46 41 4c 53 | 45 3b 09 09 09 2f 2a 20 |g.= FALS|E;.../* |
|00003570| 72 75 6e 20 63 69 28 31 | 29 20 2a 2f 0a 69 6e 74 |run ci(1|) */.int|
|00003580| 09 72 63 73 66 6c 61 67 | 20 3d 20 46 41 4c 53 45 |.rcsflag| = FALSE|
|00003590| 3b 09 09 09 2f 2a 20 72 | 75 6e 20 72 63 73 28 31 |;.../* r|un rcs(1|
|000035a0| 29 20 2a 2f 0a 69 6e 74 | 09 61 66 6c 61 67 09 3d |) */.int|.aflag.=|
|000035b0| 20 54 52 55 45 3b 09 09 | 09 09 2f 2a 20 64 6f 20 | TRUE;..|../* do |
|000035c0| 61 75 74 6f 20 67 75 65 | 73 73 20 2a 2f 0a 69 6e |auto gue|ss */.in|
|000035d0| 74 09 64 66 6c 61 67 09 | 3d 20 54 52 55 45 3b 09 |t.dflag.|= TRUE;.|
|000035e0| 09 09 09 2f 2a 20 63 72 | 65 61 74 20 52 43 53 20 |.../* cr|eat RCS |
|000035f0| 64 69 72 2e 20 2a 2f 0a | 69 6e 74 09 71 66 6c 61 |dir. */.|int.qfla|
|00003600| 67 09 3d 20 46 41 4c 53 | 45 3b 09 09 09 2f 2a 20 |g.= FALS|E;.../* |
|00003610| 62 65 20 71 75 69 65 74 | 21 20 2a 2f 0a 69 6e 74 |be quiet|! */.int|
|00003620| 20 09 63 66 6c 61 67 09 | 3d 20 46 41 4c 53 45 3b | .cflag.|= FALSE;|
|00003630| 09 09 09 2f 2a 20 73 74 | 64 20 63 20 66 69 6c 65 |.../* st|d c file|
|00003640| 20 2a 2f 0a 69 6e 74 09 | 66 66 6c 61 67 09 3d 20 | */.int.|fflag.= |
|00003650| 46 41 4c 53 45 3b 09 09 | 09 2f 2a 20 66 6f 72 74 |FALSE;..|./* fort|
|00003660| 72 61 6e 20 66 69 6c 65 | 20 2a 2f 0a 69 6e 74 09 |ran file| */.int.|
|00003670| 70 66 6c 61 67 09 3d 20 | 46 41 4c 53 45 3b 09 09 |pflag.= |FALSE;..|
|00003680| 09 2f 2a 20 70 61 73 63 | 61 6c 20 66 69 6c 65 20 |./* pasc|al file |
|00003690| 2a 2f 0a 69 6e 74 09 68 | 66 6c 61 67 09 3d 20 46 |*/.int.h|flag.= F|
|000036a0| 41 4c 53 45 3b 09 09 09 | 2f 2a 20 69 6e 63 6c 75 |ALSE;...|/* inclu|
|000036b0| 64 65 20 66 69 6c 65 20 | 2a 2f 0a 69 6e 74 09 73 |de file |*/.int.s|
|000036c0| 66 6c 61 67 09 3d 20 46 | 41 4c 53 45 3b 09 09 09 |flag.= F|ALSE;...|
|000036d0| 2f 2a 20 73 68 65 6c 6c | 20 73 63 72 69 70 74 20 |/* shell| script |
|000036e0| 2a 2f 0a 69 6e 74 20 09 | 6d 66 6c 61 67 09 3d 20 |*/.int .|mflag.= |
|000036f0| 46 41 4c 53 45 3b 09 09 | 09 2f 2a 20 4d 61 6b 65 |FALSE;..|./* Make|
|00003700| 66 69 6c 65 20 2a 2f 0a | 69 6e 74 09 4d 66 6c 61 |file */.|int.Mfla|
|00003710| 67 09 3d 20 46 41 4c 53 | 45 3b 09 09 09 2f 2a 20 |g.= FALS|E;.../* |
|00003720| 6d 61 6e 75 61 6c 20 2a | 2f 0a 69 6e 74 09 74 66 |manual *|/.int.tf|
|00003730| 6c 61 67 09 3d 20 46 41 | 4c 53 45 3b 09 09 09 2f |lag.= FA|LSE;.../|
|00003740| 2a 20 74 65 6d 70 6c 61 | 74 65 20 66 6c 61 67 20 |* templa|te flag |
|00003750| 2a 2f 0a 0a 6d 61 69 6e | 28 61 72 67 63 2c 20 61 |*/..main|(argc, a|
|00003760| 72 67 76 29 0a 69 6e 74 | 09 61 72 67 63 3b 0a 63 |rgv).int|.argc;.c|
|00003770| 68 61 72 20 09 2a 61 72 | 67 76 5b 5d 3b 0a 7b 0a |har .*ar|gv[];.{.|
|00003780| 09 69 6e 74 20 78 3b 0a | 09 63 68 61 72 09 74 6d |.int x;.|.char.tm|
|00003790| 70 5b 4c 45 4e 47 54 48 | 5d 3b 0a 09 63 68 61 72 |p[LENGTH|];..char|
|000037a0| 09 2a 66 69 6c 65 3b 0a | 09 63 68 61 72 09 2a 66 |.*file;.|.char.*f|
|000037b0| 6c 61 67 73 3b 0a 09 63 | 68 61 72 20 09 2a 74 6d |lags;..c|har .*tm|
|000037c0| 70 66 69 6c 65 20 3d 20 | 22 2f 74 6d 70 2f 72 63 |pfile = |"/tmp/rc|
|000037d0| 73 69 74 58 58 58 58 58 | 58 22 3b 0a 09 63 68 61 |sitXXXXX|X";..cha|
|000037e0| 72 20 09 2a 6d 6b 74 65 | 6d 70 28 29 3b 0a 09 63 |r .*mkte|mp();..c|
|000037f0| 68 61 72 09 2a 67 65 74 | 74 6d 70 28 29 3b 0a 09 |har.*get|tmp();..|
|00003800| 63 68 61 72 09 2a 67 65 | 74 65 6e 76 28 29 3b 0a |char.*ge|tenv();.|
|00003810| 09 46 49 4c 45 20 09 2a | 66 64 2c 20 0a 09 09 2a |.FILE .*|fd, ...*|
|00003820| 66 64 74 6d 70 2c 0a 09 | 09 2a 66 6f 70 65 6e 28 |fdtmp,..|.*fopen(|
|00003830| 29 3b 0a 0a 09 70 72 6f | 67 6e 61 6d 65 20 3d 20 |);...pro|gname = |
|00003840| 2a 61 72 67 76 3b 0a 09 | 66 6f 72 20 28 78 20 3d |*argv;..|for (x =|
|00003850| 20 31 3b 20 78 20 3c 20 | 61 72 67 63 3b 20 78 2b | 1; x < |argc; x+|
|00003860| 2b 29 20 7b 0a 09 09 69 | 66 20 28 61 72 67 76 5b |+) {...i|f (argv[|
|00003870| 78 5d 5b 30 5d 20 21 3d | 20 27 2d 27 29 0a 09 09 |x][0] !=| '-')...|
|00003880| 09 62 72 65 61 6b 3b 0a | 09 09 73 77 69 74 63 68 |.break;.|..switch|
|00003890| 20 28 61 72 67 76 5b 78 | 5d 5b 31 5d 29 20 7b 0a | (argv[x|][1]) {.|
|000038a0| 09 09 09 63 61 73 65 20 | 27 61 27 3a 0a 09 09 09 |...case |'a':....|
|000038b0| 09 61 66 6c 61 67 20 3d | 20 46 41 4c 53 45 3b 0a |.aflag =| FALSE;.|
|000038c0| 09 09 09 09 62 72 65 61 | 6b 3b 0a 09 09 09 63 61 |....brea|k;....ca|
|000038d0| 73 65 20 27 71 27 3a 0a | 09 09 09 09 71 66 6c 61 |se 'q':.|....qfla|
|000038e0| 67 20 3d 20 54 52 55 45 | 3b 0a 09 09 09 09 62 72 |g = TRUE|;.....br|
|000038f0| 65 61 6b 3b 0a 09 09 09 | 63 61 73 65 20 27 64 27 |eak;....|case 'd'|
|00003900| 3a 0a 09 09 09 09 64 66 | 6c 61 67 20 3d 20 46 41 |:.....df|lag = FA|
|00003910| 4c 53 45 3b 0a 09 09 09 | 09 62 72 65 61 6b 3b 0a |LSE;....|.break;.|
|00003920| 09 09 09 63 61 73 65 20 | 27 66 27 3a 0a 09 09 09 |...case |'f':....|
|00003930| 09 66 66 6c 61 67 20 3d | 20 54 52 55 45 3b 0a 09 |.fflag =| TRUE;..|
|00003940| 09 09 09 62 72 65 61 6b | 3b 0a 09 09 09 63 61 73 |...break|;....cas|
|00003950| 65 20 27 68 27 3a 0a 09 | 09 09 09 68 66 6c 61 67 |e 'h':..|...hflag|
|00003960| 20 3d 20 54 52 55 45 3b | 0a 09 09 09 09 62 72 65 | = TRUE;|.....bre|
|00003970| 61 6b 3b 0a 09 09 09 63 | 61 73 65 20 27 73 27 3a |ak;....c|ase 's':|
|00003980| 0a 09 09 09 09 73 66 6c | 61 67 20 3d 20 54 52 55 |.....sfl|ag = TRU|
|00003990| 45 3b 09 0a 09 09 09 09 | 62 72 65 61 6b 3b 0a 09 |E;......|break;..|
|000039a0| 09 09 63 61 73 65 20 27 | 6d 27 3a 0a 09 09 09 09 |..case '|m':.....|
|000039b0| 6d 66 6c 61 67 20 3d 20 | 54 52 55 45 3b 0a 09 09 |mflag = |TRUE;...|
|000039c0| 09 09 62 72 65 61 6b 3b | 0a 09 09 09 63 61 73 65 |..break;|....case|
|000039d0| 20 27 4d 27 3a 0a 09 09 | 09 09 4d 66 6c 61 67 20 | 'M':...|..Mflag |
|000039e0| 3d 20 54 52 55 45 3b 0a | 09 09 09 09 62 72 65 61 |= TRUE;.|....brea|
|000039f0| 6b 3b 0a 09 09 09 63 61 | 73 65 20 27 69 27 3a 0a |k;....ca|se 'i':.|
|00003a00| 09 09 09 63 61 73 65 20 | 27 49 27 3a 0a 09 09 09 |...case |'I':....|
|00003a10| 09 49 66 6c 61 67 20 3d | 20 54 52 55 45 3b 0a 09 |.Iflag =| TRUE;..|
|00003a20| 09 09 09 66 6c 61 67 73 | 20 3d 20 26 61 72 67 76 |...flags| = &argv|
|00003a30| 5b 78 5d 5b 32 5d 3b 0a | 09 09 09 09 62 72 65 61 |[x][2];.|....brea|
|00003a40| 6b 3b 0a 09 09 09 63 61 | 73 65 20 27 72 27 3a 0a |k;....ca|se 'r':.|
|00003a50| 09 09 09 63 61 73 65 20 | 27 52 27 3a 0a 09 09 09 |...case |'R':....|
|00003a60| 09 72 63 73 66 6c 61 67 | 20 3d 20 54 52 55 45 3b |.rcsflag| = TRUE;|
|00003a70| 0a 09 09 09 09 66 6c 61 | 67 73 20 3d 20 26 61 72 |.....fla|gs = &ar|
|00003a80| 67 76 5b 78 5d 5b 32 5d | 3b 0a 09 09 09 09 62 72 |gv[x][2]|;.....br|
|00003a90| 65 61 6b 3b 0a 09 09 09 | 63 61 73 65 20 27 74 27 |eak;....|case 't'|
|00003aa0| 3a 0a 09 09 09 09 74 66 | 6c 61 67 20 3d 20 54 52 |:.....tf|lag = TR|
|00003ab0| 55 45 3b 0a 09 09 09 09 | 74 70 61 74 68 20 3d 20 |UE;.....|tpath = |
|00003ac0| 26 61 72 67 76 5b 78 5d | 5b 32 5d 3b 0a 09 09 09 |&argv[x]|[2];....|
|00003ad0| 09 62 72 65 61 6b 3b 0a | 09 09 09 63 61 73 65 20 |.break;.|...case |
|00003ae0| 27 63 27 3a 0a 09 09 09 | 09 63 66 6c 61 67 20 3d |'c':....|.cflag =|
|00003af0| 20 54 52 55 45 3b 0a 09 | 09 09 09 62 72 65 61 6b | TRUE;..|...break|
|00003b00| 3b 0a 09 09 09 64 65 66 | 61 75 6c 74 3a 0a 09 09 |;....def|ault:...|
|00003b10| 09 09 66 61 74 61 6c 28 | 22 55 6e 6b 6e 6f 77 6e |..fatal(|"Unknown|
|00003b20| 20 66 6c 61 67 20 25 73 | 2e 22 2c 61 72 67 76 29 | flag %s|.",argv)|
|00003b30| 3b 0a 09 09 7d 0a 09 7d | 0a 09 61 72 67 63 20 2d |;...}..}|..argc -|
|00003b40| 3d 20 28 78 20 2d 20 31 | 29 3b 0a 09 61 72 67 76 |= (x - 1|);..argv|
|00003b50| 20 2b 3d 20 28 78 20 2d | 20 31 29 3b 0a 0a 09 69 | += (x -| 1);...i|
|00003b60| 66 28 28 68 66 6c 61 67 | 20 26 26 20 28 6d 66 6c |f((hflag| && (mfl|
|00003b70| 61 67 20 7c 7c 20 4d 66 | 6c 61 67 20 7c 7c 20 63 |ag || Mf|lag || c|
|00003b80| 66 6c 61 67 29 29 20 7c | 7c 0a 09 09 28 6d 66 6c |flag)) |||...(mfl|
|00003b90| 61 67 20 26 26 20 28 68 | 66 6c 61 67 20 7c 7c 20 |ag && (h|flag || |
|00003ba0| 63 66 6c 61 67 20 7c 7c | 20 4d 66 6c 61 67 29 29 |cflag ||| Mflag))|
|00003bb0| 20 7c 7c 0a 09 09 28 4d | 66 6c 61 67 20 26 26 20 | ||...(M|flag && |
|00003bc0| 28 63 66 6c 61 67 20 7c | 7c 20 68 66 6c 61 67 20 |(cflag ||| hflag |
|00003bd0| 7c 7c 20 6d 66 6c 61 67 | 29 29 20 7c 7c 0a 09 09 ||| mflag|)) ||...|
|00003be0| 28 63 66 6c 61 67 20 26 | 26 20 28 68 66 6c 61 67 |(cflag &|& (hflag|
|00003bf0| 20 7c 7c 20 4d 66 6c 61 | 67 20 7c 7c 20 6d 66 6c | || Mfla|g || mfl|
|00003c00| 61 67 29 29 29 20 7b 0a | 09 09 09 66 61 74 61 6c |ag))) {.|...fatal|
|00003c10| 28 22 4f 6e 6c 79 20 4f | 4e 45 20 6f 66 20 2d 63 |("Only O|NE of -c|
|00003c20| 2c 2d 66 2c 2d 6d 2c 2d | 4d 2c 2d 68 2c 2d 73 20 |,-f,-m,-|M,-h,-s |
|00003c30| 6d 61 79 20 62 65 20 73 | 70 65 63 69 66 69 65 64 |may be s|pecified|
|00003c40| 2e 22 29 3b 0a 09 7d 0a | 09 69 66 28 49 66 6c 61 |.");..}.|.if(Ifla|
|00003c50| 67 20 26 26 20 72 63 73 | 66 6c 61 67 29 20 7b 0a |g && rcs|flag) {.|
|00003c60| 09 09 09 66 61 74 61 6c | 28 22 4f 6e 6c 79 20 4f |...fatal|("Only O|
|00003c70| 4e 45 20 6f 66 20 60 60 | 2d 69 27 27 20 61 6e 64 |NE of ``|-i'' and|
|00003c80| 20 60 60 2d 72 27 27 20 | 6d 61 79 20 62 65 20 73 | ``-r'' |may be s|
|00003c90| 70 65 63 69 66 69 65 64 | 2e 22 29 3b 0a 09 7d 0a |pecified|.");..}.|
|00003ca0| 0a 09 69 66 28 63 66 6c | 61 67 20 7c 7c 20 68 66 |..if(cfl|ag || hf|
|00003cb0| 6c 61 67 20 7c 7c 20 6d | 66 6c 61 67 20 7c 7c 20 |lag || m|flag || |
|00003cc0| 4d 66 6c 61 67 20 7c 7c | 20 66 66 6c 61 67 20 7c |Mflag ||| fflag ||
|00003cd0| 7c 20 73 66 6c 61 67 29 | 0a 09 09 61 66 6c 61 67 || sflag)|...aflag|
|00003ce0| 20 3d 20 46 41 4c 53 45 | 3b 0a 0a 09 69 66 28 28 | = FALSE|;...if((|
|00003cf0| 72 63 73 64 69 72 20 3d | 20 67 65 74 65 6e 76 28 |rcsdir =| getenv(|
|00003d00| 22 52 43 53 44 49 52 22 | 29 29 20 3d 3d 20 4e 55 |"RCSDIR"|)) == NU|
|00003d10| 4c 4c 29 0a 09 09 72 63 | 73 64 69 72 20 3d 20 22 |LL)...rc|sdir = "|
|00003d20| 52 43 53 22 3b 0a 09 69 | 66 28 49 66 6c 61 67 20 |RCS";..i|f(Iflag |
|00003d30| 26 26 20 64 66 6c 61 67 | 29 0a 09 09 63 68 65 63 |&& dflag|)...chec|
|00003d40| 6b 64 69 72 28 29 3b 09 | 2f 2a 20 4d 61 6b 65 20 |kdir();.|/* Make |
|00003d50| 52 43 53 20 64 69 72 65 | 63 74 6f 72 79 20 66 6f |RCS dire|ctory fo|
|00003d60| 72 20 63 69 20 2a 2f 0a | 0a 09 69 66 28 28 2a 74 |r ci */.|..if((*t|
|00003d70| 70 61 74 68 20 3d 3d 20 | 4e 55 4c 4c 29 20 26 26 |path == |NULL) &&|
|00003d80| 20 28 28 74 70 61 74 68 | 20 3d 20 67 65 74 65 6e | ((tpath| = geten|
|00003d90| 76 28 22 54 45 4d 50 4c | 41 54 45 22 29 29 20 3d |v("TEMPL|ATE")) =|
|00003da0| 3d 20 4e 55 4c 4c 29 29 | 0a 09 09 69 66 28 28 74 |= NULL))|...if((t|
|00003db0| 70 61 74 68 20 3d 20 67 | 65 74 65 6e 76 28 22 48 |path = g|etenv("H|
|00003dc0| 4f 4d 45 22 29 29 20 3d | 3d 20 4e 55 4c 4c 29 0a |OME")) =|= NULL).|
|00003dd0| 09 09 09 66 61 74 61 6c | 28 22 43 61 6e 6e 6f 74 |...fatal|("Cannot|
|00003de0| 20 66 69 6e 64 20 65 6e | 76 69 72 6f 6e 6d 65 6e | find en|vironmen|
|00003df0| 74 20 76 61 72 69 61 62 | 6c 65 20 48 4f 4d 45 20 |t variab|le HOME |
|00003e00| 6f 72 20 54 45 4d 50 4c | 41 54 45 22 29 3b 0a 0a |or TEMPL|ATE");..|
|00003e10| 09 2f 2a 0a 09 20 2a 20 | 6d 61 6b 65 20 74 6d 70 |./*.. * |make tmp|
|00003e20| 20 66 69 6c 65 20 6f 6e | 63 65 2e 0a 09 20 2a 2f | file on|ce... */|
|00003e30| 0a 09 6d 6b 74 65 6d 70 | 28 74 6d 70 66 69 6c 65 |..mktemp|(tmpfile|
|00003e40| 29 3b 0a 0a 09 77 68 69 | 6c 65 20 28 2d 2d 61 72 |);...whi|le (--ar|
|00003e50| 67 63 29 20 7b 09 2f 2a | 20 4d 61 69 6e 20 6c 6f |gc) {./*| Main lo|
|00003e60| 6f 70 20 2a 2f 0a 09 09 | 66 69 6c 65 20 3d 20 2a |op */...|file = *|
|00003e70| 2b 2b 61 72 67 76 3b 0a | 09 09 64 65 62 75 67 28 |++argv;.|..debug(|
|00003e80| 73 70 72 69 6e 74 66 28 | 74 6d 70 2c 20 22 2e 2e |sprintf(|tmp, "..|
|00003e90| 2e 66 69 6c 65 20 28 2a | 2b 2b 61 72 67 76 29 20 |.file (*|++argv) |
|00003ea0| 3d 20 25 73 2e 2e 2e 22 | 2c 20 66 69 6c 65 29 29 |= %s..."|, file))|
|00003eb0| 3b 0a 0a 09 09 69 66 28 | 61 63 63 65 73 73 28 66 |;....if(|access(f|
|00003ec0| 69 6c 65 2c 20 34 29 20 | 21 3d 20 30 29 0a 09 09 |ile, 4) |!= 0)...|
|00003ed0| 09 66 61 74 61 6c 28 22 | 43 61 6e 6e 6f 74 20 61 |.fatal("|Cannot a|
|00003ee0| 63 63 65 73 73 20 25 73 | 2e 20 20 4e 6f 20 72 65 |ccess %s|. No re|
|00003ef0| 61 64 20 70 65 72 6d 69 | 73 73 69 6f 6e 20 4f 52 |ad permi|ssion OR|
|00003f00| 20 66 69 6c 65 20 64 6f | 65 73 20 6e 6f 74 20 65 | file do|es not e|
|00003f10| 78 69 73 74 2e 22 2c 0a | 09 09 09 09 66 69 6c 65 |xist.",.|....file|
|00003f20| 29 3b 0a 09 09 69 66 28 | 28 66 64 74 6d 70 20 3d |);...if(|(fdtmp =|
|00003f30| 20 66 6f 70 65 6e 28 74 | 6d 70 66 69 6c 65 2c 20 | fopen(t|mpfile, |
|00003f40| 22 77 22 29 29 20 3d 3d | 20 4e 55 4c 4c 29 20 7b |"w")) ==| NULL) {|
|00003f50| 0a 09 09 09 66 61 74 61 | 6c 28 22 43 61 6e 6e 6f |....fata|l("Canno|
|00003f60| 74 20 6f 70 65 6e 20 74 | 6d 70 66 69 6c 65 20 28 |t open t|mpfile (|
|00003f70| 25 73 29 2e 22 2c 20 74 | 6d 70 66 69 6c 65 29 3b |%s).", t|mpfile);|
|00003f80| 0a 09 09 7d 0a 0a 09 09 | 69 66 28 61 66 6c 61 67 |...}....|if(aflag|
|00003f90| 29 0a 09 09 09 61 75 74 | 6f 5f 67 75 65 73 73 28 |)....aut|o_guess(|
|00003fa0| 66 69 6c 65 29 3b 20 2f | 2a 20 74 72 79 20 61 6e |file); /|* try an|
|00003fb0| 64 20 67 75 65 73 73 20 | 66 69 6c 65 20 74 79 70 |d guess |file typ|
|00003fc0| 65 20 2a 2f 0a 09 09 65 | 6c 73 65 0a 09 09 09 73 |e */...e|lse....s|
|00003fd0| 65 74 5f 66 6c 61 67 73 | 28 29 3b 09 20 20 2f 2a |et_flags|();. /*|
|00003fe0| 20 63 68 65 63 6b 20 61 | 6e 64 20 73 65 74 20 66 | check a|nd set f|
|00003ff0| 6c 61 67 73 20 2a 2f 0a | 0a 09 09 69 66 28 74 66 |lags */.|...if(tf|
|00004000| 6c 61 67 29 20 7b 0a 09 | 09 09 2f 2a 0a 09 09 09 |lag) {..|../*....|
|00004010| 20 2a 20 66 69 72 73 74 | 20 67 65 74 20 6e 61 6d | * first| get nam|
|00004020| 65 73 20 6f 66 20 74 65 | 6d 70 6c 61 74 65 73 2c |es of te|mplates,|
|00004030| 20 74 68 65 6e 20 63 72 | 65 61 74 65 0a 09 09 09 | then cr|eate....|
|00004040| 20 2a 20 70 61 74 68 20 | 6e 61 6d 65 20 74 6f 20 | * path |name to |
|00004050| 69 74 2e 0a 09 09 09 20 | 2a 2f 0a 09 09 09 67 65 |it..... |*/....ge|
|00004060| 74 5f 74 65 6d 70 28 29 | 3b 0a 09 09 09 73 70 72 |t_temp()|;....spr|
|00004070| 69 6e 74 66 28 74 66 69 | 6c 65 2c 20 22 25 73 2f |intf(tfi|le, "%s/|
|00004080| 25 73 22 2c 20 74 70 61 | 74 68 2c 20 74 62 75 66 |%s", tpa|th, tbuf|
|00004090| 29 3b 0a 09 09 7d 0a 09 | 09 69 66 28 61 63 63 65 |);...}..|.if(acce|
|000040a0| 73 73 28 74 66 69 6c 65 | 2c 20 30 29 20 3d 3d 20 |ss(tfile|, 0) == |
|000040b0| 30 20 26 26 20 74 66 6c | 61 67 29 20 7b 0a 09 09 |0 && tfl|ag) {...|
|000040c0| 09 69 66 28 21 71 66 6c | 61 67 20 7c 7c 20 64 65 |.if(!qfl|ag || de|
|000040d0| 62 75 67 6f 6e 29 0a 09 | 09 09 09 70 72 69 6e 74 |bugon)..|...print|
|000040e0| 66 28 22 41 64 64 69 6e | 67 20 25 73 20 68 65 61 |f("Addin|g %s hea|
|000040f0| 64 65 72 20 66 69 6c 65 | 20 74 6f 20 25 73 2e 2e |der file| to %s..|
|00004100| 2e 22 2c 0a 09 09 09 09 | 09 6d 73 67 5f 6e 61 6d |.",.....|.msg_nam|
|00004110| 65 2c 20 66 69 6c 65 29 | 3b 0a 09 09 09 63 6f 70 |e, file)|;....cop|
|00004120| 79 28 74 66 69 6c 65 2c | 20 74 6d 70 66 69 6c 65 |y(tfile,| tmpfile|
|00004130| 2c 20 22 77 22 29 3b 0a | 09 09 09 63 6f 70 79 28 |, "w");.|...copy(|
|00004140| 66 69 6c 65 2c 20 74 6d | 70 66 69 6c 65 2c 20 22 |file, tm|pfile, "|
|00004150| 61 22 29 3b 0a 09 09 7d | 20 65 6c 73 65 20 7b 0a |a");...}| else {.|
|00004160| 09 09 09 69 66 28 21 71 | 66 6c 61 67 20 7c 7c 20 |...if(!q|flag || |
|00004170| 64 65 62 75 67 6f 6e 29 | 0a 09 09 09 09 70 72 69 |debugon)|.....pri|
|00004180| 6e 74 66 28 0a 09 09 09 | 09 22 41 64 64 69 6e 67 |ntf(....|."Adding|
|00004190| 20 64 65 66 61 75 6c 74 | 20 68 65 61 64 65 72 20 | default| header |
|000041a0| 28 25 73 20 66 6f 72 6d | 61 74 29 20 74 6f 20 25 |(%s form|at) to %|
|000041b0| 73 2e 2e 2e 22 2c 0a 09 | 09 09 09 09 6d 73 67 5f |s...",..|....msg_|
|000041c0| 6e 61 6d 65 2c 20 66 69 | 6c 65 29 3b 0a 09 09 09 |name, fi|le);....|
|000041d0| 2f 2a 0a 09 09 09 20 2a | 20 70 75 74 20 74 68 65 |/*.... *| put the|
|000041e0| 20 4b 65 79 77 6f 72 64 | 73 20 69 6e 74 6f 20 68 | Keyword|s into h|
|000041f0| 65 61 64 65 72 20 73 74 | 72 69 6e 67 0a 09 09 09 |eader st|ring....|
|00004200| 20 2a 2f 0a 09 09 09 73 | 70 72 69 6e 74 66 28 74 | */....s|printf(t|
|00004210| 6d 70 2c 20 68 65 61 64 | 65 72 2c 20 22 48 65 61 |mp, head|er, "Hea|
|00004220| 64 65 72 22 2c 20 22 4c | 6f 67 22 29 3b 0a 09 09 |der", "L|og");...|
|00004230| 09 66 70 75 74 73 28 74 | 6d 70 2c 20 66 64 74 6d |.fputs(t|mp, fdtm|
|00004240| 70 29 3b 0a 09 09 09 2f | 2a 0a 09 09 09 20 2a 20 |p);..../|*.... * |
|00004250| 66 63 6c 6f 73 65 27 65 | 6d 2c 20 6a 75 73 74 20 |fclose'e|m, just |
|00004260| 69 6e 20 63 61 73 65 2e | 0a 09 09 09 20 2a 2f 0a |in case.|.... */.|
|00004270| 09 09 09 66 63 6c 6f 73 | 65 28 66 64 74 6d 70 29 |...fclos|e(fdtmp)|
|00004280| 3b 0a 09 09 09 63 6f 70 | 79 28 66 69 6c 65 2c 20 |;....cop|y(file, |
|00004290| 74 6d 70 66 69 6c 65 2c | 20 22 61 22 29 3b 0a 09 |tmpfile,| "a");..|
|000042a0| 09 7d 0a 09 09 75 6e 6c | 69 6e 6b 28 66 69 6c 65 |.}...unl|ink(file|
|000042b0| 29 3b 0a 09 09 63 6f 70 | 79 28 74 6d 70 66 69 6c |);...cop|y(tmpfil|
|000042c0| 65 2c 20 66 69 6c 65 2c | 20 22 77 22 29 3b 0a 09 |e, file,| "w");..|
|000042d0| 09 75 6e 6c 69 6e 6b 28 | 74 6d 70 66 69 6c 65 29 |.unlink(|tmpfile)|
|000042e0| 3b 0a 0a 09 09 69 66 28 | 21 71 66 6c 61 67 20 7c |;....if(|!qflag ||
|000042f0| 7c 20 64 65 62 75 67 6f | 6e 29 0a 09 09 09 70 72 || debugo|n)....pr|
|00004300| 69 6e 74 66 28 22 64 6f | 6e 65 2e 5c 6e 22 29 3b |intf("do|ne.\n");|
|00004310| 0a 0a 09 09 69 66 28 49 | 66 6c 61 67 29 7b 0a 09 |....if(I|flag){..|
|00004320| 09 09 72 63 73 28 22 63 | 69 22 2c 20 66 69 6c 65 |..rcs("c|i", file|
|00004330| 2c 20 66 6c 61 67 73 29 | 3b 0a 09 09 09 69 66 28 |, flags)|;....if(|
|00004340| 4d 66 6c 61 67 29 7b 09 | 2f 2a 20 6b 6c 75 64 67 |Mflag){.|/* kludg|
|00004350| 65 20 74 6f 20 74 65 6c | 6c 20 72 63 73 20 61 62 |e to tel|l rcs ab|
|00004360| 6f 75 74 20 6d 61 6e 75 | 61 6c 73 20 2a 2f 0a 09 |out manu|als */..|
|00004370| 09 09 09 72 63 73 28 22 | 72 63 73 22 2c 20 66 69 |...rcs("|rcs", fi|
|00004380| 6c 65 2c 20 22 63 27 2e | 2e 2e 20 27 22 29 3b 0a |le, "c'.|.. '");.|
|00004390| 09 09 09 09 2f 2a 0a 09 | 09 09 09 20 2a 20 6b 6c |..../*..|... * kl|
|000043a0| 75 64 67 65 20 70 61 72 | 74 20 32 20 2d 20 69 66 |udge par|t 2 - if|
|000043b0| 20 74 68 65 20 75 73 65 | 72 20 74 72 69 65 64 20 | the use|r tried |
|000043c0| 61 20 63 69 0a 09 09 09 | 09 20 2a 20 77 69 74 68 |a ci....|. * with|
|000043d0| 20 61 20 2d 6c 20 6f 70 | 74 69 6f 6e 2c 20 74 68 | a -l op|tion, th|
|000043e0| 65 6e 20 74 68 65 20 68 | 65 61 64 65 72 20 69 73 |en the h|eader is|
|000043f0| 0a 09 09 09 09 20 2a 20 | 6d 65 73 73 65 64 20 75 |..... * |messed u|
|00004400| 70 20 69 6e 20 74 68 65 | 20 63 75 72 72 65 6e 74 |p in the| current|
|00004410| 6c 79 20 63 68 65 63 6b | 65 64 20 6f 75 74 0a 09 |ly check|ed out..|
|00004420| 09 09 09 20 2a 20 6d 61 | 6e 20 66 69 6c 65 2e 20 |... * ma|n file. |
|00004430| 20 53 6f 20 77 65 20 68 | 61 76 65 20 74 6f 20 63 | So we h|ave to c|
|00004440| 6f 20 74 68 65 20 66 69 | 6c 65 20 74 6f 20 0a 09 |o the fi|le to ..|
|00004450| 09 09 09 20 2a 20 63 6c | 65 61 6e 20 75 70 20 74 |... * cl|ean up t|
|00004460| 68 65 20 68 65 61 64 65 | 72 2e 20 20 50 6c 75 73 |he heade|r. Plus|
|00004470| 20 77 65 20 75 73 65 20 | 74 68 65 0a 09 09 09 09 | we use |the.....|
|00004480| 20 2a 20 2d 6c 20 6f 70 | 74 69 6f 6e 20 6f 66 20 | * -l op|tion of |
|00004490| 63 6f 20 74 6f 20 69 6e | 73 75 72 65 20 66 69 6c |co to in|sure fil|
|000044a0| 65 20 6c 6f 63 6b 69 6e | 67 2e 0a 09 09 09 09 20 |e lockin|g...... |
|000044b0| 2a 2f 0a 09 09 09 09 69 | 66 28 63 68 65 63 6b 66 |*/.....i|f(checkf|
|000044c0| 6f 72 28 22 6c 22 2c 20 | 66 6c 61 67 73 29 29 7b |or("l", |flags)){|
|000044d0| 0a 09 09 09 09 09 75 6e | 6c 69 6e 6b 28 66 69 6c |......un|link(fil|
|000044e0| 65 29 3b 0a 09 09 09 09 | 09 72 63 73 28 22 63 6f |e);.....|.rcs("co|
|000044f0| 22 2c 20 66 69 6c 65 2c | 20 22 6c 22 29 3b 0a 09 |", file,| "l");..|
|00004500| 09 09 09 7d 0a 09 09 09 | 7d 0a 09 09 7d 0a 09 09 |...}....|}...}...|
|00004510| 69 66 28 72 63 73 66 6c | 61 67 29 0a 09 09 09 72 |if(rcsfl|ag)....r|
|00004520| 63 73 28 22 72 63 73 22 | 2c 20 66 69 6c 65 2c 20 |cs("rcs"|, file, |
|00004530| 66 6c 61 67 73 29 3b 0a | 09 7d 0a 7d 0a 0a 2f 2a |flags);.|.}.}../*|
|00004540| 0a 20 2a 20 64 65 62 75 | 67 20 2d 20 70 72 69 6e |. * debu|g - prin|
|00004550| 74 20 28 75 73 65 6c 65 | 73 73 29 20 64 65 62 75 |t (usele|ss) debu|
|00004560| 67 67 69 6e 67 20 69 6e | 66 6f 2e 0a 20 2a 2f 0a |gging in|fo.. */.|
|00004570| 20 0a 64 65 62 75 67 28 | 6d 73 67 29 0a 63 68 61 | .debug(|msg).cha|
|00004580| 72 20 2a 6d 73 67 3b 0a | 7b 0a 23 69 66 64 65 66 |r *msg;.|{.#ifdef|
|00004590| 20 44 45 42 55 47 0a 09 | 66 70 72 69 6e 74 66 28 | DEBUG..|fprintf(|
|000045a0| 73 74 64 65 72 72 2c 20 | 6d 73 67 29 3b 0a 09 70 |stderr, |msg);..p|
|000045b0| 75 74 63 68 61 72 20 28 | 27 5c 6e 27 29 3b 0a 23 |utchar (|'\n');.#|
|000045c0| 65 6e 64 69 66 0a 7d 0a | 0a 2f 2a 0a 20 2a 20 61 |endif.}.|./*. * a|
|000045d0| 75 74 6f 5f 67 75 65 73 | 73 20 2d 20 74 72 79 20 |uto_gues|s - try |
|000045e0| 61 6e 64 20 62 65 20 69 | 6e 74 65 6c 6c 69 67 65 |and be i|ntellige|
|000045f0| 6e 74 20 61 6e 64 20 67 | 75 65 73 73 20 74 79 70 |nt and g|uess typ|
|00004600| 65 20 6f 66 20 66 69 6c | 65 0a 20 2a 09 09 62 79 |e of fil|e. *..by|
|00004610| 20 6c 6f 6f 6b 69 6e 67 | 20 61 74 20 74 68 65 20 | looking| at the |
|00004620| 73 75 66 66 69 78 20 6f | 72 20 74 68 65 20 77 68 |suffix o|r the wh|
|00004630| 6f 6c 65 20 6e 61 6d 65 | 0a 20 2a 09 09 69 6e 20 |ole name|. *..in |
|00004640| 74 68 65 20 63 61 73 65 | 20 6f 66 20 61 20 6d 61 |the case| of a ma|
|00004650| 6b 65 66 69 6c 65 2e 0a | 20 2a 2f 0a 0a 61 75 74 |kefile..| */..aut|
|00004660| 6f 5f 67 75 65 73 73 28 | 66 69 6c 65 29 0a 63 68 |o_guess(|file).ch|
|00004670| 61 72 09 2a 66 69 6c 65 | 3b 0a 7b 0a 09 63 68 61 |ar.*file|;.{..cha|
|00004680| 72 20 2a 73 75 66 66 69 | 78 3b 0a 09 63 68 61 72 |r *suffi|x;..char|
|00004690| 20 2a 72 69 6e 64 65 78 | 28 29 3b 0a 0a 09 73 75 | *rindex|();...su|
|000046a0| 66 66 69 78 20 3d 20 72 | 69 6e 64 65 78 28 66 69 |ffix = r|index(fi|
|000046b0| 6c 65 2c 20 27 2e 27 29 | 2b 31 3b 0a 09 69 66 28 |le, '.')|+1;..if(|
|000046c0| 28 73 74 72 63 6d 70 28 | 66 69 6c 65 2c 20 22 6d |(strcmp(|file, "m|
|000046d0| 61 6b 65 66 69 6c 65 22 | 29 20 3d 3d 20 30 29 20 |akefile"|) == 0) |
|000046e0| 7c 7c 20 28 73 74 72 63 | 6d 70 28 66 69 6c 65 2c ||| (strc|mp(file,|
|000046f0| 20 22 4d 61 6b 65 66 69 | 6c 65 22 29 20 3d 3d 20 | "Makefi|le") == |
|00004700| 30 29 20 7c 7c 0a 09 20 | 20 20 20 28 73 74 72 63 |0) ||.. | (strc|
|00004710| 6d 70 28 73 75 66 66 69 | 78 2c 20 22 6d 6b 22 29 |mp(suffi|x, "mk")|
|00004720| 20 3d 3d 20 30 29 29 20 | 7b 09 2f 2a 20 73 79 73 | == 0)) |{./* sys|
|00004730| 20 56 20 73 74 64 20 73 | 75 66 66 69 78 20 2a 2f | V std s|uffix */|
|00004740| 0a 09 09 6d 66 6c 61 67 | 20 3d 20 54 52 55 45 3b |...mflag| = TRUE;|
|00004750| 0a 09 09 73 66 6c 61 67 | 20 3d 20 46 41 4c 53 45 |...sflag| = FALSE|
|00004760| 3b 0a 09 09 63 66 6c 61 | 67 20 3d 20 46 41 4c 53 |;...cfla|g = FALS|
|00004770| 45 3b 0a 09 09 68 66 6c | 61 67 20 3d 20 46 41 4c |E;...hfl|ag = FAL|
|00004780| 53 45 3b 0a 09 09 4d 66 | 6c 61 67 20 3d 20 46 41 |SE;...Mf|lag = FA|
|00004790| 4c 53 45 3b 0a 09 09 66 | 66 6c 61 67 20 3d 20 46 |LSE;...f|flag = F|
|000047a0| 41 4c 53 45 3b 0a 09 7d | 0a 09 69 66 28 28 73 74 |ALSE;..}|..if((st|
|000047b0| 72 63 6d 70 28 73 75 66 | 66 69 78 2c 20 22 73 68 |rcmp(suf|fix, "sh|
|000047c0| 22 29 20 3d 3d 20 30 29 | 20 7c 7c 20 28 73 74 72 |") == 0)| || (str|
|000047d0| 63 6d 70 28 73 75 66 66 | 69 78 2c 20 22 63 73 68 |cmp(suff|ix, "csh|
|000047e0| 22 29 20 3d 3d 20 30 29 | 29 20 7b 0a 09 09 73 66 |") == 0)|) {...sf|
|000047f0| 6c 61 67 20 3d 20 54 52 | 55 45 3b 0a 09 09 63 66 |lag = TR|UE;...cf|
|00004800| 6c 61 67 20 3d 20 46 41 | 4c 53 45 3b 0a 09 09 68 |lag = FA|LSE;...h|
|00004810| 66 6c 61 67 20 3d 20 46 | 41 4c 53 45 3b 0a 09 09 |flag = F|ALSE;...|
|00004820| 6d 66 6c 61 67 20 3d 20 | 46 41 4c 53 45 3b 0a 09 |mflag = |FALSE;..|
|00004830| 09 4d 66 6c 61 67 20 3d | 20 46 41 4c 53 45 3b 0a |.Mflag =| FALSE;.|
|00004840| 09 09 66 66 6c 61 67 20 | 3d 20 46 41 4c 53 45 3b |..fflag |= FALSE;|
|00004850| 0a 09 7d 0a 09 69 66 28 | 73 74 72 63 6d 70 28 73 |..}..if(|strcmp(s|
|00004860| 75 66 66 69 78 2c 20 22 | 63 22 29 20 3d 3d 20 30 |uffix, "|c") == 0|
|00004870| 29 7b 0a 09 09 63 66 6c | 61 67 20 3d 20 54 52 55 |){...cfl|ag = TRU|
|00004880| 45 3b 0a 09 09 68 66 6c | 61 67 20 3d 20 46 41 4c |E;...hfl|ag = FAL|
|00004890| 53 45 3b 0a 09 09 6d 66 | 6c 61 67 20 3d 20 46 41 |SE;...mf|lag = FA|
|000048a0| 4c 53 45 3b 0a 09 09 4d | 66 6c 61 67 20 3d 20 46 |LSE;...M|flag = F|
|000048b0| 41 4c 53 45 3b 0a 09 09 | 73 66 6c 61 67 20 3d 20 |ALSE;...|sflag = |
|000048c0| 46 41 4c 53 45 3b 0a 09 | 09 66 66 6c 61 67 20 3d |FALSE;..|.fflag =|
|000048d0| 20 46 41 4c 53 45 3b 0a | 09 7d 0a 09 69 66 28 73 | FALSE;.|.}..if(s|
|000048e0| 74 72 63 6d 70 28 73 75 | 66 66 69 78 2c 20 22 68 |trcmp(su|ffix, "h|
|000048f0| 22 29 20 3d 3d 20 30 29 | 7b 0a 09 09 68 66 6c 61 |") == 0)|{...hfla|
|00004900| 67 20 3d 20 54 52 55 45 | 3b 0a 09 09 63 66 6c 61 |g = TRUE|;...cfla|
|00004910| 67 20 3d 20 46 41 4c 53 | 45 3b 0a 09 09 6d 66 6c |g = FALS|E;...mfl|
|00004920| 61 67 20 3d 20 46 41 4c | 53 45 3b 0a 09 09 4d 66 |ag = FAL|SE;...Mf|
|00004930| 6c 61 67 20 3d 20 46 41 | 4c 53 45 3b 0a 09 09 73 |lag = FA|LSE;...s|
|00004940| 66 6c 61 67 20 3d 20 46 | 41 4c 53 45 3b 0a 09 09 |flag = F|ALSE;...|
|00004950| 66 66 6c 61 67 20 3d 20 | 46 41 4c 53 45 3b 0a 09 |fflag = |FALSE;..|
|00004960| 7d 0a 09 69 66 28 73 74 | 72 63 6d 70 28 73 75 66 |}..if(st|rcmp(suf|
|00004970| 66 69 78 2c 20 22 66 22 | 29 20 3d 3d 20 30 29 7b |fix, "f"|) == 0){|
|00004980| 0a 09 09 66 66 6c 61 67 | 20 3d 20 54 52 55 45 3b |...fflag| = TRUE;|
|00004990| 0a 09 09 68 66 6c 61 67 | 20 3d 20 46 41 4c 53 45 |...hflag| = FALSE|
|000049a0| 3b 0a 09 09 63 66 6c 61 | 67 20 3d 20 46 41 4c 53 |;...cfla|g = FALS|
|000049b0| 45 3b 0a 09 09 6d 66 6c | 61 67 20 3d 20 46 41 4c |E;...mfl|ag = FAL|
|000049c0| 53 45 3b 0a 09 09 4d 66 | 6c 61 67 20 3d 20 46 41 |SE;...Mf|lag = FA|
|000049d0| 4c 53 45 3b 0a 09 09 73 | 66 6c 61 67 20 3d 20 46 |LSE;...s|flag = F|
|000049e0| 41 4c 53 45 3b 0a 09 7d | 0a 09 69 66 28 69 73 64 |ALSE;..}|..if(isd|
|000049f0| 69 67 69 74 28 2a 73 75 | 66 66 69 78 29 20 21 3d |igit(*su|ffix) !=|
|00004a00| 20 30 29 20 7b 0a 09 09 | 4d 66 6c 61 67 20 3d 20 | 0) {...|Mflag = |
|00004a10| 54 52 55 45 3b 0a 09 09 | 68 66 6c 61 67 20 3d 20 |TRUE;...|hflag = |
|00004a20| 46 41 4c 53 45 3b 0a 09 | 09 63 66 6c 61 67 20 3d |FALSE;..|.cflag =|
|00004a30| 20 46 41 4c 53 45 3b 0a | 09 09 6d 66 6c 61 67 20 | FALSE;.|..mflag |
|00004a40| 3d 20 46 41 4c 53 45 3b | 0a 09 09 73 66 6c 61 67 |= FALSE;|...sflag|
|00004a50| 20 3d 20 46 41 4c 53 45 | 3b 0a 09 09 66 66 6c 61 | = FALSE|;...ffla|
|00004a60| 67 20 3d 20 46 41 4c 53 | 45 3b 0a 09 7d 0a 09 73 |g = FALS|E;..}..s|
|00004a70| 65 74 5f 66 6c 61 67 73 | 28 29 3b 0a 09 69 66 28 |et_flags|();..if(|
|00004a80| 21 71 66 6c 61 67 20 7c | 7c 20 64 65 62 75 67 6f |!qflag ||| debugo|
|00004a90| 6e 29 0a 09 09 70 72 69 | 6e 74 66 28 22 48 6d 6d |n)...pri|ntf("Hmm|
|00004aa0| 2e 20 20 54 68 69 73 20 | 66 69 6c 65 20 6c 6f 6f |. This |file loo|
|00004ab0| 6b 73 20 6c 69 6b 65 20 | 61 20 25 73 20 66 69 6c |ks like |a %s fil|
|00004ac0| 65 2e 5c 6e 22 2c 20 6d | 73 67 5f 6e 61 6d 65 29 |e.\n", m|sg_name)|
|00004ad0| 3b 0a 7d 0a 0a 2f 2a 0a | 20 2a 20 73 65 74 5f 66 |;.}../*.| * set_f|
|00004ae0| 6c 61 67 73 20 2d 20 73 | 65 74 20 26 20 63 68 65 |lags - s|et & che|
|00004af0| 63 6b 20 66 6c 61 67 73 | 0a 20 2a 2f 0a 20 0a 73 |ck flags|. */. .s|
|00004b00| 65 74 5f 66 6c 61 67 73 | 28 29 0a 7b 0a 09 69 66 |et_flags|().{..if|
|00004b10| 28 63 66 6c 61 67 20 7c | 7c 20 68 66 6c 61 67 20 |(cflag ||| hflag |
|00004b20| 7c 7c 20 6d 66 6c 61 67 | 20 7c 7c 20 4d 66 6c 61 ||| mflag| || Mfla|
|00004b30| 67 20 7c 7c 20 73 66 6c | 61 67 20 7c 7c 20 66 66 |g || sfl|ag || ff|
|00004b40| 6c 61 67 29 20 7b 0a 09 | 09 69 66 28 63 66 6c 61 |lag) {..|.if(cfla|
|00004b50| 67 29 20 7b 0a 09 09 09 | 6d 73 67 5f 6e 61 6d 65 |g) {....|msg_name|
|00004b60| 20 3d 20 6d 5f 73 74 64 | 63 3b 0a 09 09 09 68 65 | = m_std|c;....he|
|00004b70| 61 64 65 72 20 3d 20 68 | 5f 73 74 64 63 3b 0a 09 |ader = h|_stdc;..|
|00004b80| 09 7d 0a 09 09 69 66 28 | 68 66 6c 61 67 29 20 7b |.}...if(|hflag) {|
|00004b90| 0a 09 09 09 6d 73 67 5f | 6e 61 6d 65 20 3d 20 6d |....msg_|name = m|
|00004ba0| 5f 69 6e 63 6c 75 64 65 | 3b 0a 09 09 09 68 65 61 |_include|;....hea|
|00004bb0| 64 65 72 20 3d 20 68 5f | 69 6e 63 6c 75 64 65 3b |der = h_|include;|
|00004bc0| 0a 09 09 7d 0a 09 09 69 | 66 28 6d 66 6c 61 67 29 |...}...i|f(mflag)|
|00004bd0| 20 7b 0a 09 09 09 6d 73 | 67 5f 6e 61 6d 65 20 3d | {....ms|g_name =|
|00004be0| 20 6d 5f 6d 61 6b 65 3b | 0a 09 09 09 68 65 61 64 | m_make;|....head|
|00004bf0| 65 72 20 3d 20 68 5f 6d | 61 6b 65 3b 0a 09 09 7d |er = h_m|ake;...}|
|00004c00| 0a 09 09 69 66 28 4d 66 | 6c 61 67 29 20 7b 0a 09 |...if(Mf|lag) {..|
|00004c10| 09 09 6d 73 67 5f 6e 61 | 6d 65 20 3d 20 6d 5f 6d |..msg_na|me = m_m|
|00004c20| 61 6e 75 61 6c 3b 0a 09 | 09 09 68 65 61 64 65 72 |anual;..|..header|
|00004c30| 20 3d 20 68 5f 6d 61 6e | 75 61 6c 3b 0a 09 09 7d | = h_man|ual;...}|
|00004c40| 0a 09 09 69 66 28 73 66 | 6c 61 67 29 20 7b 0a 09 |...if(sf|lag) {..|
|00004c50| 09 09 6d 73 67 5f 6e 61 | 6d 65 20 3d 20 6d 5f 73 |..msg_na|me = m_s|
|00004c60| 68 65 6c 6c 3b 0a 09 09 | 09 68 65 61 64 65 72 20 |hell;...|.header |
|00004c70| 3d 20 68 5f 6d 61 6b 65 | 3b 0a 09 09 7d 0a 09 09 |= h_make|;...}...|
|00004c80| 69 66 28 66 66 6c 61 67 | 29 20 7b 0a 09 09 09 6d |if(fflag|) {....m|
|00004c90| 73 67 5f 6e 61 6d 65 20 | 3d 20 6d 5f 66 6f 72 74 |sg_name |= m_fort|
|00004ca0| 72 61 6e 3b 0a 09 09 09 | 68 65 61 64 65 72 20 3d |ran;....|header =|
|00004cb0| 20 68 5f 66 6f 72 74 72 | 61 6e 3b 0a 09 09 7d 0a | h_fortr|an;...}.|
|00004cc0| 09 7d 20 65 6c 73 65 20 | 7b 0a 09 09 63 66 6c 61 |.} else |{...cfla|
|00004cd0| 67 20 3d 20 54 52 55 45 | 3b 0a 09 09 73 65 74 5f |g = TRUE|;...set_|
|00004ce0| 66 6c 61 67 73 28 29 3b | 0a 09 7d 0a 7d 0a 0a 2f |flags();|..}.}../|
|00004cf0| 2a 0a 20 2a 20 63 6f 70 | 79 20 66 72 6f 6d 20 2d |*. * cop|y from -|
|00004d00| 3e 20 74 6f 0a 20 2a 2f | 0a 0a 63 6f 70 79 28 66 |> to. */|..copy(f|
|00004d10| 72 6f 6d 2c 20 74 6f 2c | 20 6d 6f 64 65 29 0a 63 |rom, to,| mode).c|
|00004d20| 68 61 72 20 2a 66 72 6f | 6d 3b 0a 63 68 61 72 20 |har *fro|m;.char |
|00004d30| 2a 74 6f 3b 0a 63 68 61 | 72 20 2a 6d 6f 64 65 3b |*to;.cha|r *mode;|
|00004d40| 0a 7b 0a 09 46 49 4c 45 | 20 2a 66 64 66 72 6f 6d |.{..FILE| *fdfrom|
|00004d50| 2c 20 2a 66 64 74 6f 2c | 20 2a 66 6f 70 65 6e 28 |, *fdto,| *fopen(|
|00004d60| 29 3b 0a 09 63 68 61 72 | 20 74 6d 70 5b 4c 45 4e |);..char| tmp[LEN|
|00004d70| 47 54 48 5d 3b 0a 09 63 | 68 61 72 20 73 5b 4c 45 |GTH];..c|har s[LE|
|00004d80| 4e 47 54 48 5d 3b 0a 0a | 09 69 66 28 28 66 64 66 |NGTH];..|.if((fdf|
|00004d90| 72 6f 6d 20 3d 20 66 6f | 70 65 6e 28 66 72 6f 6d |rom = fo|pen(from|
|00004da0| 2c 20 22 72 22 29 29 20 | 3d 3d 20 4e 55 4c 4c 29 |, "r")) |== NULL)|
|00004db0| 20 7b 0a 09 09 66 61 74 | 61 6c 28 22 43 61 6e 6e | {...fat|al("Cann|
|00004dc0| 6f 74 20 6f 70 65 6e 20 | 25 73 20 66 6f 72 20 72 |ot open |%s for r|
|00004dd0| 65 61 64 69 6e 67 2e 22 | 2c 66 72 6f 6d 29 3b 0a |eading."|,from);.|
|00004de0| 09 7d 0a 09 69 66 28 28 | 66 64 74 6f 20 3d 20 66 |.}..if((|fdto = f|
|00004df0| 6f 70 65 6e 28 74 6f 2c | 20 6d 6f 64 65 29 29 20 |open(to,| mode)) |
|00004e00| 3d 3d 20 4e 55 4c 4c 29 | 20 7b 0a 09 09 66 61 74 |== NULL)| {...fat|
|00004e10| 61 6c 28 22 43 61 6e 6e | 6f 74 20 6f 70 65 6e 20 |al("Cann|ot open |
|00004e20| 25 73 20 66 6f 72 20 5c | 22 25 73 5c 22 2e 22 2c |%s for \|"%s\".",|
|00004e30| 74 6f 2c 6d 6f 64 65 29 | 3b 0a 09 7d 0a 09 77 68 |to,mode)|;..}..wh|
|00004e40| 69 6c 65 28 66 67 65 74 | 73 28 73 2c 20 73 69 7a |ile(fget|s(s, siz|
|00004e50| 65 6f 66 28 73 29 2c 20 | 66 64 66 72 6f 6d 29 20 |eof(s), |fdfrom) |
|00004e60| 21 3d 20 4e 55 4c 4c 29 | 0a 09 09 66 70 75 74 73 |!= NULL)|...fputs|
|00004e70| 28 73 2c 20 66 64 74 6f | 29 3b 0a 09 66 63 6c 6f |(s, fdto|);..fclo|
|00004e80| 73 65 28 66 64 66 72 6f | 6d 29 3b 0a 09 66 63 6c |se(fdfro|m);..fcl|
|00004e90| 6f 73 65 28 66 64 74 6f | 29 3b 0a 7d 0a 0a 2f 2a |ose(fdto|);.}../*|
|00004ea0| 0a 20 2a 20 52 75 6e 20 | 52 43 53 27 73 20 72 63 |. * Run |RCS's rc|
|00004eb0| 73 70 72 6f 67 20 6f 6e | 20 66 69 6c 65 20 77 69 |sprog on| file wi|
|00004ec0| 74 68 20 66 6c 61 67 73 | 2e 0a 20 2a 2f 0a 0a 72 |th flags|.. */..r|
|00004ed0| 63 73 28 72 63 73 70 72 | 6f 67 2c 20 66 69 6c 65 |cs(rcspr|og, file|
|00004ee0| 2c 20 66 6c 61 67 73 29 | 0a 63 68 61 72 20 2a 72 |, flags)|.char *r|
|00004ef0| 63 73 70 72 6f 67 3b 0a | 63 68 61 72 20 2a 66 69 |csprog;.|char *fi|
|00004f00| 6c 65 3b 0a 63 68 61 72 | 20 2a 66 6c 61 67 73 3b |le;.char| *flags;|
|00004f10| 0a 7b 0a 09 63 68 61 72 | 20 62 75 66 5b 4c 45 4e |.{..char| buf[LEN|
|00004f20| 47 54 48 5d 3b 0a 09 63 | 68 61 72 20 74 6d 70 5b |GTH];..c|har tmp[|
|00004f30| 4c 45 4e 47 54 48 5d 3b | 0a 0a 09 69 66 28 21 63 |LENGTH];|...if(!c|
|00004f40| 68 65 63 6b 66 6f 72 28 | 22 71 22 2c 20 66 6c 61 |heckfor(|"q", fla|
|00004f50| 67 73 29 20 26 26 20 71 | 66 6c 61 67 29 0a 09 09 |gs) && q|flag)...|
|00004f60| 66 6c 61 67 73 20 3d 20 | 22 71 22 3b 0a 09 69 66 |flags = |"q";..if|
|00004f70| 28 73 74 72 63 6d 70 28 | 66 6c 61 67 73 2c 20 4e |(strcmp(|flags, N|
|00004f80| 55 4c 4c 29 20 3d 3d 20 | 30 29 0a 09 09 73 70 72 |ULL) == |0)...spr|
|00004f90| 69 6e 74 66 28 62 75 66 | 2c 20 22 25 73 20 25 73 |intf(buf|, "%s %s|
|00004fa0| 22 2c 20 72 63 73 70 72 | 6f 67 2c 20 66 69 6c 65 |", rcspr|og, file|
|00004fb0| 29 3b 0a 09 65 6c 73 65 | 0a 09 09 73 70 72 69 6e |);..else|...sprin|
|00004fc0| 74 66 28 62 75 66 2c 20 | 22 25 73 20 2d 25 73 20 |tf(buf, |"%s -%s |
|00004fd0| 25 73 22 2c 20 72 63 73 | 70 72 6f 67 2c 20 66 6c |%s", rcs|prog, fl|
|00004fe0| 61 67 73 2c 20 66 69 6c | 65 29 3b 0a 09 64 65 62 |ags, fil|e);..deb|
|00004ff0| 75 67 28 73 70 72 69 6e | 74 66 28 74 6d 70 2c 22 |ug(sprin|tf(tmp,"|
|00005000| 52 75 6e 6e 69 6e 67 20 | 60 60 25 73 27 27 2e 2e |Running |``%s''..|
|00005010| 2e 5c 6e 22 2c 20 62 75 | 66 29 29 3b 0a 09 69 66 |.\n", bu|f));..if|
|00005020| 28 21 71 66 6c 61 67 29 | 0a 09 09 6c 69 6e 65 70 |(!qflag)|...linep|
|00005030| 72 69 6e 74 28 73 70 72 | 69 6e 74 66 28 74 6d 70 |rint(spr|intf(tmp|
|00005040| 2c 20 22 53 74 61 72 74 | 20 6f 66 20 60 60 25 73 |, "Start| of ``%s|
|00005050| 27 27 22 2c 20 62 75 66 | 29 29 3b 0a 09 73 79 73 |''", buf|));..sys|
|00005060| 74 65 6d 28 62 75 66 29 | 3b 0a 09 69 66 28 21 71 |tem(buf)|;..if(!q|
|00005070| 66 6c 61 67 29 0a 09 09 | 6c 69 6e 65 70 72 69 6e |flag)...|lineprin|
|00005080| 74 28 73 70 72 69 6e 74 | 66 28 74 6d 70 2c 20 22 |t(sprint|f(tmp, "|
|00005090| 45 6e 64 20 6f 66 20 60 | 60 25 73 27 27 22 2c 20 |End of `|`%s''", |
|000050a0| 62 75 66 29 29 3b 0a 7d | 0a 0a 2f 2a 0a 20 2a 20 |buf));.}|../*. * |
|000050b0| 63 68 65 63 6b 64 69 72 | 20 2d 20 6d 61 6b 65 20 |checkdir| - make |
|000050c0| 52 43 53 20 64 69 72 65 | 63 74 6f 72 79 20 69 66 |RCS dire|ctory if|
|000050d0| 20 6e 6f 74 20 70 72 65 | 73 65 6e 74 2e 0a 20 2a | not pre|sent.. *|
|000050e0| 2f 0a 0a 63 68 65 63 6b | 64 69 72 28 29 0a 7b 0a |/..check|dir().{.|
|000050f0| 09 69 66 28 61 63 63 65 | 73 73 28 22 52 43 53 22 |.if(acce|ss("RCS"|
|00005100| 2c 20 30 29 20 21 3d 20 | 30 29 7b 0a 09 09 69 66 |, 0) != |0){...if|
|00005110| 28 21 71 66 6c 61 67 20 | 7c 7c 20 64 65 62 75 67 |(!qflag ||| debug|
|00005120| 6f 6e 29 0a 09 09 09 70 | 72 69 6e 74 66 28 22 43 |on)....p|rintf("C|
|00005130| 61 6e 6e 6f 74 20 66 69 | 6e 64 20 5c 22 52 43 53 |annot fi|nd \"RCS|
|00005140| 5c 22 20 64 69 72 65 63 | 74 6f 72 79 2e 20 20 43 |\" direc|tory. C|
|00005150| 72 65 61 74 69 6e 67 2e | 2e 2e 5c 6e 22 29 3b 0a |reating.|..\n");.|
|00005160| 09 09 69 66 28 73 74 72 | 63 6d 70 28 72 63 73 64 |..if(str|cmp(rcsd|
|00005170| 69 72 2c 20 22 52 43 53 | 22 29 20 21 3d 20 30 29 |ir, "RCS|") != 0)|
|00005180| 20 7b 20 0a 09 09 09 69 | 66 28 73 79 6d 6c 69 6e | { ....i|f(symlin|
|00005190| 6b 28 72 63 73 64 69 72 | 2c 20 22 52 43 53 22 29 |k(rcsdir|, "RCS")|
|000051a0| 20 21 3d 20 30 29 0a 09 | 09 09 09 66 61 74 61 6c | != 0)..|...fatal|
|000051b0| 28 22 53 79 6d 62 6f 6c | 69 63 20 6c 69 6e 6b 20 |("Symbol|ic link |
|000051c0| 6f 66 20 25 73 20 74 6f | 20 52 43 53 20 66 61 69 |of %s to| RCS fai|
|000051d0| 6c 65 64 2e 22 2c 20 0a | 09 09 09 09 09 72 63 73 |led.", .|.....rcs|
|000051e0| 64 69 72 29 3b 0a 09 09 | 7d 20 65 6c 73 65 20 7b |dir);...|} else {|
|000051f0| 0a 09 09 09 69 66 28 6d | 6b 64 69 72 28 72 63 73 |....if(m|kdir(rcs|
|00005200| 64 69 72 2c 20 30 37 35 | 35 29 20 21 3d 20 30 29 |dir, 075|5) != 0)|
|00005210| 0a 09 09 09 09 66 61 74 | 61 6c 28 22 43 61 6e 6e |.....fat|al("Cann|
|00005220| 6f 74 20 63 72 65 61 74 | 65 20 5c 22 25 73 5c 22 |ot creat|e \"%s\"|
|00005230| 20 64 69 72 65 63 74 6f | 72 79 2e 22 2c 20 0a 09 | directo|ry.", ..|
|00005240| 09 09 09 09 72 63 73 64 | 69 72 29 3b 0a 09 09 7d |....rcsd|ir);...}|
|00005250| 0a 09 7d 0a 7d 0a 0a 2f | 2a 0a 20 2a 20 63 68 65 |..}.}../|*. * che|
|00005260| 63 6b 66 6f 72 28 78 2c | 20 73 74 72 29 20 2d 2d |ckfor(x,| str) --|
|00005270| 20 63 68 65 63 6b 20 66 | 6f 72 20 78 20 69 6e 20 | check f|or x in |
|00005280| 73 74 72 2e 20 20 52 65 | 74 75 72 6e 20 31 20 28 |str. Re|turn 1 (|
|00005290| 54 52 55 45 29 20 69 66 | 20 65 78 69 73 74 73 2e |TRUE) if| exists.|
|000052a0| 0a 20 2a 09 09 09 4f 74 | 68 65 72 77 69 73 65 20 |. *...Ot|herwise |
|000052b0| 30 20 28 46 41 4c 53 45 | 29 2e 0a 20 2a 2f 0a 0a |0 (FALSE|).. */..|
|000052c0| 63 68 65 63 6b 66 6f 72 | 28 78 2c 20 73 74 72 29 |checkfor|(x, str)|
|000052d0| 0a 63 68 61 72 20 09 2a | 78 3b 0a 63 68 61 72 20 |.char .*|x;.char |
|000052e0| 09 2a 73 74 72 3b 0a 7b | 0a 09 77 68 69 6c 65 28 |.*str;.{|..while(|
|000052f0| 2a 73 74 72 29 20 7b 0a | 09 09 69 66 28 73 74 72 |*str) {.|..if(str|
|00005300| 63 6d 70 28 73 74 72 2c | 20 78 29 20 3d 3d 20 30 |cmp(str,| x) == 0|
|00005310| 29 0a 09 09 09 72 65 74 | 75 72 6e 28 54 52 55 45 |)....ret|urn(TRUE|
|00005320| 29 3b 0a 09 09 2a 73 74 | 72 2b 2b 3b 0a 09 7d 0a |);...*st|r++;..}.|
|00005330| 09 72 65 74 75 72 6e 28 | 46 41 4c 53 45 29 3b 0a |.return(|FALSE);.|
|00005340| 7d 0a 0a 2f 2a 0a 20 2a | 20 6c 69 6e 65 70 72 69 |}../*. *| linepri|
|00005350| 6e 74 20 2d 20 70 72 69 | 6e 74 20 6d 73 67 20 69 |nt - pri|nt msg i|
|00005360| 6e 20 61 20 6e 69 63 65 | 20 6c 69 6e 65 0a 20 2a |n a nice| line. *|
|00005370| 2f 0a 0a 6c 69 6e 65 70 | 72 69 6e 74 28 6d 73 67 |/..linep|rint(msg|
|00005380| 29 0a 63 68 61 72 20 2a | 6d 73 67 3b 0a 7b 0a 09 |).char *|msg;.{..|
|00005390| 69 6e 74 20 6c 65 6e 2c | 20 6c 65 66 74 2c 20 72 |int len,| left, r|
|000053a0| 69 67 68 74 2c 20 78 3b | 0a 0a 09 6c 65 6e 20 3d |ight, x;|...len =|
|000053b0| 20 73 74 72 6c 65 6e 28 | 6d 73 67 29 3b 0a 09 72 | strlen(|msg);..r|
|000053c0| 69 67 68 74 20 3d 20 28 | 37 35 2d 6c 65 6e 29 2f |ight = (|75-len)/|
|000053d0| 32 3b 0a 09 6c 65 66 74 | 20 3d 20 72 69 67 68 74 |2;..left| = right|
|000053e0| 3b 0a 09 66 6f 72 28 78 | 20 3d 20 30 3b 20 78 20 |;..for(x| = 0; x |
|000053f0| 3c 20 72 69 67 68 74 3b | 20 2b 2b 78 29 0a 09 09 |< right;| ++x)...|
|00005400| 70 75 74 63 68 61 72 28 | 27 2d 27 29 3b 0a 09 70 |putchar(|'-');..p|
|00005410| 72 69 6e 74 66 28 22 5b | 20 25 73 20 5d 22 2c 20 |rintf("[| %s ]", |
|00005420| 6d 73 67 29 3b 0a 09 66 | 6f 72 28 78 20 3d 20 30 |msg);..f|or(x = 0|
|00005430| 3b 20 78 20 3c 20 6c 65 | 66 74 3b 20 2b 2b 78 29 |; x < le|ft; ++x)|
|00005440| 0a 09 09 70 75 74 63 68 | 61 72 28 27 2d 27 29 3b |...putch|ar('-');|
|00005450| 0a 09 70 75 74 63 68 61 | 72 28 27 5c 6e 27 29 3b |..putcha|r('\n');|
|00005460| 0a 7d 0a 0a 2f 2a 0a 20 | 2a 20 66 61 74 61 6c 20 |.}../*. |* fatal |
|00005470| 2d 20 70 72 69 6e 74 20 | 65 72 72 6f 72 20 61 6e |- print |error an|
|00005480| 64 20 74 68 65 6e 20 65 | 78 69 74 28 31 29 2e 0a |d then e|xit(1)..|
|00005490| 20 2a 2f 0a 66 61 74 61 | 6c 28 66 6f 72 6d 61 74 | */.fata|l(format|
|000054a0| 2c 20 73 74 72 29 0a 63 | 68 61 72 20 2a 66 6f 72 |, str).c|har *for|
|000054b0| 6d 61 74 3b 0a 7b 0a 09 | 73 74 61 74 69 63 20 63 |mat;.{..|static c|
|000054c0| 68 61 72 20 6e 61 6d 65 | 66 6d 74 5b 31 30 30 5d |har name|fmt[100]|
|000054d0| 3b 0a 0a 09 73 70 72 69 | 6e 74 66 28 6e 61 6d 65 |;...spri|ntf(name|
|000054e0| 66 6d 74 2c 20 22 25 73 | 3a 20 25 73 5c 6e 22 2c |fmt, "%s|: %s\n",|
|000054f0| 20 70 72 6f 67 6e 61 6d | 65 2c 20 66 6f 72 6d 61 | prognam|e, forma|
|00005500| 74 29 3b 0a 09 5f 64 6f | 70 72 6e 74 28 6e 61 6d |t);.._do|prnt(nam|
|00005510| 65 66 6d 74 2c 20 26 73 | 74 72 2c 20 73 74 64 65 |efmt, &s|tr, stde|
|00005520| 72 72 29 3b 0a 09 65 78 | 69 74 28 31 29 3b 0a 7d |rr);..ex|it(1);.}|
|00005530| 0a 0a 2f 2a 0a 20 2a 20 | 7a 61 70 20 73 74 72 20 |../*. * |zap str |
|00005540| 77 69 74 68 20 4e 55 4c | 4c 27 73 0a 20 2a 2f 0a |with NUL|L's. */.|
|00005550| 0a 7a 61 70 28 73 74 72 | 29 0a 63 68 61 72 20 73 |.zap(str|).char s|
|00005560| 74 72 5b 5d 3b 0a 7b 0a | 09 69 6e 74 20 69 2c 20 |tr[];.{.|.int i, |
|00005570| 78 3b 0a 0a 09 69 20 3d | 20 73 74 72 6c 65 6e 28 |x;...i =| strlen(|
|00005580| 73 74 72 29 3b 0a 09 66 | 6f 72 28 78 20 3d 20 30 |str);..f|or(x = 0|
|00005590| 3b 20 78 20 3c 3d 20 69 | 3b 20 29 0a 09 09 73 74 |; x <= i|; )...st|
|000055a0| 72 5b 78 2b 2b 5d 20 3d | 20 4e 55 4c 4c 3b 0a 7d |r[x++] =| NULL;.}|
|000055b0| 0a 0a 2f 2a 0a 20 2a 20 | 67 65 74 20 74 65 6d 70 |../*. * |get temp|
|000055c0| 6c 61 74 65 20 6e 61 6d | 65 73 0a 20 2a 2f 0a 0a |late nam|es. */..|
|000055d0| 67 65 74 5f 74 65 6d 70 | 28 29 0a 7b 0a 09 7a 61 |get_temp|().{..za|
|000055e0| 70 28 74 62 75 66 29 3b | 0a 09 69 66 28 6d 66 6c |p(tbuf);|..if(mfl|
|000055f0| 61 67 29 0a 09 09 73 74 | 72 63 70 79 28 74 62 75 |ag)...st|rcpy(tbu|
|00005600| 66 2c 20 74 65 6d 70 6c | 61 74 65 5f 6d 61 6b 65 |f, templ|ate_make|
|00005610| 29 3b 0a 09 69 66 28 4d | 66 6c 61 67 29 0a 09 09 |);..if(M|flag)...|
|00005620| 73 74 72 63 70 79 28 74 | 62 75 66 2c 20 74 65 6d |strcpy(t|buf, tem|
|00005630| 70 6c 61 74 65 5f 6d 61 | 6e 29 3b 0a 09 69 66 28 |plate_ma|n);..if(|
|00005640| 68 66 6c 61 67 29 0a 09 | 09 73 74 72 63 70 79 28 |hflag)..|.strcpy(|
|00005650| 74 62 75 66 2c 20 74 65 | 6d 70 6c 61 74 65 5f 68 |tbuf, te|mplate_h|
|00005660| 29 3b 0a 09 69 66 28 63 | 66 6c 61 67 29 0a 09 09 |);..if(c|flag)...|
|00005670| 73 74 72 63 70 79 28 74 | 62 75 66 2c 20 74 65 6d |strcpy(t|buf, tem|
|00005680| 70 6c 61 74 65 5f 63 29 | 3b 0a 09 69 66 28 73 66 |plate_c)|;..if(sf|
|00005690| 6c 61 67 29 0a 09 09 73 | 74 72 63 70 79 28 74 62 |lag)...s|trcpy(tb|
|000056a0| 75 66 2c 20 74 65 6d 70 | 6c 61 74 65 5f 73 68 29 |uf, temp|late_sh)|
|000056b0| 3b 0a 09 69 66 28 66 66 | 6c 61 67 29 0a 09 09 73 |;..if(ff|lag)...s|
|000056c0| 74 72 63 70 79 28 74 62 | 75 66 2c 20 74 65 6d 70 |trcpy(tb|uf, temp|
|000056d0| 6c 61 74 65 5f 66 29 3b | 0a 7d 0a 53 48 41 52 5f |late_f);|.}.SHAR_|
|000056e0| 45 4f 46 0a 69 66 20 74 | 65 73 74 20 2d 66 20 27 |EOF.if t|est -f '|
|000056f0| 5f 2e 74 65 6d 70 6c 61 | 74 65 2e 63 27 0a 74 68 |_.templa|te.c'.th|
|00005700| 65 6e 0a 09 65 63 68 6f | 20 73 68 61 72 3a 20 6f |en..echo| shar: o|
|00005710| 76 65 72 2d 77 72 69 74 | 69 6e 67 20 65 78 69 73 |ver-writ|ing exis|
|00005720| 74 69 6e 67 20 66 69 6c | 65 20 22 27 5f 2e 74 65 |ting fil|e "'_.te|
|00005730| 6d 70 6c 61 74 65 2e 63 | 27 22 0a 66 69 0a 63 61 |mplate.c|'".fi.ca|
|00005740| 74 20 3c 3c 20 5c 53 48 | 41 52 5f 45 4f 46 20 3e |t << \SH|AR_EOF >|
|00005750| 20 27 5f 2e 74 65 6d 70 | 6c 61 74 65 2e 63 27 0a | '_.temp|late.c'.|
|00005760| 2f 2a 0a 20 2a 20 24 48 | 65 61 64 65 72 24 0a 20 |/*. * $H|eader$. |
|00005770| 2a 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |*-------|--------|
|00005780| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005790| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000057a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000057b0| 2d 2d 2d 0a 20 2a 0a 20 | 2a 20 24 53 6f 75 72 63 |---. *. |* $Sourc|
|000057c0| 65 24 0a 20 2a 20 24 52 | 65 76 69 73 69 6f 6e 24 |e$. * $R|evision$|
|000057d0| 0a 20 2a 20 24 44 61 74 | 65 24 0a 20 2a 20 24 53 |. * $Dat|e$. * $S|
|000057e0| 74 61 74 65 24 0a 20 2a | 20 24 41 75 74 68 6f 72 |tate$. *| $Author|
|000057f0| 24 0a 20 2a 20 24 4c 6f | 63 6b 65 72 24 0a 20 2a |$. * $Lo|cker$. *|
|00005800| 0a 20 2a 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |. *-----|--------|
|00005810| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005820| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005830| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005840| 2d 2d 2d 2d 2d 0a 20 2a | 0a 20 2a 20 4d 69 63 68 |-----. *|. * Mich|
|00005850| 61 65 6c 20 43 6f 6f 70 | 65 72 20 28 6d 63 6f 6f |ael Coop|er (mcoo|
|00005860| 70 65 72 40 75 73 63 2d | 6f 62 65 72 6f 6e 2e 61 |per@usc-|oberon.a|
|00005870| 72 70 61 29 0a 20 2a 20 | 55 6e 69 76 65 72 73 69 |rpa). * |Universi|
|00005880| 74 79 20 43 6f 6d 70 75 | 74 69 6e 67 20 53 65 72 |ty Compu|ting Ser|
|00005890| 76 69 63 65 73 2c 0a 20 | 2a 20 55 6e 69 76 65 72 |vices,. |* Univer|
|000058a0| 73 69 74 79 20 6f 66 20 | 53 6f 75 74 68 65 72 6e |sity of |Southern|
|000058b0| 20 43 61 6c 69 66 6f 72 | 6e 69 61 2c 0a 20 2a 20 | Califor|nia,. * |
|000058c0| 4c 6f 73 20 41 6e 67 65 | 6c 65 73 2c 20 43 61 6c |Los Ange|les, Cal|
|000058d0| 69 66 6f 72 6e 69 61 2c | 20 20 20 39 30 30 38 39 |ifornia,| 90089|
|000058e0| 2d 30 32 35 31 0a 20 2a | 20 28 32 31 33 29 20 37 |-0251. *| (213) 7|
|000058f0| 34 33 2d 33 34 36 39 0a | 20 2a 0a 20 2a 2d 2d 2d |43-3469.| *. *---|
|00005900| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005910| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005920| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005930| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 0a |--------|-------.|
|00005940| 20 2a 20 24 4c 6f 67 24 | 0a 20 2a 2d 2d 2d 2d 2d | * $Log$|. *-----|
|00005950| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005960| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005970| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005980| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 0a 20 2a |--------|-----. *|
|00005990| 2f 0a 0a 53 48 41 52 5f | 45 4f 46 0a 23 09 45 6e |/..SHAR_|EOF.#.En|
|000059a0| 64 20 6f 66 20 73 68 65 | 6c 6c 20 61 72 63 68 69 |d of she|ll archi|
|000059b0| 76 65 0a 65 78 69 74 20 | 30 0a 0a |ve.exit |0.. |
+--------+-------------------------+-------------------------+--------+--------+