home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume4 / rolodex / part1 next >
SHell self-extracting ARchive  |  1986-11-30  |  21.8 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


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

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 73 65 | 69 73 6d 6f 21 74 68 69 |From: se|ismo!thi|
|00000010| 6e 6b 21 6d 61 73 73 61 | 72 20 28 4a 50 20 4d 61 |nk!massa|r (JP Ma|
|00000020| 73 73 61 72 29 0a 53 75 | 62 6a 65 63 74 3a 20 72 |ssar).Su|bject: r|
|00000030| 6f 6c 6f 64 65 78 20 64 | 61 74 61 62 61 73 65 20 |olodex d|atabase |
|00000040| 70 72 6f 67 72 61 6d 20 | 2d 2d 20 70 61 72 74 20 |program |-- part |
|00000050| 31 20 6f 66 20 33 0a 4e | 65 77 73 67 72 6f 75 70 |1 of 3.N|ewsgroup|
|00000060| 73 3a 20 6d 6f 64 2e 73 | 6f 75 72 63 65 73 0a 41 |s: mod.s|ources.A|
|00000070| 70 70 72 6f 76 65 64 3a | 20 6a 70 6e 40 70 61 6e |pproved:| jpn@pan|
|00000080| 64 61 2e 55 55 43 50 0a | 0a 4d 6f 64 2e 73 6f 75 |da.UUCP.|.Mod.sou|
|00000090| 72 63 65 73 3a 20 20 56 | 6f 6c 75 6d 65 20 34 2c |rces: V|olume 4,|
|000000a0| 20 49 73 73 75 65 20 32 | 37 0a 53 75 62 6d 69 74 | Issue 2|7.Submit|
|000000b0| 74 65 64 20 62 79 3a 20 | 69 68 6e 70 34 21 74 68 |ted by: |ihnp4!th|
|000000c0| 69 6e 6b 21 6d 61 73 73 | 61 72 20 28 4a 50 20 4d |ink!mass|ar (JP M|
|000000d0| 61 73 73 61 72 29 0a 0a | 23 21 20 2f 62 69 6e 2f |assar)..|#! /bin/|
|000000e0| 73 68 0a 23 20 54 68 69 | 73 20 69 73 20 61 20 73 |sh.# Thi|s is a s|
|000000f0| 68 65 6c 6c 20 61 72 63 | 68 69 76 65 2c 20 6d 65 |hell arc|hive, me|
|00000100| 61 6e 69 6e 67 3a 0a 23 | 20 31 2e 20 52 65 6d 6f |aning:.#| 1. Remo|
|00000110| 76 65 20 65 76 65 72 79 | 74 68 69 6e 67 20 61 62 |ve every|thing ab|
|00000120| 6f 76 65 20 74 68 65 20 | 23 21 20 2f 62 69 6e 2f |ove the |#! /bin/|
|00000130| 73 68 20 6c 69 6e 65 2e | 0a 23 20 32 2e 20 53 61 |sh line.|.# 2. Sa|
|00000140| 76 65 20 74 68 65 20 72 | 65 73 75 6c 74 69 6e 67 |ve the r|esulting|
|00000150| 20 74 65 78 74 20 69 6e | 20 61 20 66 69 6c 65 2e | text in| a file.|
|00000160| 0a 23 20 33 2e 20 45 78 | 65 63 75 74 65 20 74 68 |.# 3. Ex|ecute th|
|00000170| 65 20 66 69 6c 65 20 77 | 69 74 68 20 2f 62 69 6e |e file w|ith /bin|
|00000180| 2f 73 68 20 28 6e 6f 74 | 20 63 73 68 29 20 74 6f |/sh (not| csh) to|
|00000190| 20 63 72 65 61 74 65 20 | 74 68 65 20 66 69 6c 65 | create |the file|
|000001a0| 73 3a 0a 23 09 52 45 41 | 44 4d 45 0a 23 09 72 6f |s:.#.REA|DME.#.ro|
|000001b0| 6c 6f 2e 31 0a 23 09 4d | 61 6b 65 66 69 6c 65 0a |lo.1.#.M|akefile.|
|000001c0| 23 09 68 65 6c 70 6c 69 | 62 0a 23 20 54 68 69 73 |#.helpli|b.# This|
|000001d0| 20 61 72 63 68 69 76 65 | 20 63 72 65 61 74 65 64 | archive| created|
|000001e0| 3a 20 54 68 75 20 4d 61 | 72 20 31 33 20 31 38 3a |: Thu Ma|r 13 18:|
|000001f0| 32 39 3a 35 30 20 31 39 | 38 36 0a 65 78 70 6f 72 |29:50 19|86.expor|
|00000200| 74 20 50 41 54 48 3b 20 | 50 41 54 48 3d 2f 62 69 |t PATH; |PATH=/bi|
|00000210| 6e 3a 24 50 41 54 48 0a | 65 63 68 6f 20 73 68 61 |n:$PATH.|echo sha|
|00000220| 72 3a 20 65 78 74 72 61 | 63 74 69 6e 67 20 22 27 |r: extra|cting "'|
|00000230| 52 45 41 44 4d 45 27 22 | 20 27 28 31 36 39 33 20 |README'"| '(1693 |
|00000240| 63 68 61 72 61 63 74 65 | 72 73 29 27 0a 69 66 20 |characte|rs)'.if |
|00000250| 74 65 73 74 20 2d 66 20 | 27 52 45 41 44 4d 45 27 |test -f |'README'|
|00000260| 0a 74 68 65 6e 0a 09 65 | 63 68 6f 20 73 68 61 72 |.then..e|cho shar|
|00000270| 3a 20 77 69 6c 6c 20 6e | 6f 74 20 6f 76 65 72 2d |: will n|ot over-|
|00000280| 77 72 69 74 65 20 65 78 | 69 73 74 69 6e 67 20 66 |write ex|isting f|
|00000290| 69 6c 65 20 22 27 52 45 | 41 44 4d 45 27 22 0a 65 |ile "'RE|ADME'".e|
|000002a0| 6c 73 65 0a 63 61 74 20 | 3c 3c 20 5c 53 48 41 52 |lse.cat |<< \SHAR|
|000002b0| 5f 45 4f 46 20 3e 20 27 | 52 45 41 44 4d 45 27 0a |_EOF > '|README'.|
|000002c0| 54 68 69 73 20 69 73 20 | 61 6e 20 6f 6e 6c 69 6e |This is |an onlin|
|000002d0| 65 20 72 6f 6c 6f 64 65 | 78 20 70 72 6f 67 72 61 |e rolode|x progra|
|000002e0| 6d 20 74 68 61 74 20 68 | 61 73 20 62 65 65 6e 20 |m that h|as been |
|000002f0| 75 73 65 64 20 68 65 72 | 65 20 61 74 20 54 68 69 |used her|e at Thi|
|00000300| 6e 6b 69 6e 67 0a 4d 61 | 63 68 69 6e 65 73 20 43 |nking.Ma|chines C|
|00000310| 6f 72 70 6f 72 61 74 69 | 6f 6e 20 66 6f 72 20 71 |orporati|on for q|
|00000320| 75 69 74 65 20 61 20 77 | 68 69 6c 65 2e 20 20 4c |uite a w|hile. L|
|00000330| 6f 74 27 73 20 6f 66 20 | 70 65 6f 70 6c 65 20 66 |ot's of |people f|
|00000340| 69 6e 64 20 69 74 20 76 | 65 72 79 0a 75 73 65 66 |ind it v|ery.usef|
|00000350| 75 6c 20 61 6e 64 20 49 | 20 68 61 76 65 20 6e 65 |ul and I| have ne|
|00000360| 76 65 72 20 68 61 64 20 | 61 6e 79 20 70 72 6f 62 |ver had |any prob|
|00000370| 6c 65 6d 73 20 77 69 74 | 68 20 69 74 2e 0a 0a 54 |lems wit|h it...T|
|00000380| 68 69 73 20 63 6f 64 65 | 20 68 61 73 20 6f 6e 6c |his code| has onl|
|00000390| 79 20 62 65 65 6e 20 74 | 65 73 74 65 64 20 6f 6e |y been t|ested on|
|000003a0| 20 42 53 44 34 32 20 6f | 6e 20 61 20 56 41 58 2e | BSD42 o|n a VAX.|
|000003b0| 20 20 49 74 20 64 65 66 | 69 6e 69 74 65 6c 79 20 | It def|initely |
|000003c0| 77 69 6c 6c 0a 6e 6f 74 | 20 77 6f 72 6b 20 75 6e |will.not| work un|
|000003d0| 64 65 72 20 53 79 73 74 | 65 6d 20 56 2c 20 61 6c |der Syst|em V, al|
|000003e0| 74 68 6f 75 67 68 20 49 | 20 68 61 76 65 20 69 6e |though I| have in|
|000003f0| 63 6c 75 64 65 64 20 61 | 20 22 73 79 73 35 2e 68 |cluded a| "sys5.h|
|00000400| 22 20 74 6f 20 73 74 61 | 72 74 0a 74 68 69 6e 67 |" to sta|rt.thing|
|00000410| 73 20 67 6f 69 6e 67 2e | 0a 0a 49 6e 73 74 72 75 |s going.|..Instru|
|00000420| 63 74 69 6f 6e 73 20 6f | 6e 20 68 6f 77 20 74 6f |ctions o|n how to|
|00000430| 20 69 6e 73 74 61 6c 6c | 3a 0a 0a 31 2e 20 20 54 | install|:..1. T|
|00000440| 68 69 73 20 70 72 6f 67 | 72 61 6d 20 73 68 6f 75 |his prog|ram shou|
|00000450| 6c 64 20 68 61 76 65 20 | 63 6f 6d 65 20 69 6e 20 |ld have |come in |
|00000460| 33 20 70 61 72 74 73 2e | 20 20 43 68 6f 6f 73 65 |3 parts.| Choose|
|00000470| 20 61 6e 20 65 6d 70 74 | 79 20 64 69 72 65 63 74 | an empt|y direct|
|00000480| 6f 72 79 2c 0a 20 20 20 | 20 61 6e 64 20 75 6e 73 |ory,. | and uns|
|00000490| 68 61 72 20 74 68 65 6d | 20 61 6c 6c 2e 20 20 43 |har them| all. C|
|000004a0| 68 65 63 6b 20 74 68 65 | 20 4d 61 6b 65 66 69 6c |heck the| Makefil|
|000004b0| 65 2c 20 79 6f 75 20 6d | 61 79 20 77 61 6e 74 20 |e, you m|ay want |
|000004c0| 74 6f 20 73 65 6c 65 63 | 74 0a 20 20 20 20 65 69 |to selec|t. ei|
|000004d0| 74 68 65 72 20 54 45 52 | 4d 43 41 50 20 6f 72 20 |ther TER|MCAP or |
|000004e0| 54 45 52 4d 49 4e 46 4f | 2e 0a 0a 32 2e 20 20 50 |TERMINFO|...2. P|
|000004f0| 69 63 6b 20 61 20 6c 69 | 62 72 61 72 79 20 73 75 |ick a li|brary su|
|00000500| 62 64 69 72 65 63 74 6f | 72 79 20 77 68 65 72 65 |bdirecto|ry where|
|00000510| 20 74 68 65 20 68 65 6c | 70 20 61 6e 64 20 6d 65 | the hel|p and me|
|00000520| 6e 75 20 66 69 6c 65 73 | 20 77 69 6c 6c 20 67 6f |nu files| will go|
|00000530| 2e 0a 20 20 20 20 28 53 | 61 79 20 2f 75 73 72 2f |.. (S|ay /usr/|
|00000540| 6c 6f 63 61 6c 2f 6c 69 | 62 2f 72 6f 6c 6f 29 2e |local/li|b/rolo).|
|00000550| 20 20 45 64 69 74 20 74 | 68 65 20 4d 61 6b 65 66 | Edit t|he Makef|
|00000560| 69 6c 65 20 61 6e 64 20 | 63 68 61 6e 67 65 20 74 |ile and |change t|
|00000570| 68 65 20 64 65 66 69 6e | 69 74 69 6f 6e 0a 20 20 |he defin|ition. |
|00000580| 20 20 6f 66 20 52 4f 4c | 4f 4c 49 42 20 74 6f 20 | of ROL|OLIB to |
|00000590| 74 68 61 74 20 70 61 74 | 68 2e 20 20 28 44 6f 20 |that pat|h. (Do |
|000005a0| 6e 6f 74 20 6c 65 61 76 | 65 20 69 74 20 61 73 20 |not leav|e it as |
|000005b0| 69 73 21 29 2e 0a 0a 33 | 2e 20 20 43 72 65 61 74 |is!)...3|. Creat|
|000005c0| 65 20 74 68 65 20 64 69 | 72 65 63 74 6f 72 79 20 |e the di|rectory |
|000005d0| 61 6e 64 20 6d 6f 76 65 | 20 61 6c 6c 20 74 68 65 |and move| all the|
|000005e0| 20 66 69 6c 65 73 20 69 | 6e 20 68 65 6c 70 6c 69 | files i|n helpli|
|000005f0| 62 20 74 6f 20 74 68 69 | 73 20 64 69 72 65 63 74 |b to thi|s direct|
|00000600| 6f 72 79 2e 0a 0a 34 2e | 20 20 50 69 63 6b 20 74 |ory...4.| Pick t|
|00000610| 68 65 20 61 70 70 72 6f | 70 72 69 61 74 65 20 70 |he appro|priate p|
|00000620| 6c 61 63 65 20 69 6e 20 | 79 6f 75 72 20 6d 61 6e |lace in |your man|
|00000630| 75 61 6c 20 68 69 65 72 | 61 72 63 68 79 20 77 68 |ual hier|archy wh|
|00000640| 65 72 65 20 74 68 65 20 | 6d 61 6e 0a 20 20 20 20 |ere the |man. |
|00000650| 70 61 67 65 20 73 68 6f | 75 6c 64 20 67 6f 2e 20 |page sho|uld go. |
|00000660| 20 41 64 6a 75 73 74 20 | 4d 53 20 61 6e 64 20 4d | Adjust |MS and M|
|00000670| 41 4e 20 69 6e 20 74 68 | 65 20 4d 61 6b 65 66 69 |AN in th|e Makefi|
|00000680| 6c 65 20 61 63 63 6f 72 | 64 69 6e 67 6c 79 2e 0a |le accor|dingly..|
|00000690| 0a 35 2e 20 20 50 69 63 | 6b 20 74 68 65 20 61 70 |.5. Pic|k the ap|
|000006a0| 70 72 6f 70 72 69 61 74 | 65 20 70 6c 61 63 65 20 |propriat|e place |
|000006b0| 77 68 65 72 65 20 74 68 | 65 20 65 78 65 63 75 74 |where th|e execut|
|000006c0| 61 62 6c 65 20 73 68 6f | 75 6c 64 20 6c 69 76 65 |able sho|uld live|
|000006d0| 2e 20 20 41 64 6a 75 73 | 74 0a 20 20 20 20 42 49 |. Adjus|t. BI|
|000006e0| 4e 20 69 6e 20 74 68 65 | 20 4d 61 6b 65 66 69 6c |N in the| Makefil|
|000006f0| 65 20 61 63 63 6f 72 64 | 69 6e 67 6c 79 2e 0a 0a |e accord|ingly...|
|00000700| 36 2e 20 20 45 64 69 74 | 20 74 68 65 20 6d 61 6e |6. Edit| the man|
|00000710| 75 61 6c 20 70 61 67 65 | 20 28 63 74 6f 6f 6c 73 |ual page| (ctools|
|00000720| 2e 31 29 20 69 66 20 79 | 6f 75 20 77 69 73 68 20 |.1) if y|ou wish |
|00000730| 74 6f 20 63 68 61 6e 67 | 65 20 74 68 65 20 46 49 |to chang|e the FI|
|00000740| 4c 45 53 0a 20 20 20 20 | 73 65 63 74 69 6f 6e 20 |LES. |section |
|00000750| 74 6f 20 70 6f 69 6e 74 | 20 74 6f 20 74 68 65 20 |to point| to the |
|00000760| 64 69 72 65 63 74 6f 72 | 69 65 73 20 79 6f 75 20 |director|ies you |
|00000770| 73 65 6c 65 63 74 65 64 | 2e 0a 0a 37 2e 20 20 54 |selected|...7. T|
|00000780| 79 70 65 20 27 6d 61 6b | 65 20 6d 61 6e 27 20 61 |ype 'mak|e man' a|
|00000790| 6e 64 20 72 65 61 64 20 | 74 68 65 20 6d 61 6e 75 |nd read |the manu|
|000007a0| 61 6c 20 70 61 67 65 2e | 0a 0a 38 2e 20 20 54 79 |al page.|..8. Ty|
|000007b0| 70 65 20 27 6d 61 6b 65 | 27 2e 20 20 0a 0a 39 2e |pe 'make|'. ..9.|
|000007c0| 20 20 54 79 70 65 20 27 | 72 6f 6c 6f 27 20 61 6e | Type '|rolo' an|
|000007d0| 64 20 74 72 79 20 6f 75 | 74 20 74 68 65 20 72 6f |d try ou|t the ro|
|000007e0| 6c 6f 64 65 78 20 70 72 | 6f 67 72 61 6d 21 0a 0a |lodex pr|ogram!..|
|000007f0| 31 30 2e 20 20 54 79 70 | 65 20 27 6d 61 6b 65 20 |10. Typ|e 'make |
|00000800| 69 6e 73 74 61 6c 6c 27 | 2e 0a 0a 31 31 2e 20 54 |install'|...11. T|
|00000810| 79 70 65 20 27 6d 61 6b | 65 20 63 6c 65 61 6e 27 |ype 'mak|e clean'|
|00000820| 2e 0a 0a 0a 54 68 65 20 | 66 69 6c 65 73 20 63 74 |....The |files ct|
|00000830| 6f 6f 6c 73 2e 63 20 61 | 6e 64 20 63 74 6f 6f 6c |ools.c a|nd ctool|
|00000840| 73 2e 68 20 69 6e 20 74 | 68 65 20 74 6f 6f 6c 73 |s.h in t|he tools|
|00000850| 64 69 72 20 64 69 72 65 | 63 74 6f 72 79 20 61 72 |dir dire|ctory ar|
|00000860| 65 20 75 73 65 66 75 6c | 20 69 6e 0a 74 68 65 69 |e useful| in.thei|
|00000870| 72 20 6f 77 6e 20 72 69 | 67 68 74 2c 20 61 73 20 |r own ri|ght, as |
|00000880| 74 68 65 79 20 63 6f 6e | 74 61 69 6e 20 6d 61 6e |they con|tain man|
|00000890| 79 20 6c 69 74 74 6c 65 | 20 75 73 65 66 75 6c 20 |y little| useful |
|000008a0| 73 74 72 69 6e 67 20 6d | 61 6e 69 70 75 6c 61 74 |string m|anipulat|
|000008b0| 69 6f 6e 0a 72 6f 75 74 | 69 6e 65 73 20 61 6e 64 |ion.rout|ines and|
|000008c0| 20 6f 74 68 65 72 20 67 | 6f 6f 64 69 65 73 2e 20 | other g|oodies. |
|000008d0| 20 59 6f 75 20 6d 69 67 | 68 74 20 77 69 73 68 20 | You mig|ht wish |
|000008e0| 74 6f 20 69 6e 73 74 61 | 6c 6c 20 69 74 20 61 73 |to insta|ll it as|
|000008f0| 20 3c 63 74 6f 6f 6c 73 | 2e 68 3e 0a 61 6e 64 20 | <ctools|.h>.and |
|00000900| 2d 6c 63 74 6f 6f 6c 73 | 20 61 73 20 69 73 20 64 |-lctools| as is d|
|00000910| 6f 6e 65 20 68 65 72 65 | 2e 0a 0a 50 72 6f 62 6c |one here|...Probl|
|00000920| 65 6d 73 2c 20 62 75 67 | 73 20 61 6e 64 20 68 61 |ems, bug|s and ha|
|00000930| 63 6b 73 20 74 6f 3a 0a | 0a 6d 61 73 73 61 72 40 |cks to:.|.massar@|
|00000940| 74 68 69 6e 6b 2e 63 6f | 6d 0a 69 68 6e 70 34 21 |think.co|m.ihnp4!|
|00000950| 74 68 69 6e 6b 21 6d 61 | 73 73 61 72 0a 53 48 41 |think!ma|ssar.SHA|
|00000960| 52 5f 45 4f 46 0a 69 66 | 20 74 65 73 74 20 31 36 |R_EOF.if| test 16|
|00000970| 39 33 20 2d 6e 65 20 22 | 60 77 63 20 2d 63 20 3c |93 -ne "|`wc -c <|
|00000980| 20 27 52 45 41 44 4d 45 | 27 60 22 0a 74 68 65 6e | 'README|'`".then|
|00000990| 0a 09 65 63 68 6f 20 73 | 68 61 72 3a 20 65 72 72 |..echo s|har: err|
|000009a0| 6f 72 20 74 72 61 6e 73 | 6d 69 74 74 69 6e 67 20 |or trans|mitting |
|000009b0| 22 27 52 45 41 44 4d 45 | 27 22 20 27 28 73 68 6f |"'README|'" '(sho|
|000009c0| 75 6c 64 20 68 61 76 65 | 20 62 65 65 6e 20 31 36 |uld have| been 16|
|000009d0| 39 33 20 63 68 61 72 61 | 63 74 65 72 73 29 27 0a |93 chara|cters)'.|
|000009e0| 66 69 0a 66 69 0a 65 63 | 68 6f 20 73 68 61 72 3a |fi.fi.ec|ho shar:|
|000009f0| 20 65 78 74 72 61 63 74 | 69 6e 67 20 22 27 72 6f | extract|ing "'ro|
|00000a00| 6c 6f 2e 31 27 22 20 27 | 28 31 39 33 35 20 63 68 |lo.1'" '|(1935 ch|
|00000a10| 61 72 61 63 74 65 72 73 | 29 27 0a 69 66 20 74 65 |aracters|)'.if te|
|00000a20| 73 74 20 2d 66 20 27 72 | 6f 6c 6f 2e 31 27 0a 74 |st -f 'r|olo.1'.t|
|00000a30| 68 65 6e 0a 09 65 63 68 | 6f 20 73 68 61 72 3a 20 |hen..ech|o shar: |
|00000a40| 77 69 6c 6c 20 6e 6f 74 | 20 6f 76 65 72 2d 77 72 |will not| over-wr|
|00000a50| 69 74 65 20 65 78 69 73 | 74 69 6e 67 20 66 69 6c |ite exis|ting fil|
|00000a60| 65 20 22 27 72 6f 6c 6f | 2e 31 27 22 0a 65 6c 73 |e "'rolo|.1'".els|
|00000a70| 65 0a 63 61 74 20 3c 3c | 20 5c 53 48 41 52 5f 45 |e.cat <<| \SHAR_E|
|00000a80| 4f 46 20 3e 20 27 72 6f | 6c 6f 2e 31 27 0a 2e 54 |OF > 'ro|lo.1'..T|
|00000a90| 48 20 52 4f 4c 4f 20 31 | 20 22 36 20 44 65 63 65 |H ROLO 1| "6 Dece|
|00000aa0| 6d 62 65 72 20 31 39 38 | 34 22 0a 2e 55 43 20 34 |mber 198|4"..UC 4|
|00000ab0| 0a 2e 53 48 20 4e 41 4d | 45 0a 72 6f 6c 6f 20 5c |..SH NAM|E.rolo \|
|00000ac0| 2d 20 75 73 65 20 61 6e | 20 6f 6e 6c 69 6e 65 20 |- use an| online |
|00000ad0| 72 6f 6c 6f 64 65 78 2c | 20 63 6f 6e 74 61 69 6e |rolodex,| contain|
|00000ae0| 69 6e 67 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 20 |ing info|rmation |
|00000af0| 61 62 6f 75 74 20 70 65 | 6f 70 6c 65 2e 0a 2e 53 |about pe|ople...S|
|00000b00| 48 20 53 59 4e 4f 50 53 | 49 53 0a 2e 42 20 72 6f |H SYNOPS|IS..B ro|
|00000b10| 6c 6f 0a 5b 20 6e 61 6d | 65 31 20 6e 61 6d 65 32 |lo.[ nam|e1 name2|
|00000b20| 20 2e 2e 2e 20 5c 2d 75 | 20 6f 74 68 65 72 75 73 | ... \-u| otherus|
|00000b30| 65 72 20 5c 2d 73 20 5c | 2d 6c 20 5d 0a 2e 53 48 |er \-s \|-l ]..SH|
|00000b40| 20 44 45 53 43 52 49 50 | 54 49 4f 4e 0a 42 79 20 | DESCRIP|TION.By |
|00000b50| 64 65 66 61 75 6c 74 0a | 2e 49 20 72 6f 6c 6f 0a |default.|.I rolo.|
|00000b60| 72 65 61 64 73 20 69 6e | 20 61 20 72 6f 6c 6f 64 |reads in| a rolod|
|00000b70| 65 78 20 64 61 74 61 20 | 66 69 6c 65 20 66 72 6f |ex data |file fro|
|00000b80| 6d 20 74 68 65 20 75 73 | 65 72 27 73 20 68 6f 6d |m the us|er's hom|
|00000b90| 65 20 64 69 72 65 63 74 | 6f 72 79 2c 20 70 72 69 |e direct|ory, pri|
|00000ba0| 6e 74 73 0a 6f 75 74 20 | 61 20 6d 65 6e 75 20 6f |nts.out |a menu o|
|00000bb0| 66 20 63 68 6f 69 63 65 | 73 2c 20 61 6e 64 20 6c |f choice|s, and l|
|00000bc0| 65 74 73 20 74 68 65 20 | 75 73 65 72 20 73 63 61 |ets the |user sca|
|00000bd0| 6e 2c 20 75 70 64 61 74 | 65 2c 20 64 65 6c 65 74 |n, updat|e, delet|
|00000be0| 65 20 61 6e 64 20 61 64 | 64 20 74 6f 0a 68 69 73 |e and ad|d to.his|
|00000bf0| 20 70 65 72 73 6f 6e 61 | 6c 20 64 61 74 61 62 61 | persona|l databa|
|00000c00| 73 65 20 6f 66 20 70 65 | 6f 70 6c 65 2e 20 20 49 |se of pe|ople. I|
|00000c10| 66 20 6e 6f 20 72 6f 6c | 6f 64 65 78 20 64 61 74 |f no rol|odex dat|
|00000c20| 61 62 61 73 65 20 65 78 | 69 73 74 73 20 6f 6e 65 |abase ex|ists one|
|00000c30| 0a 69 73 20 63 72 65 61 | 74 65 64 2e 0a 2e 49 20 |.is crea|ted...I |
|00000c40| 72 6f 6c 6f 0a 63 68 65 | 63 6b 73 20 74 6f 20 73 |rolo.che|cks to s|
|00000c50| 65 65 20 74 68 61 74 20 | 74 68 65 20 72 6f 6c 6f |ee that |the rolo|
|00000c60| 64 65 78 20 64 61 74 61 | 62 61 73 65 20 69 73 20 |dex data|base is |
|00000c70| 6e 6f 74 20 61 6c 72 65 | 61 64 79 20 69 6e 20 75 |not alre|ady in u|
|00000c80| 73 65 2e 0a 2e 50 50 0a | 54 68 65 20 63 6f 6d 6d |se...PP.|The comm|
|00000c90| 61 6e 64 20 6c 69 6e 65 | 20 6f 70 74 69 6f 6e 73 |and line| options|
|00000ca0| 20 61 72 65 3a 0a 2e 54 | 50 0a 2e 42 20 5c 2d 75 | are:..T|P..B \-u|
|00000cb0| 20 6f 74 68 65 72 75 73 | 65 72 0a 55 73 65 73 20 | otherus|er.Uses |
|00000cc0| 74 68 65 20 72 6f 6c 6f | 64 65 78 20 64 61 74 61 |the rolo|dex data|
|00000cd0| 62 61 73 65 20 69 6e 20 | 74 68 65 20 27 6f 74 68 |base in |the 'oth|
|00000ce0| 65 72 75 73 65 72 27 20 | 68 6f 6d 65 20 64 69 72 |eruser' |home dir|
|00000cf0| 65 63 74 6f 72 79 2e 20 | 20 54 68 69 73 20 6d 61 |ectory. | This ma|
|00000d00| 79 0a 6e 6f 74 20 62 65 | 20 70 6f 73 73 69 62 6c |y.not be| possibl|
|00000d10| 65 20 69 66 20 74 68 65 | 20 64 69 72 65 63 74 6f |e if the| directo|
|00000d20| 72 79 20 6f 72 20 74 68 | 65 20 64 61 74 61 62 61 |ry or th|e databa|
|00000d30| 73 65 20 69 73 20 72 65 | 61 64 20 6f 72 20 77 72 |se is re|ad or wr|
|00000d40| 69 74 65 20 70 72 6f 74 | 65 63 74 65 64 2e 0a 2e |ite prot|ected...|
|00000d50| 54 50 0a 2e 42 20 5c 2d | 73 0a 50 72 69 6e 74 73 |TP..B \-|s.Prints|
|00000d60| 20 70 65 6f 70 6c 65 27 | 73 20 6e 61 6d 65 73 2c | people'|s names,|
|00000d70| 20 77 6f 72 6b 20 70 68 | 6f 6e 65 20 6e 75 6d 62 | work ph|one numb|
|00000d80| 65 72 73 20 61 6e 64 20 | 68 6f 6d 65 20 70 68 6f |ers and |home pho|
|00000d90| 6e 65 20 6e 75 6d 62 65 | 72 73 20 69 6e 20 61 20 |ne numbe|rs in a |
|00000da0| 6e 69 63 65 0a 66 6f 72 | 6d 61 74 20 74 6f 20 73 |nice.for|mat to s|
|00000db0| 74 61 6e 64 61 72 64 20 | 6f 75 74 70 75 74 2e 0a |tandard |output..|
|00000dc0| 2e 54 50 0a 2e 42 20 5c | 2d 6c 0a 4e 6f 72 6d 61 |.TP..B \|-l.Norma|
|00000dd0| 6c 6c 79 20 74 68 65 20 | 72 6f 6c 6f 64 65 78 20 |lly the |rolodex |
|00000de0| 64 61 74 61 62 61 73 65 | 20 69 73 20 6c 6f 63 6b |database| is lock|
|00000df0| 65 64 20 77 68 65 6e 20 | 62 65 69 6e 67 20 75 73 |ed when |being us|
|00000e00| 65 64 2e 20 20 54 68 69 | 73 20 6f 70 74 69 6f 6e |ed. Thi|s option|
|00000e10| 0a 75 6e 6c 6f 63 6b 73 | 20 74 68 65 20 64 61 74 |.unlocks| the dat|
|00000e20| 61 62 61 73 65 20 61 73 | 20 73 6f 6f 6e 20 61 73 |abase as| soon as|
|00000e30| 20 69 74 20 69 73 20 72 | 65 61 64 20 69 6e 2e 20 | it is r|ead in. |
|00000e40| 20 54 68 65 20 5c 2d 73 | 20 6f 70 74 69 6f 6e 20 | The \-s| option |
|00000e50| 69 6d 70 6c 69 65 73 20 | 74 68 69 73 2e 0a 2e 50 |implies |this...P|
|00000e60| 50 0a 49 6e 76 6f 6b 69 | 6e 67 20 0a 2e 49 20 72 |P.Invoki|ng ..I r|
|00000e70| 6f 6c 6f 0a 66 6f 6c 6c | 6f 77 65 64 20 62 79 20 |olo.foll|owed by |
|00000e80| 61 20 6c 69 73 74 20 6f | 66 20 6e 61 6d 65 73 20 |a list o|f names |
|00000e90| 63 61 75 73 65 73 20 0a | 2e 49 0a 72 6f 6c 6f 0a |causes .|.I.rolo.|
|00000ea0| 74 6f 20 73 65 61 72 63 | 68 20 74 68 65 20 64 61 |to searc|h the da|
|00000eb0| 74 61 62 61 73 65 20 66 | 6f 72 20 61 6c 6c 20 70 |tabase f|or all p|
|00000ec0| 65 6f 70 6c 65 20 77 68 | 6f 73 65 20 6e 61 6d 65 |eople wh|ose name|
|00000ed0| 73 20 6f 72 20 63 6f 6d | 70 61 6e 79 0a 61 66 66 |s or com|pany.aff|
|00000ee0| 69 6c 69 61 74 69 6f 6e | 73 20 63 6f 6e 74 61 69 |iliation|s contai|
|00000ef0| 6e 20 61 6e 79 20 6f 66 | 20 74 68 65 20 6e 61 6d |n any of| the nam|
|00000f00| 65 20 61 72 67 75 6d 65 | 6e 74 73 20 61 73 20 73 |e argume|nts as s|
|00000f10| 75 62 73 74 72 69 6e 67 | 73 2e 20 20 41 6c 6c 20 |ubstring|s. All |
|00000f20| 74 68 65 0a 69 6e 66 6f | 72 6d 61 74 69 6f 6e 20 |the.info|rmation |
|00000f30| 61 62 6f 75 74 20 65 61 | 63 68 20 70 65 72 73 6f |about ea|ch perso|
|00000f40| 6e 20 69 73 20 70 72 69 | 6e 74 65 64 20 74 6f 20 |n is pri|nted to |
|00000f50| 73 74 61 6e 64 61 72 64 | 20 6f 75 74 70 75 74 2c |standard| output,|
|00000f60| 20 74 68 65 20 70 72 6f | 67 72 61 6d 0a 70 61 75 | the pro|gram.pau|
|00000f70| 73 69 6e 67 20 61 66 74 | 65 72 20 65 61 63 68 20 |sing aft|er each |
|00000f80| 72 65 63 6f 72 64 20 69 | 73 20 70 72 69 6e 74 65 |record i|s printe|
|00000f90| 64 2e 20 20 55 73 69 6e | 67 20 74 68 69 73 20 66 |d. Usin|g this f|
|00000fa0| 65 61 74 75 72 65 20 63 | 61 75 73 65 73 20 74 68 |eature c|auses th|
|00000fb0| 65 0a 64 61 74 61 62 61 | 73 65 20 74 6f 20 62 65 |e.databa|se to be|
|00000fc0| 63 6f 6d 65 20 75 6e 6c | 6f 63 6b 65 64 2c 20 73 |come unl|ocked, s|
|00000fd0| 69 6e 63 65 20 74 68 69 | 73 20 69 73 20 61 20 72 |ince thi|s is a r|
|00000fe0| 65 61 64 2d 6f 6e 6c 79 | 20 6d 6f 64 65 2e 0a 2e |ead-only| mode...|
|00000ff0| 50 50 0a 45 78 74 65 6e | 73 69 76 65 20 68 65 6c |PP.Exten|sive hel|
|00001000| 70 20 69 73 20 61 76 61 | 69 6c 61 62 6c 65 20 6f |p is ava|ilable o|
|00001010| 6e 2d 6c 69 6e 65 2e 20 | 20 54 79 70 69 6e 67 20 |n-line. | Typing |
|00001020| 27 3f 27 20 6f 72 20 27 | 68 65 6c 70 27 20 77 69 |'?' or '|help' wi|
|00001030| 6c 6c 20 67 65 6e 65 72 | 61 6c 6c 79 0a 70 72 69 |ll gener|ally.pri|
|00001040| 6e 74 20 61 20 68 65 6c | 70 20 66 69 6c 65 20 66 |nt a hel|p file f|
|00001050| 6f 72 20 79 6f 75 2e 0a | 2e 53 48 20 46 49 4c 45 |or you..|.SH FILE|
|00001060| 53 0a 2f 75 73 72 2f 73 | 72 63 2f 6c 6f 63 61 6c |S./usr/s|rc/local|
|00001070| 2f 63 6d 64 2f 72 6f 6c | 6f 20 20 20 20 20 66 6f |/cmd/rol|o fo|
|00001080| 72 20 74 68 65 20 73 6f | 75 72 63 65 2e 0a 2e 50 |r the so|urce...P|
|00001090| 50 0a 2f 75 73 72 2f 6c | 6f 63 61 6c 2f 6c 69 62 |P./usr/l|ocal/lib|
|000010a0| 2f 72 6f 6c 6f 20 20 20 | 20 20 66 6f 72 20 68 65 |/rolo | for he|
|000010b0| 6c 70 20 66 69 6c 65 73 | 2e 0a 2e 50 50 0a 2f 75 |lp files|...PP./u|
|000010c0| 73 72 2f 6c 6f 63 61 6c | 2f 72 6f 6c 6f 20 20 20 |sr/local|/rolo |
|000010d0| 20 20 20 20 20 20 74 68 | 65 20 65 78 65 63 75 74 | th|e execut|
|000010e0| 61 62 6c 65 20 69 6d 61 | 67 65 2e 0a 2e 50 50 0a |able ima|ge...PP.|
|000010f0| 2e 50 50 0a 2e 53 48 20 | 41 55 54 48 4f 52 0a 50 |.PP..SH |AUTHOR.P|
|00001100| 65 74 65 72 20 57 65 62 | 62 20 77 72 6f 74 65 20 |eter Web|b wrote |
|00001110| 74 68 65 20 66 69 72 73 | 74 20 72 6f 6c 6f 64 65 |the firs|t rolode|
|00001120| 78 20 70 72 6f 67 72 61 | 6d 2e 0a 2e 50 50 0a 4a |x progra|m...PP.J|
|00001130| 50 20 4d 61 73 73 61 72 | 20 72 65 76 69 73 65 64 |P Massar| revised|
|00001140| 20 61 6e 64 20 74 68 65 | 6e 20 63 6f 6d 70 6c 65 | and the|n comple|
|00001150| 74 65 20 72 65 77 72 6f | 74 65 20 74 68 69 73 20 |te rewro|te this |
|00001160| 6f 6c 64 65 72 20 76 65 | 72 73 69 6f 6e 2e 0a 4e |older ve|rsion..N|
|00001170| 65 74 20 61 64 64 72 65 | 73 73 3a 20 6d 61 73 73 |et addre|ss: mass|
|00001180| 61 72 40 74 68 69 6e 6b | 2e 63 6f 6d 2c 20 69 68 |ar@think|.com, ih|
|00001190| 6e 70 34 21 74 68 69 6e | 6b 21 6d 61 73 73 61 72 |np4!thin|k!massar|
|000011a0| 2e 0a 2e 53 48 20 42 55 | 47 53 0a 54 68 65 72 65 |...SH BU|GS.There|
|000011b0| 20 69 73 20 6e 6f 20 77 | 61 79 20 74 6f 20 6b 65 | is no w|ay to ke|
|000011c0| 65 70 20 63 65 72 74 61 | 69 6e 20 65 6e 74 72 69 |ep certa|in entri|
|000011d0| 65 73 20 70 72 69 76 61 | 74 65 2e 0a 2e 50 50 0a |es priva|te...PP.|
|000011e0| 59 6f 75 20 63 61 6e 27 | 74 20 67 65 74 20 61 20 |You can'|t get a |
|000011f0| 73 68 6f 72 74 20 73 75 | 6d 6d 61 72 79 20 6f 66 |short su|mmary of|
|00001200| 20 6f 6e 6c 79 20 61 20 | 73 75 62 73 65 74 20 6f | only a |subset o|
|00001210| 66 20 70 65 6f 70 6c 65 | 2e 0a 0a 0a 0a 53 48 41 |f people|.....SHA|
|00001220| 52 5f 45 4f 46 0a 69 66 | 20 74 65 73 74 20 31 39 |R_EOF.if| test 19|
|00001230| 33 35 20 2d 6e 65 20 22 | 60 77 63 20 2d 63 20 3c |35 -ne "|`wc -c <|
|00001240| 20 27 72 6f 6c 6f 2e 31 | 27 60 22 0a 74 68 65 6e | 'rolo.1|'`".then|
|00001250| 0a 09 65 63 68 6f 20 73 | 68 61 72 3a 20 65 72 72 |..echo s|har: err|
|00001260| 6f 72 20 74 72 61 6e 73 | 6d 69 74 74 69 6e 67 20 |or trans|mitting |
|00001270| 22 27 72 6f 6c 6f 2e 31 | 27 22 20 27 28 73 68 6f |"'rolo.1|'" '(sho|
|00001280| 75 6c 64 20 68 61 76 65 | 20 62 65 65 6e 20 31 39 |uld have| been 19|
|00001290| 33 35 20 63 68 61 72 61 | 63 74 65 72 73 29 27 0a |35 chara|cters)'.|
|000012a0| 66 69 0a 66 69 0a 65 63 | 68 6f 20 73 68 61 72 3a |fi.fi.ec|ho shar:|
|000012b0| 20 65 78 74 72 61 63 74 | 69 6e 67 20 22 27 4d 61 | extract|ing "'Ma|
|000012c0| 6b 65 66 69 6c 65 27 22 | 20 27 28 31 31 37 38 20 |kefile'"| '(1178 |
|000012d0| 63 68 61 72 61 63 74 65 | 72 73 29 27 0a 69 66 20 |characte|rs)'.if |
|000012e0| 74 65 73 74 20 2d 66 20 | 27 4d 61 6b 65 66 69 6c |test -f |'Makefil|
|000012f0| 65 27 0a 74 68 65 6e 0a | 09 65 63 68 6f 20 73 68 |e'.then.|.echo sh|
|00001300| 61 72 3a 20 77 69 6c 6c | 20 6e 6f 74 20 6f 76 65 |ar: will| not ove|
|00001310| 72 2d 77 72 69 74 65 20 | 65 78 69 73 74 69 6e 67 |r-write |existing|
|00001320| 20 66 69 6c 65 20 22 27 | 4d 61 6b 65 66 69 6c 65 | file "'|Makefile|
|00001330| 27 22 0a 65 6c 73 65 0a | 63 61 74 20 3c 3c 20 5c |'".else.|cat << \|
|00001340| 53 48 41 52 5f 45 4f 46 | 20 3e 20 27 4d 61 6b 65 |SHAR_EOF| > 'Make|
|00001350| 66 69 6c 65 27 0a 23 20 | 4d 61 6b 65 66 69 6c 65 |file'.# |Makefile|
|00001360| 20 66 6f 72 20 72 6f 6c | 6f 0a 0a 23 20 43 6f 6e | for rol|o..# Con|
|00001370| 66 69 67 75 72 65 20 66 | 6f 72 20 79 6f 75 72 20 |figure f|or your |
|00001380| 74 79 70 65 20 6f 66 20 | 74 65 72 6d 69 6e 61 6c |type of |terminal|
|00001390| 20 63 61 70 61 62 69 6c | 69 74 79 20 64 61 74 61 | capabil|ity data|
|000013a0| 62 61 73 65 2e 20 20 0a | 23 20 20 69 66 20 79 6f |base. .|# if yo|
|000013b0| 75 20 68 61 76 65 20 74 | 65 72 6d 63 61 70 2c 20 |u have t|ermcap, |
|000013c0| 20 73 65 74 20 54 45 52 | 4d 53 54 55 46 46 3d 20 | set TER|MSTUFF= |
|000013d0| 2d 44 54 45 52 4d 43 41 | 50 2c 20 20 61 6e 64 20 |-DTERMCA|P, and |
|000013e0| 4c 49 42 53 3d 20 2d 6c | 74 65 72 6d 63 61 70 0a |LIBS= -l|termcap.|
|000013f0| 23 20 20 69 66 20 79 6f | 75 20 68 61 76 65 20 74 |# if yo|u have t|
|00001400| 65 72 6d 69 6e 66 6f 2c | 20 73 65 74 20 54 45 52 |erminfo,| set TER|
|00001410| 4d 53 54 55 46 46 3d 20 | 2d 44 54 45 52 4d 49 4e |MSTUFF= |-DTERMIN|
|00001420| 46 4f 2c 20 61 6e 64 20 | 4c 49 42 53 3d 20 2d 6c |FO, and |LIBS= -l|
|00001430| 74 65 72 6d 69 6e 66 6f | 0a 23 20 20 69 66 20 79 |terminfo|.# if y|
|00001440| 6f 75 20 64 6f 6e 74 20 | 68 61 76 65 20 65 69 74 |ou dont |have eit|
|00001450| 68 65 72 2c 20 6c 65 61 | 76 65 20 74 68 65 6d 20 |her, lea|ve them |
|00001460| 62 6f 74 68 20 62 6c 61 | 6e 6b 20 28 6f 6e 6c 79 |both bla|nk (only|
|00001470| 20 22 63 6c 65 61 72 5f | 73 63 72 65 65 6e 22 20 | "clear_|screen" |
|00001480| 69 73 20 75 73 65 64 29 | 0a 54 45 52 4d 53 54 55 |is used)|.TERMSTU|
|00001490| 46 46 3d 0a 4c 49 42 53 | 3d 0a 23 0a 43 43 20 3d |FF=.LIBS|=.#.CC =|
|000014a0| 20 63 63 0a 52 4f 4c 4f | 4c 49 42 20 3d 20 5c 22 | cc.ROLO|LIB = \"|
|000014b0| 2e 2f 68 65 6c 70 6c 69 | 62 5c 22 0a 54 4f 4f 4c |./helpli|b\".TOOL|
|000014c0| 44 49 52 20 3d 20 2e 2f | 74 6f 6f 6c 73 64 69 72 |DIR = ./|toolsdir|
|000014d0| 0a 43 46 4c 41 47 53 20 | 3d 20 2d 44 42 53 44 34 |.CFLAGS |= -DBSD4|
|000014e0| 32 20 2d 44 52 4f 4c 4f | 4c 49 42 3d 24 28 52 4f |2 -DROLO|LIB=$(RO|
|000014f0| 4c 4f 4c 49 42 29 20 24 | 28 54 45 52 4d 53 54 55 |LOLIB) $|(TERMSTU|
|00001500| 46 46 29 20 2d 49 24 28 | 54 4f 4f 4c 44 49 52 29 |FF) -I$(|TOOLDIR)|
|00001510| 20 2d 4f 0a 44 42 47 46 | 4c 41 47 20 3d 20 0a 53 | -O.DBGF|LAG = .S|
|00001520| 4f 55 52 43 45 53 20 3d | 20 63 6c 65 61 72 2e 63 |OURCES =| clear.c|
|00001530| 20 69 6f 2e 63 20 6d 65 | 6e 75 61 75 78 2e 63 20 | io.c me|nuaux.c |
|00001540| 6f 70 65 72 61 74 69 6f | 6e 73 2e 63 20 6f 70 74 |operatio|ns.c opt|
|00001550| 69 6f 6e 73 2e 63 20 5c | 0a 09 72 6c 69 73 74 2e |ions.c \|..rlist.|
|00001560| 63 20 72 6f 6c 6f 2e 63 | 20 73 65 61 72 63 68 2e |c rolo.c| search.|
|00001570| 63 20 75 70 64 61 74 65 | 2e 63 0a 4f 42 4a 45 43 |c update|.c.OBJEC|
|00001580| 54 53 20 3d 20 63 6c 65 | 61 72 2e 6f 20 69 6f 2e |TS = cle|ar.o io.|
|00001590| 6f 20 6d 65 6e 75 61 75 | 78 2e 6f 20 6f 70 65 72 |o menuau|x.o oper|
|000015a0| 61 74 69 6f 6e 73 2e 6f | 20 6f 70 74 69 6f 6e 73 |ations.o| options|
|000015b0| 2e 6f 20 5c 0a 09 72 6c | 69 73 74 2e 6f 20 72 6f |.o \..rl|ist.o ro|
|000015c0| 6c 6f 2e 6f 20 73 65 61 | 72 63 68 2e 6f 20 75 70 |lo.o sea|rch.o up|
|000015d0| 64 61 74 65 2e 6f 0a 54 | 4f 4f 4c 4f 42 4a 20 3d |date.o.T|OOLOBJ =|
|000015e0| 20 24 28 54 4f 4f 4c 44 | 49 52 29 2f 6d 65 6d 2e | $(TOOLD|IR)/mem.|
|000015f0| 6f 20 24 28 54 4f 4f 4c | 44 49 52 29 2f 61 72 67 |o $(TOOL|DIR)/arg|
|00001600| 73 2e 6f 20 24 28 54 4f | 4f 4c 44 49 52 29 2f 63 |s.o $(TO|OLDIR)/c|
|00001610| 74 6f 6f 6c 73 2e 6f 20 | 5c 0a 09 24 28 54 4f 4f |tools.o |\..$(TOO|
|00001620| 4c 44 49 52 29 2f 6d 65 | 6e 75 2e 6f 0a 42 49 4e |LDIR)/me|nu.o.BIN|
|00001630| 20 3d 20 2f 75 73 72 2f | 6c 6f 63 61 6c 0a 4d 53 | = /usr/|local.MS|
|00001640| 20 3d 20 31 0a 4d 41 4e | 20 3d 20 2f 75 73 72 2f | = 1.MAN| = /usr/|
|00001650| 6d 61 6e 2f 6d 61 6e 24 | 28 4d 53 29 0a 0a 72 6f |man/man$|(MS)..ro|
|00001660| 6c 6f 3a 20 24 28 4f 42 | 4a 45 43 54 53 29 0a 09 |lo: $(OB|JECTS)..|
|00001670| 63 64 20 24 28 54 4f 4f | 4c 44 49 52 29 20 3b 20 |cd $(TOO|LDIR) ; |
|00001680| 6d 61 6b 65 20 74 6f 6f | 6c 73 20 3b 20 63 64 20 |make too|ls ; cd |
|00001690| 2e 2e 0a 09 24 28 43 43 | 29 20 2d 6f 20 72 6f 6c |....$(CC|) -o rol|
|000016a0| 6f 20 24 28 44 42 47 46 | 4c 41 47 29 20 24 28 43 |o $(DBGF|LAG) $(C|
|000016b0| 46 4c 41 47 53 29 20 24 | 28 4f 42 4a 45 43 54 53 |FLAGS) $|(OBJECTS|
|000016c0| 29 20 24 28 54 4f 4f 4c | 4f 42 4a 29 20 24 28 4c |) $(TOOL|OBJ) $(L|
|000016d0| 49 42 53 29 0a 69 6e 73 | 74 61 6c 6c 3a 20 72 6f |IBS).ins|tall: ro|
|000016e0| 6c 6f 0a 09 72 6d 20 2d | 66 20 24 28 42 49 4e 29 |lo..rm -|f $(BIN)|
|000016f0| 2f 72 6f 6c 6f 0a 09 6d | 76 20 72 6f 6c 6f 20 24 |/rolo..m|v rolo $|
|00001700| 28 42 49 4e 29 2f 72 6f | 6c 6f 0a 6d 61 6e 3a 20 |(BIN)/ro|lo.man: |
|00001710| 0a 09 72 6d 20 2d 66 20 | 24 28 4d 41 4e 29 2f 72 |..rm -f |$(MAN)/r|
|00001720| 6f 6c 6f 2e 31 0a 09 63 | 70 20 72 6f 6c 6f 2e 31 |olo.1..c|p rolo.1|
|00001730| 20 24 28 4d 41 4e 29 2f | 72 6f 6c 6f 2e 24 28 4d | $(MAN)/|rolo.$(M|
|00001740| 53 29 0a 09 6d 61 6e 20 | 72 6f 6c 6f 0a 63 6c 65 |S)..man |rolo.cle|
|00001750| 61 6e 3a 0a 09 72 6d 20 | 2d 66 20 24 28 4f 42 4a |an:..rm |-f $(OBJ|
|00001760| 45 43 54 53 29 20 72 6f | 6c 6f 20 2a 7e 20 66 6f |ECTS) ro|lo *~ fo|
|00001770| 6f 20 24 28 54 4f 4f 4c | 44 49 52 29 2f 2a 2e 6f |o $(TOOL|DIR)/*.o|
|00001780| 0a 0a 73 68 61 72 3a 0a | 09 63 73 68 61 72 20 52 |..shar:.|.cshar R|
|00001790| 45 41 44 4d 45 20 72 6f | 6c 6f 2e 31 20 4d 61 6b |EADME ro|lo.1 Mak|
|000017a0| 65 66 69 6c 65 20 68 65 | 6c 70 6c 69 62 20 3e 20 |efile he|lplib > |
|000017b0| 72 6f 6c 6f 73 68 61 72 | 31 0a 09 63 73 68 61 72 |roloshar|1..cshar|
|000017c0| 20 2a 2e 5b 63 68 5d 20 | 3e 20 72 6f 6c 6f 73 68 | *.[ch] |> rolosh|
|000017d0| 61 72 32 0a 09 63 73 68 | 61 72 20 74 6f 6f 6c 73 |ar2..csh|ar tools|
|000017e0| 64 69 72 20 3e 20 72 6f | 6c 6f 73 68 61 72 33 0a |dir > ro|loshar3.|
|000017f0| 53 48 41 52 5f 45 4f 46 | 0a 69 66 20 74 65 73 74 |SHAR_EOF|.if test|
|00001800| 20 31 31 37 38 20 2d 6e | 65 20 22 60 77 63 20 2d | 1178 -n|e "`wc -|
|00001810| 63 20 3c 20 27 4d 61 6b | 65 66 69 6c 65 27 60 22 |c < 'Mak|efile'`"|
|00001820| 0a 74 68 65 6e 0a 09 65 | 63 68 6f 20 73 68 61 72 |.then..e|cho shar|
|00001830| 3a 20 65 72 72 6f 72 20 | 74 72 61 6e 73 6d 69 74 |: error |transmit|
|00001840| 74 69 6e 67 20 22 27 4d | 61 6b 65 66 69 6c 65 27 |ting "'M|akefile'|
|00001850| 22 20 27 28 73 68 6f 75 | 6c 64 20 68 61 76 65 20 |" '(shou|ld have |
|00001860| 62 65 65 6e 20 31 31 37 | 38 20 63 68 61 72 61 63 |been 117|8 charac|
|00001870| 74 65 72 73 29 27 0a 66 | 69 0a 66 69 0a 69 66 20 |ters)'.f|i.fi.if |
|00001880| 74 65 73 74 20 21 20 2d | 64 20 27 68 65 6c 70 6c |test ! -|d 'helpl|
|00001890| 69 62 27 0a 74 68 65 6e | 0a 09 65 63 68 6f 20 73 |ib'.then|..echo s|
|000018a0| 68 61 72 3a 20 63 72 65 | 61 74 69 6e 67 20 64 69 |har: cre|ating di|
|000018b0| 72 65 63 74 6f 72 79 20 | 22 27 68 65 6c 70 6c 69 |rectory |"'helpli|
|000018c0| 62 27 22 0a 09 6d 6b 64 | 69 72 20 27 68 65 6c 70 |b'"..mkd|ir 'help|
|000018d0| 6c 69 62 27 0a 66 69 0a | 65 63 68 6f 20 73 68 61 |lib'.fi.|echo sha|
|000018e0| 72 3a 20 65 78 74 72 61 | 63 74 69 6e 67 20 22 27 |r: extra|cting "'|
|000018f0| 68 65 6c 70 6c 69 62 2f | 61 64 64 68 65 6c 70 27 |helplib/|addhelp'|
|00001900| 22 20 27 28 31 34 30 38 | 20 63 68 61 72 61 63 74 |" '(1408| charact|
|00001910| 65 72 73 29 27 0a 69 66 | 20 74 65 73 74 20 2d 66 |ers)'.if| test -f|
|00001920| 20 27 68 65 6c 70 6c 69 | 62 2f 61 64 64 68 65 6c | 'helpli|b/addhel|
|00001930| 70 27 0a 74 68 65 6e 0a | 09 65 63 68 6f 20 73 68 |p'.then.|.echo sh|
|00001940| 61 72 3a 20 77 69 6c 6c | 20 6e 6f 74 20 6f 76 65 |ar: will| not ove|
|00001950| 72 2d 77 72 69 74 65 20 | 65 78 69 73 74 69 6e 67 |r-write |existing|
|00001960| 20 66 69 6c 65 20 22 27 | 68 65 6c 70 6c 69 62 2f | file "'|helplib/|
|00001970| 61 64 64 68 65 6c 70 27 | 22 0a 65 6c 73 65 0a 63 |addhelp'|".else.c|
|00001980| 61 74 20 3c 3c 20 5c 53 | 48 41 52 5f 45 4f 46 20 |at << \S|HAR_EOF |
|00001990| 3e 20 27 68 65 6c 70 6c | 69 62 2f 61 64 64 68 65 |> 'helpl|ib/addhe|
|000019a0| 6c 70 27 0a 59 6f 75 20 | 61 72 65 20 61 64 64 69 |lp'.You |are addi|
|000019b0| 6e 67 20 61 20 6e 65 77 | 20 65 6e 74 72 79 20 74 |ng a new| entry t|
|000019c0| 6f 20 79 6f 75 72 20 72 | 6f 6c 6f 64 65 78 20 64 |o your r|olodex d|
|000019d0| 61 74 61 62 61 73 65 2e | 20 20 49 66 20 79 6f 75 |atabase.| If you|
|000019e0| 20 77 61 6e 74 20 74 6f | 0a 67 65 74 20 62 61 63 | want to|.get bac|
|000019f0| 6b 20 74 6f 20 74 68 65 | 20 6d 61 69 6e 20 6d 65 |k to the| main me|
|00001a00| 6e 75 20 74 79 70 65 20 | 74 68 65 20 63 68 61 72 |nu type |the char|
|00001a10| 61 63 74 65 72 20 27 5c | 27 20 66 6f 6c 6c 6f 77 |acter '\|' follow|
|00001a20| 65 64 20 62 79 20 52 45 | 54 55 52 4e 2e 0a 0a 45 |ed by RE|TURN...E|
|00001a30| 61 63 68 20 65 6e 74 72 | 79 20 69 73 20 63 6f 6d |ach entr|y is com|
|00001a40| 70 6f 73 65 64 20 6f 66 | 20 37 20 66 69 78 65 64 |posed of| 7 fixed|
|00001a50| 20 69 74 65 6d 73 2c 20 | 77 68 69 63 68 20 61 72 | items, |which ar|
|00001a60| 65 20 4e 61 6d 65 2c 20 | 57 6f 72 6b 20 50 68 6f |e Name, |Work Pho|
|00001a70| 6e 65 2c 0a 48 6f 6d 65 | 20 50 68 6f 6e 65 2c 20 |ne,.Home| Phone, |
|00001a80| 43 6f 6d 70 61 6e 79 2c | 20 57 6f 72 6b 20 41 64 |Company,| Work Ad|
|00001a90| 64 72 65 73 73 2c 20 48 | 6f 6d 65 20 41 64 64 72 |dress, H|ome Addr|
|00001aa0| 65 73 73 2c 20 61 6e 64 | 20 52 65 6d 61 72 6b 73 |ess, and| Remarks|
|00001ab0| 2e 20 20 59 6f 75 20 61 | 72 65 0a 62 65 69 6e 67 |. You a|re.being|
|00001ac0| 20 70 72 6f 6d 70 74 65 | 64 20 74 6f 20 67 69 76 | prompte|d to giv|
|00001ad0| 65 20 61 20 76 61 6c 75 | 65 20 74 6f 20 65 61 63 |e a valu|e to eac|
|00001ae0| 68 20 69 74 65 6d 2c 20 | 6f 6e 65 20 61 66 74 65 |h item, |one afte|
|00001af0| 72 20 74 68 65 20 6f 74 | 68 65 72 2e 20 20 53 69 |r the ot|her. Si|
|00001b00| 6d 70 6c 79 0a 74 79 70 | 65 20 69 6e 20 73 6f 6d |mply.typ|e in som|
|00001b10| 65 20 63 68 61 72 61 63 | 74 65 72 73 20 61 6e 64 |e charac|ters and|
|00001b20| 20 65 6e 64 20 77 69 74 | 68 20 61 20 52 45 54 55 | end wit|h a RETU|
|00001b30| 52 4e 2e 20 20 49 66 20 | 79 6f 75 20 72 65 61 6c |RN. If |you real|
|00001b40| 69 7a 65 20 79 6f 75 27 | 76 65 20 6d 61 64 65 0a |ize you'|ve made.|
|00001b50| 61 20 6d 69 73 74 61 6b | 65 20 61 66 74 65 72 20 |a mistak|e after |
|00001b60| 68 69 74 74 69 6e 67 20 | 52 45 54 55 52 4e 2c 20 |hitting |RETURN, |
|00001b70| 74 79 70 65 20 27 5e 27 | 20 52 45 54 55 52 4e 2c |type '^'| RETURN,|
|00001b80| 20 77 68 69 63 68 20 77 | 69 6c 6c 20 70 72 6f 6d | which w|ill prom|
|00001b90| 70 74 20 79 6f 75 0a 61 | 67 61 69 6e 20 66 6f 72 |pt you.a|gain for|
|00001ba0| 20 74 68 65 20 69 74 65 | 6d 20 79 6f 75 20 6a 75 | the ite|m you ju|
|00001bb0| 73 74 20 65 6e 74 65 72 | 65 64 2e 20 20 49 66 20 |st enter|ed. If |
|00001bc0| 79 6f 75 20 68 61 76 65 | 20 6e 6f 20 69 6e 66 6f |you have| no info|
|00001bd0| 72 6d 61 74 69 6f 6e 20 | 66 6f 72 20 61 20 0a 70 |rmation |for a .p|
|00001be0| 61 72 74 69 63 75 6c 61 | 72 20 69 74 65 6d 2c 20 |articula|r item, |
|00001bf0| 73 69 6d 70 6c 79 20 74 | 79 70 65 20 52 45 54 55 |simply t|ype RETU|
|00001c00| 52 4e 20 61 6e 64 20 79 | 6f 75 20 77 69 6c 6c 20 |RN and y|ou will |
|00001c10| 62 65 20 70 72 6f 6d 70 | 74 65 64 20 66 6f 72 20 |be promp|ted for |
|00001c20| 74 68 65 20 6e 65 78 74 | 0a 69 74 65 6d 2e 20 20 |the next|.item. |
|00001c30| 20 46 69 6e 61 6c 6c 79 | 2c 20 74 68 65 20 70 72 | Finally|, the pr|
|00001c40| 6f 67 72 61 6d 20 77 69 | 6c 6c 20 70 72 6f 6d 70 |ogram wi|ll promp|
|00001c50| 74 20 79 6f 75 20 77 69 | 74 68 20 27 4f 74 68 65 |t you wi|th 'Othe|
|00001c60| 72 20 66 69 65 6c 64 73 | 3f 20 27 2e 20 20 20 41 |r fields|? '. A|
|00001c70| 74 0a 74 68 69 73 20 70 | 6f 69 6e 74 20 74 79 70 |t.this p|oint typ|
|00001c80| 65 20 27 6e 6f 27 20 52 | 45 54 55 52 4e 20 75 6e |e 'no' R|ETURN un|
|00001c90| 6c 65 73 73 20 79 6f 75 | 20 6b 6e 6f 77 20 77 68 |less you| know wh|
|00001ca0| 61 74 20 79 6f 75 20 61 | 72 65 20 64 6f 69 6e 67 |at you a|re doing|
|00001cb0| 20 28 73 65 65 20 62 65 | 6c 6f 77 29 2e 0a 0a 20 | (see be|low)... |
|00001cc0| 20 20 20 20 28 41 64 76 | 61 6e 63 65 64 20 66 65 | (Adv|anced fe|
|00001cd0| 61 74 75 72 65 29 20 49 | 66 20 79 6f 75 20 68 61 |ature) I|f you ha|
|00001ce0| 76 65 20 65 6e 74 65 72 | 65 64 20 61 6c 6c 20 74 |ve enter|ed all t|
|00001cf0| 68 65 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 61 |he infor|mation a|
|00001d00| 62 6f 75 74 20 61 20 70 | 65 72 73 6f 6e 0a 79 6f |bout a p|erson.yo|
|00001d10| 75 20 68 61 76 65 2c 20 | 61 6e 64 20 74 68 65 20 |u have, |and the |
|00001d20| 70 72 6f 67 72 61 6d 20 | 69 73 20 73 74 69 6c 6c |program |is still|
|00001d30| 20 70 72 6f 6d 70 74 69 | 6e 67 20 79 6f 75 20 66 | prompti|ng you f|
|00001d40| 6f 72 20 66 69 65 6c 64 | 73 2c 20 74 79 70 65 20 |or field|s, type |
|00001d50| 27 21 27 20 52 45 54 55 | 52 4e 0a 61 6e 64 20 69 |'!' RETU|RN.and i|
|00001d60| 74 20 77 69 6c 6c 20 61 | 73 73 75 6d 65 20 74 68 |t will a|ssume th|
|00001d70| 61 74 20 61 6c 6c 20 74 | 68 65 20 72 65 6d 61 69 |at all t|he remai|
|00001d80| 6e 69 6e 67 20 66 69 65 | 6c 64 73 20 61 72 65 20 |ning fie|lds are |
|00001d90| 74 6f 20 62 65 20 6c 65 | 66 74 20 65 6d 70 74 79 |to be le|ft empty|
|00001da0| 2e 0a 20 20 20 20 20 28 | 41 64 76 61 6e 63 65 64 |.. (|Advanced|
|00001db0| 20 66 65 61 74 75 72 65 | 29 20 59 6f 75 20 63 61 | feature|) You ca|
|00001dc0| 6e 20 61 64 64 20 69 74 | 65 6d 73 20 69 6e 20 61 |n add it|ems in a|
|00001dd0| 64 64 69 74 69 6f 6e 20 | 74 6f 20 74 68 6f 73 65 |ddition |to those|
|00001de0| 20 6c 69 73 74 65 64 20 | 61 62 6f 76 65 2e 0a 54 | listed |above..T|
|00001df0| 6f 20 64 6f 20 73 6f 20 | 61 6e 73 77 65 72 20 27 |o do so |answer '|
|00001e00| 79 65 73 27 20 74 6f 20 | 74 68 65 20 27 4f 74 68 |yes' to |the 'Oth|
|00001e10| 65 72 20 66 69 65 6c 64 | 73 3f 20 27 20 70 72 6f |er field|s? ' pro|
|00001e20| 6d 70 74 20 61 6e 64 20 | 74 68 65 6e 20 61 73 6b |mpt and |then ask|
|00001e30| 20 66 6f 72 20 68 65 6c | 70 2e 0a 20 20 20 20 20 | for hel|p.. |
|00001e40| 28 41 64 76 61 6e 63 65 | 64 20 66 65 61 74 75 72 |(Advance|d featur|
|00001e50| 65 29 20 54 68 65 20 63 | 68 61 72 61 63 74 65 72 |e) The c|haracter|
|00001e60| 20 27 3b 27 20 69 73 20 | 75 73 65 64 20 61 73 20 | ';' is |used as |
|00001e70| 61 20 6c 69 6e 65 20 73 | 65 70 61 72 61 74 6f 72 |a line s|eparator|
|00001e80| 2e 20 20 49 66 0a 79 6f | 75 20 74 79 70 65 64 20 |. If.yo|u typed |
|00001e90| 69 6e 20 27 32 34 35 20 | 46 69 72 73 74 20 53 74 |in '245 |First St|
|00001ea0| 2e 2c 3b 20 43 61 6d 62 | 72 69 64 67 65 2c 20 4d |.,; Camb|ridge, M|
|00001eb0| 41 20 30 32 31 33 39 27 | 2c 20 77 68 65 6e 20 74 |A 02139'|, when t|
|00001ec0| 68 69 73 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 20 |his info|rmation |
|00001ed0| 77 61 73 0a 64 69 73 70 | 6c 61 79 65 64 20 74 68 |was.disp|layed th|
|00001ee0| 65 20 73 74 72 65 65 74 | 20 61 64 64 72 65 73 73 |e street| address|
|00001ef0| 20 61 6e 64 20 63 69 74 | 79 2f 73 74 61 74 65 20 | and cit|y/state |
|00001f00| 77 6f 75 6c 64 20 70 72 | 69 6e 74 20 6f 75 74 20 |would pr|int out |
|00001f10| 6f 6e 20 64 69 66 66 65 | 72 65 6e 74 20 6c 69 6e |on diffe|rent lin|
|00001f20| 65 73 2e 0a 53 48 41 52 | 5f 45 4f 46 0a 69 66 20 |es..SHAR|_EOF.if |
|00001f30| 74 65 73 74 20 31 34 30 | 38 20 2d 6e 65 20 22 60 |test 140|8 -ne "`|
|00001f40| 77 63 20 2d 63 20 3c 20 | 27 68 65 6c 70 6c 69 62 |wc -c < |'helplib|
|00001f50| 2f 61 64 64 68 65 6c 70 | 27 60 22 0a 74 68 65 6e |/addhelp|'`".then|
|00001f60| 0a 09 65 63 68 6f 20 73 | 68 61 72 3a 20 65 72 72 |..echo s|har: err|
|00001f70| 6f 72 20 74 72 61 6e 73 | 6d 69 74 74 69 6e 67 20 |or trans|mitting |
|00001f80| 22 27 68 65 6c 70 6c 69 | 62 2f 61 64 64 68 65 6c |"'helpli|b/addhel|
|00001f90| 70 27 22 20 27 28 73 68 | 6f 75 6c 64 20 68 61 76 |p'" '(sh|ould hav|
|00001fa0| 65 20 62 65 65 6e 20 31 | 34 30 38 20 63 68 61 72 |e been 1|408 char|
|00001fb0| 61 63 74 65 72 73 29 27 | 0a 66 69 0a 66 69 0a 65 |acters)'|.fi.fi.e|
|00001fc0| 63 68 6f 20 73 68 61 72 | 3a 20 65 78 74 72 61 63 |cho shar|: extrac|
|00001fd0| 74 69 6e 67 20 22 27 68 | 65 6c 70 6c 69 62 2f 61 |ting "'h|elplib/a|
|00001fe0| 64 64 69 6e 66 6f 27 22 | 20 27 28 36 36 20 63 68 |ddinfo'"| '(66 ch|
|00001ff0| 61 72 61 63 74 65 72 73 | 29 27 0a 69 66 20 74 65 |aracters|)'.if te|
|00002000| 73 74 20 2d 66 20 27 68 | 65 6c 70 6c 69 62 2f 61 |st -f 'h|elplib/a|
|00002010| 64 64 69 6e 66 6f 27 0a | 74 68 65 6e 0a 09 65 63 |ddinfo'.|then..ec|
|00002020| 68 6f 20 73 68 61 72 3a | 20 77 69 6c 6c 20 6e 6f |ho shar:| will no|
|00002030| 74 20 6f 76 65 72 2d 77 | 72 69 74 65 20 65 78 69 |t over-w|rite exi|
|00002040| 73 74 69 6e 67 20 66 69 | 6c 65 20 22 27 68 65 6c |sting fi|le "'hel|
|00002050| 70 6c 69 62 2f 61 64 64 | 69 6e 66 6f 27 22 0a 65 |plib/add|info'".e|
|00002060| 6c 73 65 0a 63 61 74 20 | 3c 3c 20 5c 53 48 41 52 |lse.cat |<< \SHAR|
|00002070| 5f 45 4f 46 20 3e 20 27 | 68 65 6c 70 6c 69 62 2f |_EOF > '|helplib/|
|00002080| 61 64 64 69 6e 66 6f 27 | 0a 41 64 64 20 61 20 72 |addinfo'|.Add a r|
|00002090| 6f 6c 6f 64 65 78 20 65 | 6e 74 72 79 3a 20 20 28 |olodex e|ntry: (|
|000020a0| 3f 20 66 6f 72 20 68 65 | 6c 70 2c 20 5e 20 74 6f |? for he|lp, ^ to|
|000020b0| 20 62 61 63 6b 20 75 70 | 2c 20 5c 20 74 6f 20 61 | back up|, \ to a|
|000020c0| 62 6f 72 74 20 61 64 64 | 29 0a 0a 53 48 41 52 5f |bort add|)..SHAR_|
|000020d0| 45 4f 46 0a 69 66 20 74 | 65 73 74 20 36 36 20 2d |EOF.if t|est 66 -|
|000020e0| 6e 65 20 22 60 77 63 20 | 2d 63 20 3c 20 27 68 65 |ne "`wc |-c < 'he|
|000020f0| 6c 70 6c 69 62 2f 61 64 | 64 69 6e 66 6f 27 60 22 |lplib/ad|dinfo'`"|
|00002100| 0a 74 68 65 6e 0a 09 65 | 63 68 6f 20 73 68 61 72 |.then..e|cho shar|
|00002110| 3a 20 65 72 72 6f 72 20 | 74 72 61 6e 73 6d 69 74 |: error |transmit|
|00002120| 74 69 6e 67 20 22 27 68 | 65 6c 70 6c 69 62 2f 61 |ting "'h|elplib/a|
|00002130| 64 64 69 6e 66 6f 27 22 | 20 27 28 73 68 6f 75 6c |ddinfo'"| '(shoul|
|00002140| 64 20 68 61 76 65 20 62 | 65 65 6e 20 36 36 20 63 |d have b|een 66 c|
|00002150| 68 61 72 61 63 74 65 72 | 73 29 27 0a 66 69 0a 66 |haracter|s)'.fi.f|
|00002160| 69 0a 65 63 68 6f 20 73 | 68 61 72 3a 20 65 78 74 |i.echo s|har: ext|
|00002170| 72 61 63 74 69 6e 67 20 | 22 27 68 65 6c 70 6c 69 |racting |"'helpli|
|00002180| 62 2f 65 6e 74 72 79 6d | 65 6e 75 27 22 20 27 28 |b/entrym|enu'" '(|
|00002190| 32 32 32 20 63 68 61 72 | 61 63 74 65 72 73 29 27 |222 char|acters)'|
|000021a0| 0a 69 66 20 74 65 73 74 | 20 2d 66 20 27 68 65 6c |.if test| -f 'hel|
|000021b0| 70 6c 69 62 2f 65 6e 74 | 72 79 6d 65 6e 75 27 0a |plib/ent|rymenu'.|
|000021c0| 74 68 65 6e 0a 09 65 63 | 68 6f 20 73 68 61 72 3a |then..ec|ho shar:|
|000021d0| 20 77 69 6c 6c 20 6e 6f | 74 20 6f 76 65 72 2d 77 | will no|t over-w|
|000021e0| 72 69 74 65 20 65 78 69 | 73 74 69 6e 67 20 66 69 |rite exi|sting fi|
|000021f0| 6c 65 20 22 27 68 65 6c | 70 6c 69 62 2f 65 6e 74 |le "'hel|plib/ent|
|00002200| 72 79 6d 65 6e 75 27 22 | 0a 65 6c 73 65 0a 63 61 |rymenu'"|.else.ca|
|00002210| 74 20 3c 3c 20 5c 53 48 | 41 52 5f 45 4f 46 20 3e |t << \SH|AR_EOF >|
|00002220| 20 27 68 65 6c 70 6c 69 | 62 2f 65 6e 74 72 79 6d | 'helpli|b/entrym|
|00002230| 65 6e 75 27 0a 0a 20 20 | 20 52 45 54 55 52 4e 20 |enu'.. | RETURN |
|00002240| 20 3a 20 63 6f 6e 74 69 | 6e 75 65 20 74 68 65 20 | : conti|nue the |
|00002250| 73 63 61 6e 2e 20 20 20 | 20 20 20 20 20 20 20 20 |scan. | |
|00002260| 20 20 25 20 20 20 3a 20 | 73 63 61 6e 20 72 6f 6c | % : |scan rol|
|00002270| 6f 64 65 78 20 66 72 6f | 6d 20 74 68 69 73 20 70 |odex fro|m this p|
|00002280| 6f 69 6e 74 2e 0a 20 20 | 20 2b 20 20 20 20 20 20 |oint.. | + |
|00002290| 20 3a 20 75 70 64 61 74 | 65 20 6f 72 20 61 64 64 | : updat|e or add|
|000022a0| 20 74 6f 20 74 68 65 20 | 65 6e 74 72 79 2e 20 20 | to the |entry. |
|000022b0| 20 20 3c 20 20 20 3a 20 | 64 69 73 70 6c 61 79 20 | < : |display |
|000022c0| 70 72 65 76 69 6f 75 73 | 20 65 6e 74 72 79 2e 0a |previous| entry..|
|000022d0| 20 20 20 2d 20 20 20 20 | 20 20 20 3a 20 64 65 6c | - | : del|
|000022e0| 65 74 65 20 74 68 65 20 | 65 6e 74 69 72 65 20 65 |ete the |entire e|
|000022f0| 6e 74 72 79 2e 20 20 20 | 20 20 20 20 5c 20 20 20 |ntry. | \ |
|00002300| 3a 20 61 62 6f 72 74 20 | 74 68 65 20 73 63 61 6e |: abort |the scan|
|00002310| 2e 0a 0a 53 48 41 52 5f | 45 4f 46 0a 69 66 20 74 |...SHAR_|EOF.if t|
|00002320| 65 73 74 20 32 32 32 20 | 2d 6e 65 20 22 60 77 63 |est 222 |-ne "`wc|
|00002330| 20 2d 63 20 3c 20 27 68 | 65 6c 70 6c 69 62 2f 65 | -c < 'h|elplib/e|
|00002340| 6e 74 72 79 6d 65 6e 75 | 27 60 22 0a 74 68 65 6e |ntrymenu|'`".then|
|00002350| 0a 09 65 63 68 6f 20 73 | 68 61 72 3a 20 65 72 72 |..echo s|har: err|
|00002360| 6f 72 20 74 72 61 6e 73 | 6d 69 74 74 69 6e 67 20 |or trans|mitting |
|00002370| 22 27 68 65 6c 70 6c 69 | 62 2f 65 6e 74 72 79 6d |"'helpli|b/entrym|
|00002380| 65 6e 75 27 22 20 27 28 | 73 68 6f 75 6c 64 20 68 |enu'" '(|should h|
|00002390| 61 76 65 20 62 65 65 6e | 20 32 32 32 20 63 68 61 |ave been| 222 cha|
|000023a0| 72 61 63 74 65 72 73 29 | 27 0a 66 69 0a 66 69 0a |racters)|'.fi.fi.|
|000023b0| 65 63 68 6f 20 73 68 61 | 72 3a 20 65 78 74 72 61 |echo sha|r: extra|
|000023c0| 63 74 69 6e 67 20 22 27 | 68 65 6c 70 6c 69 62 2f |cting "'|helplib/|
|000023d0| 65 73 63 61 6e 68 65 6c | 70 27 22 20 27 28 38 34 |escanhel|p'" '(84|
|000023e0| 36 20 63 68 61 72 61 63 | 74 65 72 73 29 27 0a 69 |6 charac|ters)'.i|
|000023f0| 66 20 74 65 73 74 20 2d | 66 20 27 68 65 6c 70 6c |f test -|f 'helpl|
|00002400| 69 62 2f 65 73 63 61 6e | 68 65 6c 70 27 0a 74 68 |ib/escan|help'.th|
|00002410| 65 6e 0a 09 65 63 68 6f | 20 73 68 61 72 3a 20 77 |en..echo| shar: w|
|00002420| 69 6c 6c 20 6e 6f 74 20 | 6f 76 65 72 2d 77 72 69 |ill not |over-wri|
|00002430| 74 65 20 65 78 69 73 74 | 69 6e 67 20 66 69 6c 65 |te exist|ing file|
|00002440| 20 22 27 68 65 6c 70 6c | 69 62 2f 65 73 63 61 6e | "'helpl|ib/escan|
|00002450| 68 65 6c 70 27 22 0a 65 | 6c 73 65 0a 63 61 74 20 |help'".e|lse.cat |
|00002460| 3c 3c 20 5c 53 48 41 52 | 5f 45 4f 46 20 3e 20 27 |<< \SHAR|_EOF > '|
|00002470| 68 65 6c 70 6c 69 62 2f | 65 73 63 61 6e 68 65 6c |helplib/|escanhel|
|00002480| 70 27 0a 54 68 65 20 72 | 6f 6c 6f 64 65 78 20 70 |p'.The r|olodex p|
|00002490| 72 6f 67 72 61 6d 20 69 | 73 20 64 69 73 70 6c 61 |rogram i|s displa|
|000024a0| 79 69 6e 67 20 65 61 63 | 68 20 65 6e 74 72 79 20 |ying eac|h entry |
|000024b0| 69 6e 20 79 6f 75 72 20 | 72 6f 6c 6f 64 65 78 20 |in your |rolodex |
|000024c0| 64 61 74 61 62 61 73 65 | 0a 28 74 68 65 20 65 6e |database|.(the en|
|000024d0| 74 72 69 65 73 20 61 72 | 65 20 6f 72 64 65 72 65 |tries ar|e ordere|
|000024e0| 64 20 61 6c 70 68 61 62 | 65 74 69 63 61 6c 6c 79 |d alphab|etically|
|000024f0| 29 20 6f 6e 65 20 62 79 | 20 6f 6e 65 2e 20 20 41 |) one by| one. A|
|00002500| 66 74 65 72 20 61 6e 20 | 65 6e 74 72 79 0a 68 61 |fter an |entry.ha|
|00002510| 73 20 62 65 65 6e 20 64 | 69 73 70 6c 61 79 65 64 |s been d|isplayed|
|00002520| 2c 20 79 6f 75 20 68 61 | 76 65 20 74 68 65 20 6f |, you ha|ve the o|
|00002530| 70 74 69 6f 6e 20 74 6f | 0a 0a 20 20 2d 2d 20 68 |ption to|.. -- h|
|00002540| 61 76 65 20 74 68 65 20 | 6e 65 78 74 20 65 6e 74 |ave the |next ent|
|00002550| 72 79 20 64 69 73 70 6c | 61 79 65 64 20 28 74 79 |ry displ|ayed (ty|
|00002560| 70 65 20 52 45 54 55 52 | 4e 29 0a 20 20 2d 2d 20 |pe RETUR|N). -- |
|00002570| 68 61 76 65 20 74 68 65 | 20 70 72 65 76 69 6f 75 |have the| previou|
|00002580| 73 20 65 6e 74 72 79 20 | 64 69 73 70 6c 61 79 65 |s entry |displaye|
|00002590| 64 20 62 79 20 28 74 79 | 70 65 20 27 3c 27 20 52 |d by (ty|pe '<' R|
|000025a0| 45 54 55 52 4e 29 0a 20 | 20 2d 2d 20 64 65 6c 65 |ETURN). | -- dele|
|000025b0| 74 65 20 74 68 65 20 65 | 6e 74 72 79 20 66 72 6f |te the e|ntry fro|
|000025c0| 6d 20 79 6f 75 72 20 72 | 6f 6c 6f 64 65 78 20 28 |m your r|olodex (|
|000025d0| 74 79 70 65 20 27 2d 27 | 20 52 45 54 55 52 4e 29 |type '-'| RETURN)|
|000025e0| 0a 20 20 2d 2d 20 63 68 | 61 6e 67 65 20 74 68 65 |. -- ch|ange the|
|000025f0| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 63 6f 6e | informa|tion con|
|00002600| 74 61 69 6e 65 64 20 69 | 6e 20 74 68 69 73 20 65 |tained i|n this e|
|00002610| 6e 74 72 79 20 28 74 79 | 70 65 20 27 2b 27 20 52 |ntry (ty|pe '+' R|
|00002620| 45 54 55 52 4e 29 0a 20 | 20 2d 2d 20 61 62 6f 72 |ETURN). | -- abor|
|00002630| 74 20 74 68 69 73 20 73 | 65 71 75 65 6e 74 69 61 |t this s|equentia|
|00002640| 6c 20 64 69 73 70 6c 61 | 79 20 6d 6f 64 65 20 61 |l displa|y mode a|
|00002650| 6e 64 20 67 6f 20 62 61 | 63 6b 20 74 6f 20 74 68 |nd go ba|ck to th|
|00002660| 65 20 6d 61 69 6e 20 6d | 65 6e 75 20 0a 20 20 20 |e main m|enu . |
|00002670| 20 20 28 74 79 70 65 20 | 27 5c 27 20 52 45 54 55 | (type |'\' RETU|
|00002680| 52 4e 29 0a 0a 49 66 20 | 79 6f 75 20 65 6c 65 63 |RN)..If |you elec|
|00002690| 74 20 74 6f 20 64 65 6c | 65 74 65 20 74 68 65 20 |t to del|ete the |
|000026a0| 65 6e 74 72 79 2c 20 74 | 68 65 20 6d 65 73 73 61 |entry, t|he messa|
|000026b0| 67 65 20 27 45 6e 74 72 | 79 20 64 65 6c 65 74 65 |ge 'Entr|y delete|
|000026c0| 64 27 20 77 69 6c 6c 20 | 62 65 0a 64 69 73 70 6c |d' will |be.displ|
|000026d0| 61 79 65 64 20 62 72 69 | 65 66 6c 79 2c 20 61 6e |ayed bri|efly, an|
|000026e0| 64 20 74 68 65 6e 20 74 | 68 65 20 6e 65 78 74 20 |d then t|he next |
|000026f0| 65 6e 74 72 79 20 77 69 | 6c 6c 20 62 65 20 64 69 |entry wi|ll be di|
|00002700| 73 70 6c 61 79 65 64 2e | 0a 0a 49 66 20 79 6f 75 |splayed.|..If you|
|00002710| 20 65 6c 65 63 74 20 74 | 6f 20 75 70 64 61 74 65 | elect t|o update|
|00002720| 20 74 68 65 20 65 6e 74 | 72 79 2c 20 61 66 74 65 | the ent|ry, afte|
|00002730| 72 20 79 6f 75 20 68 61 | 76 65 20 63 6f 6d 70 6c |r you ha|ve compl|
|00002740| 65 74 65 64 20 74 68 65 | 20 75 70 64 61 74 65 0a |eted the| update.|
|00002750| 6f 70 65 72 61 74 69 6f | 6e 20 74 68 65 20 6d 65 |operatio|n the me|
|00002760| 73 73 61 67 65 20 27 44 | 69 73 70 6c 61 79 69 6e |ssage 'D|isplayin|
|00002770| 67 20 6e 65 78 74 20 65 | 6e 74 72 79 20 69 6e 20 |g next e|ntry in |
|00002780| 73 63 61 6e 20 6c 69 73 | 74 27 20 77 69 6c 6c 20 |scan lis|t' will |
|00002790| 62 65 0a 64 69 73 70 6c | 61 79 65 64 20 62 72 69 |be.displ|ayed bri|
|000027a0| 65 66 6c 79 2c 20 61 6e | 64 20 74 68 65 6e 20 74 |efly, an|d then t|
|000027b0| 68 65 20 6e 65 78 74 20 | 65 6e 74 72 79 20 77 69 |he next |entry wi|
|000027c0| 6c 6c 20 62 65 20 64 69 | 73 70 6c 61 79 65 64 2e |ll be di|splayed.|
|000027d0| 0a 53 48 41 52 5f 45 4f | 46 0a 69 66 20 74 65 73 |.SHAR_EO|F.if tes|
|000027e0| 74 20 38 34 36 20 2d 6e | 65 20 22 60 77 63 20 2d |t 846 -n|e "`wc -|
|000027f0| 63 20 3c 20 27 68 65 6c | 70 6c 69 62 2f 65 73 63 |c < 'hel|plib/esc|
|00002800| 61 6e 68 65 6c 70 27 60 | 22 0a 74 68 65 6e 0a 09 |anhelp'`|".then..|
|00002810| 65 63 68 6f 20 73 68 61 | 72 3a 20 65 72 72 6f 72 |echo sha|r: error|
|00002820| 20 74 72 61 6e 73 6d 69 | 74 74 69 6e 67 20 22 27 | transmi|tting "'|
|00002830| 68 65 6c 70 6c 69 62 2f | 65 73 63 61 6e 68 65 6c |helplib/|escanhel|
|00002840| 70 27 22 20 27 28 73 68 | 6f 75 6c 64 20 68 61 76 |p'" '(sh|ould hav|
|00002850| 65 20 62 65 65 6e 20 38 | 34 36 20 63 68 61 72 61 |e been 8|46 chara|
|00002860| 63 74 65 72 73 29 27 0a | 66 69 0a 66 69 0a 65 63 |cters)'.|fi.fi.ec|
|00002870| 68 6f 20 73 68 61 72 3a | 20 65 78 74 72 61 63 74 |ho shar:| extract|
|00002880| 69 6e 67 20 22 27 68 65 | 6c 70 6c 69 62 2f 65 73 |ing "'he|lplib/es|
|00002890| 65 61 72 63 68 68 65 6c | 70 27 22 20 27 28 31 30 |earchhel|p'" '(10|
|000028a0| 37 31 20 63 68 61 72 61 | 63 74 65 72 73 29 27 0a |71 chara|cters)'.|
|000028b0| 69 66 20 74 65 73 74 20 | 2d 66 20 27 68 65 6c 70 |if test |-f 'help|
|000028c0| 6c 69 62 2f 65 73 65 61 | 72 63 68 68 65 6c 70 27 |lib/esea|rchhelp'|
|000028d0| 0a 74 68 65 6e 0a 09 65 | 63 68 6f 20 73 68 61 72 |.then..e|cho shar|
|000028e0| 3a 20 77 69 6c 6c 20 6e | 6f 74 20 6f 76 65 72 2d |: will n|ot over-|
|000028f0| 77 72 69 74 65 20 65 78 | 69 73 74 69 6e 67 20 66 |write ex|isting f|
|00002900| 69 6c 65 20 22 27 68 65 | 6c 70 6c 69 62 2f 65 73 |ile "'he|lplib/es|
|00002910| 65 61 72 63 68 68 65 6c | 70 27 22 0a 65 6c 73 65 |earchhel|p'".else|
|00002920| 0a 63 61 74 20 3c 3c 20 | 5c 53 48 41 52 5f 45 4f |.cat << |\SHAR_EO|
|00002930| 46 20 3e 20 27 68 65 6c | 70 6c 69 62 2f 65 73 65 |F > 'hel|plib/ese|
|00002940| 61 72 63 68 68 65 6c 70 | 27 0a 54 68 65 20 72 6f |archhelp|'.The ro|
|00002950| 6c 6f 64 65 78 20 70 72 | 6f 67 72 61 6d 20 69 73 |lodex pr|ogram is|
|00002960| 20 64 69 73 70 6c 61 79 | 69 6e 67 20 65 61 63 68 | display|ing each|
|00002970| 20 65 6e 74 72 79 20 74 | 68 61 74 20 6d 61 74 63 | entry t|hat matc|
|00002980| 68 65 73 20 74 68 65 20 | 73 65 61 72 63 68 20 73 |hes the |search s|
|00002990| 74 72 69 6e 67 0a 79 6f | 75 20 70 72 6f 76 69 64 |tring.yo|u provid|
|000029a0| 65 64 2c 20 6f 6e 65 20 | 62 79 20 6f 6e 65 2e 20 |ed, one |by one. |
|000029b0| 20 41 66 74 65 72 20 61 | 6e 20 65 6e 74 72 79 20 | After a|n entry |
|000029c0| 68 61 73 20 62 65 65 6e | 20 64 69 73 70 6c 61 79 |has been| display|
|000029d0| 65 64 2c 20 79 6f 75 20 | 68 61 76 65 0a 74 68 65 |ed, you |have.the|
|000029e0| 20 6f 70 74 69 6f 6e 20 | 74 6f 0a 0a 20 20 2d 2d | option |to.. --|
|000029f0| 20 68 61 76 65 20 74 68 | 65 20 6e 65 78 74 20 65 | have th|e next e|
|00002a00| 6e 74 72 79 20 64 69 73 | 70 6c 61 79 65 64 20 28 |ntry dis|played (|
|00002a10| 74 79 70 65 20 52 45 54 | 55 52 4e 29 0a 20 20 2d |type RET|URN). -|
|00002a20| 2d 20 68 61 76 65 20 74 | 68 65 20 70 72 65 76 69 |- have t|he previ|
|00002a30| 6f 75 73 20 65 6e 74 72 | 79 20 64 69 73 70 6c 61 |ous entr|y displa|
|00002a40| 79 65 64 20 62 79 20 28 | 74 79 70 65 20 27 3c 27 |yed by (|type '<'|
|00002a50| 20 52 45 54 55 52 4e 29 | 0a 20 20 2d 2d 20 64 65 | RETURN)|. -- de|
|00002a60| 6c 65 74 65 20 74 68 65 | 20 65 6e 74 72 79 20 66 |lete the| entry f|
|00002a70| 72 6f 6d 20 79 6f 75 72 | 20 72 6f 6c 6f 64 65 78 |rom your| rolodex|
|00002a80| 20 28 74 79 70 65 20 27 | 2d 27 20 52 45 54 55 52 | (type '|-' RETUR|
|00002a90| 4e 29 0a 20 20 2d 2d 20 | 63 68 61 6e 67 65 20 74 |N). -- |change t|
|00002aa0| 68 65 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 63 |he infor|mation c|
|00002ab0| 6f 6e 74 61 69 6e 65 64 | 20 69 6e 20 74 68 69 73 |ontained| in this|
|00002ac0| 20 65 6e 74 72 79 20 28 | 74 79 70 65 20 27 2b 27 | entry (|type '+'|
|00002ad0| 20 52 45 54 55 52 4e 29 | 0a 20 20 2d 2d 20 61 62 | RETURN)|. -- ab|
|00002ae0| 6f 72 74 20 74 68 69 73 | 20 73 65 71 75 65 6e 74 |ort this| sequent|
|00002af0| 69 61 6c 20 64 69 73 70 | 6c 61 79 20 6d 6f 64 65 |ial disp|lay mode|
|00002b00| 20 61 6e 64 20 67 6f 20 | 62 61 63 6b 20 74 6f 20 | and go |back to |
|00002b10| 74 68 65 20 6d 61 69 6e | 20 6d 65 6e 75 20 0a 20 |the main| menu . |
|00002b20| 20 20 20 20 28 74 79 70 | 65 20 27 5c 27 20 52 45 | (typ|e '\' RE|
|00002b30| 54 55 52 4e 29 0a 0a 20 | 20 20 20 20 49 66 20 79 |TURN).. | If y|
|00002b40| 6f 75 20 65 6c 65 63 74 | 20 74 6f 20 64 65 6c 65 |ou elect| to dele|
|00002b50| 74 65 20 74 68 65 20 65 | 6e 74 72 79 2c 20 74 68 |te the e|ntry, th|
|00002b60| 65 20 6d 65 73 73 61 67 | 65 20 27 45 6e 74 72 79 |e messag|e 'Entry|
|00002b70| 20 64 65 6c 65 74 65 64 | 27 20 77 69 6c 6c 0a 62 | deleted|' will.b|
|00002b80| 65 20 64 69 73 70 6c 61 | 79 65 64 20 62 72 69 65 |e displa|yed brie|
|00002b90| 66 6c 79 2c 20 61 6e 64 | 20 74 68 65 6e 20 74 68 |fly, and| then th|
|00002ba0| 65 20 6e 65 78 74 20 65 | 6e 74 72 79 20 77 69 6c |e next e|ntry wil|
|00002bb0| 6c 20 62 65 20 64 69 73 | 70 6c 61 79 65 64 2e 0a |l be dis|played..|
|00002bc0| 20 20 20 20 20 49 66 20 | 79 6f 75 20 65 6c 65 63 | If |you elec|
|00002bd0| 74 20 74 6f 20 75 70 64 | 61 74 65 20 74 68 65 20 |t to upd|ate the |
|00002be0| 65 6e 74 72 79 2c 20 61 | 66 74 65 72 20 79 6f 75 |entry, a|fter you|
|00002bf0| 20 68 61 76 65 20 63 6f | 6d 70 6c 65 74 65 64 20 | have co|mpleted |
|00002c00| 74 68 65 0a 75 70 64 61 | 74 65 20 6f 70 65 72 61 |the.upda|te opera|
|00002c10| 74 69 6f 6e 20 74 68 65 | 20 6d 65 73 73 61 67 65 |tion the| message|
|00002c20| 20 27 44 69 73 70 6c 61 | 79 69 6e 67 20 6e 65 78 | 'Displa|ying nex|
|00002c30| 74 20 65 6e 74 72 79 20 | 69 6e 20 73 63 61 6e 20 |t entry |in scan |
|00002c40| 6c 69 73 74 27 20 77 69 | 6c 6c 0a 62 65 20 64 69 |list' wi|ll.be di|
|00002c50| 73 70 6c 61 79 65 64 20 | 62 72 69 65 66 6c 79 2c |splayed |briefly,|
|00002c60| 20 61 6e 64 20 74 68 65 | 6e 20 74 68 65 20 6e 65 | and the|n the ne|
|00002c70| 78 74 20 65 6e 74 72 79 | 20 77 69 6c 6c 20 62 65 |xt entry| will be|
|00002c80| 20 64 69 73 70 6c 61 79 | 65 64 2e 0a 20 20 20 20 | display|ed.. |
|00002c90| 20 49 66 20 6f 6e 6c 79 | 20 6f 6e 65 20 65 6e 74 | If only| one ent|
|00002ca0| 72 79 20 6d 61 74 63 68 | 65 64 20 79 6f 75 72 20 |ry match|ed your |
|00002cb0| 73 65 61 72 63 68 20 73 | 74 72 69 6e 67 2c 20 6f |search s|tring, o|
|00002cc0| 72 20 74 68 65 20 65 6e | 74 72 79 20 62 65 69 6e |r the en|try bein|
|00002cd0| 67 0a 64 69 73 70 6c 61 | 79 65 64 20 69 73 20 74 |g.displa|yed is t|
|00002ce0| 68 65 20 6c 61 73 74 20 | 65 6e 74 72 79 20 77 68 |he last |entry wh|
|00002cf0| 69 63 68 20 6d 61 74 63 | 68 65 73 2c 20 69 66 20 |ich matc|hes, if |
|00002d00| 79 6f 75 20 74 72 79 20 | 74 6f 20 63 6f 6e 74 69 |you try |to conti|
|00002d10| 6e 75 65 20 74 68 65 0a | 70 72 6f 67 72 61 6d 20 |nue the.|program |
|00002d20| 77 69 6c 6c 20 69 6e 66 | 6f 72 6d 20 79 6f 75 20 |will inf|orm you |
|00002d30| 74 68 61 74 20 74 68 65 | 72 65 20 61 72 65 20 6e |that the|re are n|
|00002d40| 6f 20 6d 6f 72 65 20 6d | 61 74 63 68 69 6e 67 20 |o more m|atching |
|00002d50| 65 6e 74 72 69 65 73 20 | 61 6e 64 0a 72 65 74 75 |entries |and.retu|
|00002d60| 72 6e 20 79 6f 75 20 74 | 6f 20 74 68 65 20 6d 61 |rn you t|o the ma|
|00002d70| 69 6e 20 6d 65 6e 75 2e | 0a 53 48 41 52 5f 45 4f |in menu.|.SHAR_EO|
|00002d80| 46 0a 69 66 20 74 65 73 | 74 20 31 30 37 31 20 2d |F.if tes|t 1071 -|
|00002d90| 6e 65 20 22 60 77 63 20 | 2d 63 20 3c 20 27 68 65 |ne "`wc |-c < 'he|
|00002da0| 6c 70 6c 69 62 2f 65 73 | 65 61 72 63 68 68 65 6c |lplib/es|earchhel|
|00002db0| 70 27 60 22 0a 74 68 65 | 6e 0a 09 65 63 68 6f 20 |p'`".the|n..echo |
|00002dc0| 73 68 61 72 3a 20 65 72 | 72 6f 72 20 74 72 61 6e |shar: er|ror tran|
|00002dd0| 73 6d 69 74 74 69 6e 67 | 20 22 27 68 65 6c 70 6c |smitting| "'helpl|
|00002de0| 69 62 2f 65 73 65 61 72 | 63 68 68 65 6c 70 27 22 |ib/esear|chhelp'"|
|00002df0| 20 27 28 73 68 6f 75 6c | 64 20 68 61 76 65 20 62 | '(shoul|d have b|
|00002e00| 65 65 6e 20 31 30 37 31 | 20 63 68 61 72 61 63 74 |een 1071| charact|
|00002e10| 65 72 73 29 27 0a 66 69 | 0a 66 69 0a 65 63 68 6f |ers)'.fi|.fi.echo|
|00002e20| 20 73 68 61 72 3a 20 65 | 78 74 72 61 63 74 69 6e | shar: e|xtractin|
|00002e30| 67 20 22 27 68 65 6c 70 | 6c 69 62 2f 66 69 65 6c |g "'help|lib/fiel|
|00002e40| 64 73 65 61 72 63 68 68 | 65 6c 70 27 22 20 27 28 |dsearchh|elp'" '(|
|00002e50| 31 30 33 34 20 63 68 61 | 72 61 63 74 65 72 73 29 |1034 cha|racters)|
|00002e60| 27 0a 69 66 20 74 65 73 | 74 20 2d 66 20 27 68 65 |'.if tes|t -f 'he|
|00002e70| 6c 70 6c 69 62 2f 66 69 | 65 6c 64 73 65 61 72 63 |lplib/fi|eldsearc|
|00002e80| 68 68 65 6c 70 27 0a 74 | 68 65 6e 0a 09 65 63 68 |hhelp'.t|hen..ech|
|00002e90| 6f 20 73 68 61 72 3a 20 | 77 69 6c 6c 20 6e 6f 74 |o shar: |will not|
|00002ea0| 20 6f 76 65 72 2d 77 72 | 69 74 65 20 65 78 69 73 | over-wr|ite exis|
|00002eb0| 74 69 6e 67 20 66 69 6c | 65 20 22 27 68 65 6c 70 |ting fil|e "'help|
|00002ec0| 6c 69 62 2f 66 69 65 6c | 64 73 65 61 72 63 68 68 |lib/fiel|dsearchh|
|00002ed0| 65 6c 70 27 22 0a 65 6c | 73 65 0a 63 61 74 20 3c |elp'".el|se.cat <|
|00002ee0| 3c 20 5c 53 48 41 52 5f | 45 4f 46 20 3e 20 27 68 |< \SHAR_|EOF > 'h|
|00002ef0| 65 6c 70 6c 69 62 2f 66 | 69 65 6c 64 73 65 61 72 |elplib/f|ieldsear|
|00002f00| 63 68 68 65 6c 70 27 0a | 59 6f 75 20 68 61 76 65 |chhelp'.|You have|
|00002f10| 20 61 73 6b 65 64 20 74 | 6f 20 73 65 61 72 63 68 | asked t|o search|
|00002f20| 20 74 68 65 20 72 6f 6c | 6f 64 65 78 20 64 61 74 | the rol|odex dat|
|00002f30| 61 62 61 73 65 20 62 79 | 20 73 6f 6d 65 20 6f 74 |abase by| some ot|
|00002f40| 68 65 72 20 69 74 65 6d | 20 74 68 61 6e 20 6e 61 |her item| than na|
|00002f50| 6d 65 2e 0a 46 6f 72 20 | 69 6e 73 74 61 6e 63 65 |me..For |instance|
|00002f60| 2c 20 69 66 20 79 6f 75 | 20 77 61 6e 74 65 64 20 |, if you| wanted |
|00002f70| 74 6f 20 66 69 6e 64 20 | 70 65 6f 70 6c 65 20 77 |to find |people w|
|00002f80| 68 6f 20 77 6f 72 6b 65 | 64 20 69 6e 20 43 61 6d |ho worke|d in Cam|
|00002f90| 62 72 69 64 67 65 2c 20 | 79 6f 75 20 63 6f 75 6c |bridge, |you coul|
|00002fa0| 64 0a 73 65 6c 65 63 74 | 20 74 68 65 20 27 57 6f |d.select| the 'Wo|
|00002fb0| 72 6b 20 41 64 64 72 65 | 73 73 27 20 69 74 65 6d |rk Addre|ss' item|
|00002fc0| 20 61 6e 64 20 75 73 65 | 20 61 73 20 61 20 73 65 | and use| as a se|
|00002fd0| 61 72 63 68 20 73 74 72 | 69 6e 67 20 27 43 61 6d |arch str|ing 'Cam|
|00002fe0| 62 72 69 64 67 65 27 2e | 20 20 49 66 0a 74 68 69 |bridge'.| If.thi|
|00002ff0| 73 20 69 73 20 6e 6f 74 | 20 77 68 61 74 20 79 6f |s is not| what yo|
|00003000| 75 20 77 61 6e 74 20 74 | 6f 20 64 6f 20 74 79 70 |u want t|o do typ|
|00003010| 65 20 27 5c 27 20 52 45 | 54 55 52 4e 20 74 6f 20 |e '\' RE|TURN to |
|00003020| 67 65 74 20 62 61 63 6b | 20 74 6f 20 74 68 65 20 |get back| to the |
|00003030| 6d 61 69 6e 20 6d 65 6e | 75 2e 0a 0a 54 6f 20 73 |main men|u...To s|
|00003040| 65 6c 65 63 74 20 61 6e | 20 69 74 65 6d 20 74 6f |elect an| item to|
|00003050| 20 73 65 61 72 63 68 20 | 62 79 2c 20 74 79 70 65 | search |by, type|
|00003060| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 74 | the num|ber of t|
|00003070| 68 65 20 69 74 65 6d 2e | 20 20 49 74 20 77 69 6c |he item.| It wil|
|00003080| 6c 0a 74 68 65 6e 20 70 | 72 6f 6d 70 74 20 79 6f |l.then p|rompt yo|
|00003090| 75 20 66 6f 72 20 61 20 | 73 65 61 72 63 68 20 73 |u for a |search s|
|000030a0| 74 72 69 6e 67 2e 20 20 | 54 79 70 65 20 69 6e 20 |tring. |Type in |
|000030b0| 77 68 61 74 20 79 6f 75 | 20 77 61 6e 74 20 74 6f |what you| want to|
|000030c0| 20 73 65 61 72 63 68 0a | 66 6f 72 20 66 6f 6c 6c | search.|for foll|
|000030d0| 6f 77 65 64 20 62 79 20 | 52 45 54 55 52 4e 2e 20 |owed by |RETURN. |
|000030e0| 20 54 68 65 20 70 72 6f | 67 72 61 6d 20 77 69 6c | The pro|gram wil|
|000030f0| 6c 20 74 68 65 6e 20 73 | 68 6f 77 20 79 6f 75 20 |l then s|how you |
|00003100| 74 68 65 20 65 6e 74 72 | 69 65 73 20 74 68 61 74 |the entr|ies that|
|00003110| 0a 69 74 20 68 61 73 20 | 66 6f 75 6e 64 20 74 68 |.it has |found th|
|00003120| 61 74 20 6d 61 74 63 68 | 20 79 6f 75 72 20 73 65 |at match| your se|
|00003130| 61 72 63 68 20 63 72 69 | 74 65 72 69 61 2e 0a 0a |arch cri|teria...|
|00003140| 28 41 64 76 61 6e 63 65 | 64 20 66 65 61 74 75 72 |(Advance|d featur|
|00003150| 65 29 20 59 6f 75 20 63 | 61 6e 20 73 65 61 72 63 |e) You c|an searc|
|00003160| 68 20 62 79 20 69 74 65 | 6d 73 20 77 68 69 63 68 |h by ite|ms which|
|00003170| 20 79 6f 75 20 68 61 76 | 65 20 64 65 66 69 6e 65 | you hav|e define|
|00003180| 64 2c 20 61 73 20 77 65 | 6c 6c 20 61 73 0a 74 68 |d, as we|ll as.th|
|00003190| 65 20 73 74 61 6e 64 61 | 72 64 20 69 74 65 6d 73 |e standa|rd items|
|000031a0| 2e 20 20 54 68 65 20 6c | 61 73 74 20 63 68 6f 69 |. The l|ast choi|
|000031b0| 63 65 20 69 73 20 6e 6f | 74 20 61 20 73 74 61 6e |ce is no|t a stan|
|000031c0| 64 61 72 64 20 69 74 65 | 6d 20 62 75 74 20 61 6e |dard ite|m but an|
|000031d0| 20 6f 70 74 69 6f 6e 20 | 74 6f 0a 61 6c 6c 6f 77 | option |to.allow|
|000031e0| 20 79 6f 75 20 74 6f 20 | 74 79 70 65 20 69 6e 20 | you to |type in |
|000031f0| 74 68 65 20 6e 61 6d 65 | 20 6f 66 20 79 6f 75 72 |the name| of your|
|00003200| 20 6f 77 6e 20 75 73 65 | 72 2d 64 65 66 69 6e 65 | own use|r-define|
|00003210| 64 20 69 74 65 6d 20 6e | 61 6d 65 2e 20 20 46 6f |d item n|ame. Fo|
|00003220| 72 0a 69 6e 73 74 61 6e | 63 65 2c 20 69 66 20 79 |r.instan|ce, if y|
|00003230| 6f 75 72 20 72 6f 6c 6f | 64 65 78 20 64 61 74 61 |our rolo|dex data|
|00003240| 62 61 73 65 20 63 6f 6e | 74 61 69 6e 65 64 20 27 |base con|tained '|
|00003250| 4e 65 74 20 41 64 64 72 | 65 73 73 27 20 69 74 65 |Net Addr|ess' ite|
|00003260| 6d 73 2c 20 79 6f 75 20 | 63 6f 75 6c 64 0a 73 65 |ms, you |could.se|
|00003270| 61 72 63 68 20 66 6f 72 | 20 4e 65 74 20 41 64 64 |arch for| Net Add|
|00003280| 72 65 73 73 65 73 20 63 | 6f 6e 74 61 69 6e 69 6e |resses c|ontainin|
|00003290| 67 20 27 69 68 6e 70 34 | 27 20 62 79 20 73 65 6c |g 'ihnp4|' by sel|
|000032a0| 65 63 74 69 6e 67 20 74 | 68 65 20 6c 61 73 74 20 |ecting t|he last |
|000032b0| 63 68 6f 69 63 65 0a 61 | 6e 64 20 74 79 70 69 6e |choice.a|nd typin|
|000032c0| 67 20 69 6e 20 27 4e 65 | 74 20 41 64 64 72 65 73 |g in 'Ne|t Addres|
|000032d0| 73 27 20 52 45 54 55 52 | 4e 2c 20 66 6f 6c 6c 6f |s' RETUR|N, follo|
|000032e0| 77 65 64 20 62 79 20 27 | 69 68 6e 70 34 27 20 52 |wed by '|ihnp4' R|
|000032f0| 45 54 55 52 4e 20 61 74 | 20 74 68 65 0a 61 70 70 |ETURN at| the.app|
|00003300| 72 6f 70 72 69 61 74 65 | 20 70 72 6f 6d 70 74 73 |ropriate| prompts|
|00003310| 2e 0a 53 48 41 52 5f 45 | 4f 46 0a 69 66 20 74 65 |..SHAR_E|OF.if te|
|00003320| 73 74 20 31 30 33 34 20 | 2d 6e 65 20 22 60 77 63 |st 1034 |-ne "`wc|
|00003330| 20 2d 63 20 3c 20 27 68 | 65 6c 70 6c 69 62 2f 66 | -c < 'h|elplib/f|
|00003340| 69 65 6c 64 73 65 61 72 | 63 68 68 65 6c 70 27 60 |ieldsear|chhelp'`|
|00003350| 22 0a 74 68 65 6e 0a 09 | 65 63 68 6f 20 73 68 61 |".then..|echo sha|
|00003360| 72 3a 20 65 72 72 6f 72 | 20 74 72 61 6e 73 6d 69 |r: error| transmi|
|00003370| 74 74 69 6e 67 20 22 27 | 68 65 6c 70 6c 69 62 2f |tting "'|helplib/|
|00003380| 66 69 65 6c 64 73 65 61 | 72 63 68 68 65 6c 70 27 |fieldsea|rchhelp'|
|00003390| 22 20 27 28 73 68 6f 75 | 6c 64 20 68 61 76 65 20 |" '(shou|ld have |
|000033a0| 62 65 65 6e 20 31 30 33 | 34 20 63 68 61 72 61 63 |been 103|4 charac|
|000033b0| 74 65 72 73 29 27 0a 66 | 69 0a 66 69 0a 65 63 68 |ters)'.f|i.fi.ech|
|000033c0| 6f 20 73 68 61 72 3a 20 | 65 78 74 72 61 63 74 69 |o shar: |extracti|
|000033d0| 6e 67 20 22 27 68 65 6c | 70 6c 69 62 2f 6c 6f 63 |ng "'hel|plib/loc|
|000033e0| 6b 69 6e 66 6f 27 22 20 | 27 28 37 33 34 20 63 68 |kinfo'" |'(734 ch|
|000033f0| 61 72 61 63 74 65 72 73 | 29 27 0a 69 66 20 74 65 |aracters|)'.if te|
|00003400| 73 74 20 2d 66 20 27 68 | 65 6c 70 6c 69 62 2f 6c |st -f 'h|elplib/l|
|00003410| 6f 63 6b 69 6e 66 6f 27 | 0a 74 68 65 6e 0a 09 65 |ockinfo'|.then..e|
|00003420| 63 68 6f 20 73 68 61 72 | 3a 20 77 69 6c 6c 20 6e |cho shar|: will n|
|00003430| 6f 74 20 6f 76 65 72 2d | 77 72 69 74 65 20 65 78 |ot over-|write ex|
|00003440| 69 73 74 69 6e 67 20 66 | 69 6c 65 20 22 27 68 65 |isting f|ile "'he|
|00003450| 6c 70 6c 69 62 2f 6c 6f | 63 6b 69 6e 66 6f 27 22 |lplib/lo|ckinfo'"|
|00003460| 0a 65 6c 73 65 0a 63 61 | 74 20 3c 3c 20 5c 53 48 |.else.ca|t << \SH|
|00003470| 41 52 5f 45 4f 46 20 3e | 20 27 68 65 6c 70 6c 69 |AR_EOF >| 'helpli|
|00003480| 62 2f 6c 6f 63 6b 69 6e | 66 6f 27 0a 59 6f 75 72 |b/lockin|fo'.Your|
|00003490| 20 72 6f 6c 6f 64 65 78 | 20 69 73 20 61 6c 72 65 | rolodex| is alre|
|000034a0| 61 64 79 20 69 6e 20 75 | 73 65 21 0a 0a 45 69 74 |ady in u|se!..Eit|
|000034b0| 68 65 72 20 73 6f 6d 65 | 6f 6e 65 20 65 6c 73 65 |her some|one else|
|000034c0| 20 69 73 20 75 73 69 6e | 67 20 61 6e 64 20 70 6f | is usin|g and po|
|000034d0| 73 73 69 62 6c 79 20 6d | 6f 64 69 66 79 69 6e 67 |ssibly m|odifying|
|000034e0| 20 79 6f 75 72 20 72 6f | 6c 6f 64 65 78 2c 20 6f | your ro|lodex, o|
|000034f0| 72 20 65 6c 73 65 0a 79 | 6f 75 20 66 6f 72 67 6f |r else.y|ou forgo|
|00003500| 74 20 74 6f 20 65 78 69 | 74 20 61 20 70 72 65 76 |t to exi|t a prev|
|00003510| 69 6f 75 73 20 75 73 65 | 20 6f 66 20 79 6f 75 72 |ious use| of your|
|00003520| 20 72 6f 6c 6f 64 65 78 | 2c 20 6f 72 20 70 6f 73 | rolodex|, or pos|
|00003530| 73 69 62 6c 79 20 74 68 | 65 20 73 79 73 74 65 6d |sibly th|e system|
|00003540| 0a 63 72 61 73 68 65 64 | 20 77 68 69 6c 65 20 79 |.crashed| while y|
|00003550| 6f 75 20 77 65 72 65 20 | 75 73 69 6e 67 20 79 6f |ou were |using yo|
|00003560| 75 72 20 72 6f 6c 6f 64 | 65 78 20 74 68 65 20 6c |ur rolod|ex the l|
|00003570| 61 73 74 20 74 69 6d 65 | 2e 0a 0a 59 6f 75 20 63 |ast time|...You c|
|00003580| 61 6e 20 66 69 6e 64 20 | 6f 75 74 20 77 68 6f 20 |an find |out who |
|00003590| 69 73 20 75 73 69 6e 67 | 20 79 6f 75 72 20 72 6f |is using| your ro|
|000035a0| 6c 6f 64 65 78 20 62 79 | 20 74 79 70 69 6e 67 0a |lodex by| typing.|
|000035b0| 0a 6c 73 20 2d 6c 20 7e | 2f 2e 72 6f 6c 6f 64 65 |.ls -l ~|/.rolode|
|000035c0| 78 64 61 74 61 2e 6c 6f | 63 6b 0a 0a 54 68 65 20 |xdata.lo|ck..The |
|000035d0| 74 68 69 72 64 20 63 6f | 6c 75 6d 6e 20 6f 66 20 |third co|lumn of |
|000035e0| 74 68 65 20 6f 75 74 70 | 75 74 20 77 69 6c 6c 20 |the outp|ut will |
|000035f0| 62 65 20 61 20 75 73 65 | 72 27 73 20 6e 61 6d 65 |be a use|r's name|
|00003600| 2e 20 20 49 66 20 74 68 | 65 20 6e 61 6d 65 20 69 |. If th|e name i|
|00003610| 73 0a 6e 6f 74 20 79 6f | 75 72 73 2c 20 74 68 65 |s.not yo|urs, the|
|00003620| 6e 20 79 6f 75 20 73 68 | 6f 75 6c 64 20 66 69 6e |n you sh|ould fin|
|00003630| 64 20 6f 75 74 20 77 68 | 61 74 20 74 68 61 74 20 |d out wh|at that |
|00003640| 70 65 72 73 6f 6e 20 69 | 73 20 64 6f 69 6e 67 20 |person i|s doing |
|00003650| 77 69 74 68 20 79 6f 75 | 72 0a 72 6f 6c 6f 64 65 |with you|r.rolode|
|00003660| 78 20 61 6e 64 20 61 73 | 6b 20 68 69 6d 2f 68 65 |x and as|k him/he|
|00003670| 72 20 74 6f 20 6c 65 74 | 20 79 6f 75 20 6b 6e 6f |r to let| you kno|
|00003680| 77 20 77 68 65 6e 20 74 | 68 65 79 20 61 72 65 20 |w when t|hey are |
|00003690| 66 69 6e 69 73 68 65 64 | 2e 0a 0a 49 66 20 74 68 |finished|...If th|
|000036a0| 65 20 6e 61 6d 65 20 69 | 73 20 79 6f 75 72 20 6f |e name i|s your o|
|000036b0| 77 6e 2c 20 74 68 65 6e | 20 69 74 20 69 73 20 70 |wn, then| it is p|
|000036c0| 72 6f 62 61 62 6c 79 20 | 73 61 66 65 20 74 6f 20 |robably |safe to |
|000036d0| 72 65 6d 6f 76 65 20 74 | 68 65 20 6c 6f 63 6b 20 |remove t|he lock |
|000036e0| 66 69 6c 65 2e 0a 28 49 | 74 20 69 73 20 70 6f 73 |file..(I|t is pos|
|000036f0| 73 69 62 6c 65 20 74 68 | 61 74 20 73 6f 6d 65 6f |sible th|at someo|
|00003700| 6e 65 20 65 6c 73 65 20 | 69 73 20 6c 6f 67 67 65 |ne else |is logge|
|00003710| 64 20 69 6e 20 61 73 20 | 79 6f 75 2c 20 68 6f 77 |d in as |you, how|
|00003720| 65 76 65 72 2e 2e 2e 29 | 0a 54 79 70 65 0a 0a 72 |ever...)|.Type..r|
|00003730| 6d 20 7e 2f 2e 72 6f 6c | 6f 64 65 78 64 61 74 61 |m ~/.rol|odexdata|
|00003740| 2e 6c 6f 63 6b 0a 0a 61 | 6e 64 20 74 68 65 6e 20 |.lock..a|nd then |
|00003750| 79 6f 75 20 63 61 6e 20 | 75 73 65 20 79 6f 75 72 |you can |use your|
|00003760| 20 72 6f 6c 6f 64 65 78 | 2e 0a 53 48 41 52 5f 45 | rolodex|..SHAR_E|
|00003770| 4f 46 0a 69 66 20 74 65 | 73 74 20 37 33 34 20 2d |OF.if te|st 734 -|
|00003780| 6e 65 20 22 60 77 63 20 | 2d 63 20 3c 20 27 68 65 |ne "`wc |-c < 'he|
|00003790| 6c 70 6c 69 62 2f 6c 6f | 63 6b 69 6e 66 6f 27 60 |lplib/lo|ckinfo'`|
|000037a0| 22 0a 74 68 65 6e 0a 09 | 65 63 68 6f 20 73 68 61 |".then..|echo sha|
|000037b0| 72 3a 20 65 72 72 6f 72 | 20 74 72 61 6e 73 6d 69 |r: error| transmi|
|000037c0| 74 74 69 6e 67 20 22 27 | 68 65 6c 70 6c 69 62 2f |tting "'|helplib/|
|000037d0| 6c 6f 63 6b 69 6e 66 6f | 27 22 20 27 28 73 68 6f |lockinfo|'" '(sho|
|000037e0| 75 6c 64 20 68 61 76 65 | 20 62 65 65 6e 20 37 33 |uld have| been 73|
|000037f0| 34 20 63 68 61 72 61 63 | 74 65 72 73 29 27 0a 66 |4 charac|ters)'.f|
|00003800| 69 0a 66 69 0a 65 63 68 | 6f 20 73 68 61 72 3a 20 |i.fi.ech|o shar: |
|00003810| 65 78 74 72 61 63 74 69 | 6e 67 20 22 27 68 65 6c |extracti|ng "'hel|
|00003820| 70 6c 69 62 2f 6d 61 69 | 6e 6d 65 6e 75 27 22 20 |plib/mai|nmenu'" |
|00003830| 27 28 33 39 35 20 63 68 | 61 72 61 63 74 65 72 73 |'(395 ch|aracters|
|00003840| 29 27 0a 69 66 20 74 65 | 73 74 20 2d 66 20 27 68 |)'.if te|st -f 'h|
|00003850| 65 6c 70 6c 69 62 2f 6d | 61 69 6e 6d 65 6e 75 27 |elplib/m|ainmenu'|
|00003860| 0a 74 68 65 6e 0a 09 65 | 63 68 6f 20 73 68 61 72 |.then..e|cho shar|
|00003870| 3a 20 77 69 6c 6c 20 6e | 6f 74 20 6f 76 65 72 2d |: will n|ot over-|
|00003880| 77 72 69 74 65 20 65 78 | 69 73 74 69 6e 67 20 66 |write ex|isting f|
|00003890| 69 6c 65 20 22 27 68 65 | 6c 70 6c 69 62 2f 6d 61 |ile "'he|lplib/ma|
|000038a0| 69 6e 6d 65 6e 75 27 22 | 0a 65 6c 73 65 0a 63 61 |inmenu'"|.else.ca|
|000038b0| 74 20 3c 3c 20 5c 53 48 | 41 52 5f 45 4f 46 20 3e |t << \SH|AR_EOF >|
|000038c0| 20 27 68 65 6c 70 6c 69 | 62 2f 6d 61 69 6e 6d 65 | 'helpli|b/mainme|
|000038d0| 6e 75 27 0a 20 20 20 20 | 20 20 20 20 54 4f 50 20 |nu'. | TOP |
|000038e0| 4c 45 56 45 4c 20 4d 45 | 4e 55 0a 0a 20 20 2b 20 |LEVEL ME|NU.. + |
|000038f0| 20 3a 20 20 61 64 64 20 | 61 20 6e 65 77 20 65 6e | : add |a new en|
|00003900| 74 72 79 0a 20 20 25 20 | 20 3a 20 20 73 63 61 6e |try. % | : scan|
|00003910| 20 74 68 65 20 72 6f 6c | 6f 64 65 78 20 65 6e 74 | the rol|odex ent|
|00003920| 72 79 20 62 79 20 65 6e | 74 72 79 0a 20 20 24 20 |ry by en|try. $ |
|00003930| 20 3a 20 20 73 65 61 72 | 63 68 20 62 79 20 73 6f | : sear|ch by so|
|00003940| 6d 65 20 69 74 65 6d 20 | 6f 74 68 65 72 20 74 68 |me item |other th|
|00003950| 61 6e 20 27 4e 61 6d 65 | 27 0a 20 20 2a 20 20 3a |an 'Name|'. * :|
|00003960| 20 20 73 61 76 65 20 61 | 6e 79 20 63 68 61 6e 67 | save a|ny chang|
|00003970| 65 73 20 6d 61 64 65 20 | 73 6f 20 66 61 72 0a 20 |es made |so far. |
|00003980| 20 21 20 20 3a 20 20 70 | 72 65 74 74 79 20 70 72 | ! : p|retty pr|
|00003990| 69 6e 74 20 74 68 65 20 | 72 6f 6c 6f 64 65 78 20 |int the |rolodex |
|000039a0| 64 61 74 61 62 61 73 65 | 20 74 6f 20 61 20 64 69 |database| to a di|
|000039b0| 73 6b 20 66 69 6c 65 0a | 20 20 5c 20 20 3a 20 20 |sk file.| \ : |
|000039c0| 65 78 69 74 20 28 61 6e | 79 20 63 68 61 6e 67 65 |exit (an|y change|
|000039d0| 73 20 79 6f 75 27 76 65 | 20 6d 61 64 65 20 77 69 |s you've| made wi|
|000039e0| 6c 6c 20 62 65 20 73 61 | 76 65 64 29 0a 0a 54 6f |ll be sa|ved)..To|
|000039f0| 20 73 65 61 72 63 68 20 | 66 6f 72 20 61 6e 20 65 | search |for an e|
|00003a00| 6e 74 72 79 20 62 79 20 | 6e 61 6d 65 2c 20 6a 75 |ntry by |name, ju|
|00003a10| 73 74 20 74 79 70 65 20 | 69 6e 20 74 68 65 20 6e |st type |in the n|
|00003a20| 61 6d 65 2e 0a 54 6f 20 | 75 70 64 61 74 65 20 6f |ame..To |update o|
|00003a30| 72 20 64 65 6c 65 74 65 | 20 61 6e 20 65 6e 74 72 |r delete| an entr|
|00003a40| 79 2c 20 66 69 72 73 74 | 20 66 69 6e 64 20 69 74 |y, first| find it|
|00003a50| 20 62 79 20 73 65 61 72 | 63 68 69 6e 67 2e 0a 53 | by sear|ching..S|
|00003a60| 48 41 52 5f 45 4f 46 0a | 69 66 20 74 65 73 74 20 |HAR_EOF.|if test |
|00003a70| 33 39 35 20 2d 6e 65 20 | 22 60 77 63 20 2d 63 20 |395 -ne |"`wc -c |
|00003a80| 3c 20 27 68 65 6c 70 6c | 69 62 2f 6d 61 69 6e 6d |< 'helpl|ib/mainm|
|00003a90| 65 6e 75 27 60 22 0a 74 | 68 65 6e 0a 09 65 63 68 |enu'`".t|hen..ech|
|00003aa0| 6f 20 73 68 61 72 3a 20 | 65 72 72 6f 72 20 74 72 |o shar: |error tr|
|00003ab0| 61 6e 73 6d 69 74 74 69 | 6e 67 20 22 27 68 65 6c |ansmitti|ng "'hel|
|00003ac0| 70 6c 69 62 2f 6d 61 69 | 6e 6d 65 6e 75 27 22 20 |plib/mai|nmenu'" |
|00003ad0| 27 28 73 68 6f 75 6c 64 | 20 68 61 76 65 20 62 65 |'(should| have be|
|00003ae0| 65 6e 20 33 39 35 20 63 | 68 61 72 61 63 74 65 72 |en 395 c|haracter|
|00003af0| 73 29 27 0a 66 69 0a 66 | 69 0a 65 63 68 6f 20 73 |s)'.fi.f|i.echo s|
|00003b00| 68 61 72 3a 20 65 78 74 | 72 61 63 74 69 6e 67 20 |har: ext|racting |
|00003b10| 22 27 68 65 6c 70 6c 69 | 62 2f 6d 6f 70 74 69 6f |"'helpli|b/moptio|
|00003b20| 6e 68 65 6c 70 27 22 20 | 27 28 31 33 39 30 20 63 |nhelp'" |'(1390 c|
|00003b30| 68 61 72 61 63 74 65 72 | 73 29 27 0a 69 66 20 74 |haracter|s)'.if t|
|00003b40| 65 73 74 20 2d 66 20 27 | 68 65 6c 70 6c 69 62 2f |est -f '|helplib/|
|00003b50| 6d 6f 70 74 69 6f 6e 68 | 65 6c 70 27 0a 74 68 65 |moptionh|elp'.the|
|00003b60| 6e 0a 09 65 63 68 6f 20 | 73 68 61 72 3a 20 77 69 |n..echo |shar: wi|
|00003b70| 6c 6c 20 6e 6f 74 20 6f | 76 65 72 2d 77 72 69 74 |ll not o|ver-writ|
|00003b80| 65 20 65 78 69 73 74 69 | 6e 67 20 66 69 6c 65 20 |e existi|ng file |
|00003b90| 22 27 68 65 6c 70 6c 69 | 62 2f 6d 6f 70 74 69 6f |"'helpli|b/moptio|
|00003ba0| 6e 68 65 6c 70 27 22 0a | 65 6c 73 65 0a 63 61 74 |nhelp'".|else.cat|
|00003bb0| 20 3c 3c 20 5c 53 48 41 | 52 5f 45 4f 46 20 3e 20 | << \SHA|R_EOF > |
|00003bc0| 27 68 65 6c 70 6c 69 62 | 2f 6d 6f 70 74 69 6f 6e |'helplib|/moption|
|00003bd0| 68 65 6c 70 27 0a 20 20 | 20 20 20 54 68 69 73 20 |help'. | This |
|00003be0| 69 73 20 74 68 65 20 54 | 4d 43 20 52 6f 6c 6f 64 |is the T|MC Rolod|
|00003bf0| 65 78 2c 20 61 6e 20 6f | 6e 6c 69 6e 65 20 77 61 |ex, an o|nline wa|
|00003c00| 79 20 74 6f 20 73 74 6f | 72 65 20 61 6e 64 20 72 |y to sto|re and r|
|00003c10| 65 74 72 69 65 76 65 20 | 69 6e 66 6f 72 6d 61 74 |etrieve |informat|
|00003c20| 69 6f 6e 0a 61 62 6f 75 | 74 20 70 65 6f 70 6c 65 |ion.abou|t people|
|00003c30| 20 79 6f 75 20 6b 6e 6f | 77 2c 20 61 6e 64 20 6f | you kno|w, and o|
|00003c40| 74 68 65 72 20 69 6d 70 | 6f 72 74 61 6e 74 20 70 |ther imp|ortant p|
|00003c50| 69 65 63 65 73 20 6f 66 | 20 64 61 74 61 2e 0a 20 |ieces of| data.. |
|00003c60| 20 20 20 20 44 61 74 61 | 20 69 73 20 73 74 6f 72 | Data| is stor|
|00003c70| 65 64 20 69 6e 20 75 6e | 69 74 73 20 63 61 6c 6c |ed in un|its call|
|00003c80| 65 64 20 65 6e 74 72 69 | 65 73 2e 2e 20 20 54 68 |ed entri|es.. Th|
|00003c90| 65 72 65 20 77 69 6c 6c | 20 67 65 6e 65 72 61 6c |ere will| general|
|00003ca0| 6c 79 20 62 65 20 61 6e | 20 65 6e 74 72 79 0a 66 |ly be an| entry.f|
|00003cb0| 6f 72 20 65 61 63 68 20 | 70 65 72 73 6f 6e 20 69 |or each |person i|
|00003cc0| 6e 20 79 6f 75 72 20 72 | 6f 6c 6f 64 65 78 2e 20 |n your r|olodex. |
|00003cd0| 20 49 6e 73 69 64 65 20 | 65 6e 74 72 69 65 73 20 | Inside |entries |
|00003ce0| 61 72 65 20 69 74 65 6d | 73 2e 20 20 49 74 65 6d |are item|s. Item|
|00003cf0| 73 20 73 74 6f 72 65 20 | 73 75 63 68 0a 74 68 69 |s store |such.thi|
|00003d00| 6e 67 73 20 61 73 20 61 | 20 70 65 72 73 6f 6e 27 |ngs as a| person'|
|00003d10| 73 20 6e 61 6d 65 2c 20 | 68 69 73 20 70 68 6f 6e |s name, |his phon|
|00003d20| 65 20 6e 75 6d 62 65 72 | 28 73 29 2c 20 61 6e 64 |e number|(s), and|
|00003d30| 20 61 64 64 72 65 73 73 | 28 65 73 29 2e 20 20 59 | address|(es). Y|
|00003d40| 6f 75 20 63 61 6e 0a 63 | 68 61 6e 67 65 20 69 74 |ou can.c|hange it|
|00003d50| 65 6d 73 20 6f 72 20 61 | 64 64 20 6e 65 77 20 6f |ems or a|dd new o|
|00003d60| 6e 65 73 2e 20 20 59 6f | 75 20 63 61 6e 20 63 72 |nes. Yo|u can cr|
|00003d70| 65 61 74 65 20 6f 72 20 | 64 65 6c 65 74 65 20 65 |eate or |delete e|
|00003d80| 6e 74 69 72 65 20 65 6e | 74 72 69 65 73 20 61 6c |ntire en|tries al|
|00003d90| 73 6f 2e 0a 20 20 20 20 | 20 41 74 20 61 6e 79 20 |so.. | At any |
|00003da0| 74 69 6d 65 20 79 6f 75 | 20 63 61 6e 20 74 79 70 |time you| can typ|
|00003db0| 65 20 74 68 65 20 63 68 | 61 72 61 63 74 65 72 20 |e the ch|aracter |
|00003dc0| 27 5c 27 20 66 6f 6c 6c | 6f 77 65 64 20 62 79 20 |'\' foll|owed by |
|00003dd0| 52 45 54 55 52 4e 20 74 | 6f 20 61 62 6f 72 74 0a |RETURN t|o abort.|
|00003de0| 77 68 61 74 20 79 6f 75 | 20 61 72 65 20 63 75 72 |what you| are cur|
|00003df0| 72 65 6e 74 6c 79 20 64 | 6f 69 6e 67 2e 20 20 4d |rently d|oing. M|
|00003e00| 6f 73 74 20 6f 66 20 74 | 68 65 20 74 69 6d 65 20 |ost of t|he time |
|00003e10| 27 3f 27 20 6f 72 20 27 | 68 65 6c 70 27 20 66 6f |'?' or '|help' fo|
|00003e20| 6c 6c 6f 77 65 64 20 62 | 79 0a 52 45 54 55 52 4e |llowed b|y.RETURN|
|00003e30| 20 77 69 6c 6c 20 67 65 | 74 20 79 6f 75 20 6d 6f | will ge|t you mo|
|00003e40| 72 65 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 6f |re infor|mation o|
|00003e50| 6e 20 77 68 61 74 20 79 | 6f 75 20 61 72 65 20 65 |n what y|ou are e|
|00003e60| 78 70 65 63 74 65 64 20 | 74 6f 20 74 79 70 65 20 |xpected |to type |
|00003e70| 69 6e 20 6e 65 78 74 2e | 0a 20 20 20 20 20 49 66 |in next.|. If|
|00003e80| 20 66 6f 72 20 73 6f 6d | 65 20 72 65 61 73 6f 6e | for som|e reason|
|00003e90| 20 79 6f 75 20 77 69 73 | 68 20 74 6f 20 74 65 72 | you wis|h to ter|
|00003ea0| 6d 69 6e 61 74 65 20 74 | 68 65 20 72 6f 6c 6f 64 |minate t|he rolod|
|00003eb0| 65 78 20 70 72 6f 67 72 | 61 6d 20 77 69 74 68 6f |ex progr|am witho|
|00003ec0| 75 74 0a 73 61 76 69 6e | 67 20 61 6e 79 20 63 68 |ut.savin|g any ch|
|00003ed0| 61 6e 67 65 73 20 79 6f | 75 20 68 61 76 65 20 6d |anges yo|u have m|
|00003ee0| 61 64 65 2c 20 68 6f 6c | 64 20 64 6f 77 6e 20 74 |ade, hol|d down t|
|00003ef0| 68 65 20 43 54 52 4c 20 | 6b 65 79 20 61 6e 64 20 |he CTRL |key and |
|00003f00| 74 79 70 65 20 27 63 27 | 2e 0a 0a 20 20 20 20 20 |type 'c'|... |
|00003f10| 57 68 65 6e 20 79 6f 75 | 20 61 72 65 20 73 65 61 |When you| are sea|
|00003f20| 72 63 68 69 6e 67 20 66 | 6f 72 20 69 6e 66 6f 72 |rching f|or infor|
|00003f30| 6d 61 74 69 6f 6e 2c 20 | 74 79 70 69 6e 67 20 69 |mation, |typing i|
|00003f40| 6e 20 61 6e 79 20 70 61 | 72 74 20 6f 66 20 74 68 |n any pa|rt of th|
|00003f50| 65 0a 69 6e 66 6f 72 6d | 61 74 69 6f 6e 20 74 68 |e.inform|ation th|
|00003f60| 61 74 20 75 6e 69 71 75 | 65 6c 79 20 69 64 65 6e |at uniqu|ely iden|
|00003f70| 74 69 66 69 65 73 20 69 | 74 20 69 73 20 67 6f 6f |tifies i|t is goo|
|00003f80| 64 20 65 6e 6f 75 67 68 | 2e 20 20 46 6f 72 20 69 |d enough|. For i|
|00003f90| 6e 73 74 61 6e 63 65 2c | 20 69 66 20 79 6f 75 0a |nstance,| if you.|
|00003fa0| 77 65 72 65 20 6c 6f 6f | 6b 69 6e 67 20 66 6f 72 |were loo|king for|
|00003fb0| 20 4a 6f 68 6e 20 46 69 | 6e 6b 6c 65 73 6e 6f 72 | John Fi|nklesnor|
|00003fc0| 74 2c 20 74 79 70 69 6e | 67 20 27 4a 6f 68 6e 27 |t, typin|g 'John'|
|00003fd0| 20 69 73 20 70 72 6f 62 | 61 62 6c 79 20 6e 6f 74 | is prob|ably not|
|00003fe0| 20 61 20 67 6f 6f 64 20 | 69 64 65 61 0a 62 65 63 | a good |idea.bec|
|00003ff0| 61 75 73 65 20 79 6f 75 | 20 70 72 6f 62 61 62 6c |ause you| probabl|
|00004000| 79 20 68 61 76 65 20 61 | 20 66 65 77 20 6e 61 6d |y have a| few nam|
|00004010| 65 73 20 74 68 61 74 20 | 63 6f 6e 74 61 69 6e 20 |es that |contain |
|00004020| 27 4a 6f 68 6e 27 2c 20 | 62 75 74 20 74 79 70 69 |'John', |but typi|
|00004030| 6e 67 20 27 46 69 6e 6b | 6c 65 27 0a 6f 72 20 27 |ng 'Fink|le'.or '|
|00004040| 73 6e 6f 72 74 27 20 77 | 69 6c 6c 20 70 72 6f 62 |snort' w|ill prob|
|00004050| 61 62 6c 79 20 75 6e 69 | 71 75 65 6c 79 20 69 64 |ably uni|quely id|
|00004060| 65 6e 74 69 66 79 20 74 | 68 65 20 65 6e 74 72 79 |entify t|he entry|
|00004070| 20 79 6f 75 20 77 61 6e | 74 2e 20 20 54 68 65 20 | you wan|t. The |
|00004080| 73 65 61 72 63 68 0a 70 | 72 6f 67 72 61 6d 20 69 |search.p|rogram i|
|00004090| 73 20 63 6f 6d 70 6c 65 | 74 65 6c 79 20 63 61 73 |s comple|tely cas|
|000040a0| 65 2d 69 6e 73 65 6e 73 | 69 74 69 76 65 2e 0a 20 |e-insens|itive.. |
|000040b0| 20 20 20 20 54 68 65 20 | 72 6f 6c 6f 64 65 78 20 | The |rolodex |
|000040c0| 73 65 61 72 63 68 20 69 | 73 20 63 6f 6d 70 6c 65 |search i|s comple|
|000040d0| 74 65 6c 79 20 63 61 73 | 65 2d 69 6e 73 65 6e 73 |tely cas|e-insens|
|000040e0| 69 74 69 76 65 20 28 65 | 2e 67 2e 2c 20 73 65 61 |itive (e|.g., sea|
|000040f0| 72 63 68 69 6e 67 20 66 | 6f 72 0a 27 46 69 6e 6b |rching f|or.'Fink|
|00004100| 6c 65 27 20 69 73 20 74 | 68 65 20 73 61 6d 65 20 |le' is t|he same |
|00004110| 61 73 20 73 65 61 72 63 | 68 69 6e 67 20 66 6f 72 |as searc|hing for|
|00004120| 20 27 66 69 6e 6b 6c 65 | 27 20 69 73 20 74 68 65 | 'finkle|' is the|
|00004130| 20 73 61 6d 65 20 61 73 | 20 27 66 49 6e 4b 4c 65 | same as| 'fInKLe|
|00004140| 27 29 2e 0a 53 48 41 52 | 5f 45 4f 46 0a 69 66 20 |')..SHAR|_EOF.if |
|00004150| 74 65 73 74 20 31 33 39 | 30 20 2d 6e 65 20 22 60 |test 139|0 -ne "`|
|00004160| 77 63 20 2d 63 20 3c 20 | 27 68 65 6c 70 6c 69 62 |wc -c < |'helplib|
|00004170| 2f 6d 6f 70 74 69 6f 6e | 68 65 6c 70 27 60 22 0a |/moption|help'`".|
|00004180| 74 68 65 6e 0a 09 65 63 | 68 6f 20 73 68 61 72 3a |then..ec|ho shar:|
|00004190| 20 65 72 72 6f 72 20 74 | 72 61 6e 73 6d 69 74 74 | error t|ransmitt|
|000041a0| 69 6e 67 20 22 27 68 65 | 6c 70 6c 69 62 2f 6d 6f |ing "'he|lplib/mo|
|000041b0| 70 74 69 6f 6e 68 65 6c | 70 27 22 20 27 28 73 68 |ptionhel|p'" '(sh|
|000041c0| 6f 75 6c 64 20 68 61 76 | 65 20 62 65 65 6e 20 31 |ould hav|e been 1|
|000041d0| 33 39 30 20 63 68 61 72 | 61 63 74 65 72 73 29 27 |390 char|acters)'|
|000041e0| 0a 66 69 0a 66 69 0a 65 | 63 68 6f 20 73 68 61 72 |.fi.fi.e|cho shar|
|000041f0| 3a 20 65 78 74 72 61 63 | 74 69 6e 67 20 22 27 68 |: extrac|ting "'h|
|00004200| 65 6c 70 6c 69 62 2f 6d | 6f 70 74 69 6f 6e 73 68 |elplib/m|optionsh|
|00004210| 65 6c 70 27 22 20 27 28 | 37 34 37 20 63 68 61 72 |elp'" '(|747 char|
|00004220| 61 63 74 65 72 73 29 27 | 0a 69 66 20 74 65 73 74 |acters)'|.if test|
|00004230| 20 2d 66 20 27 68 65 6c | 70 6c 69 62 2f 6d 6f 70 | -f 'hel|plib/mop|
|00004240| 74 69 6f 6e 73 68 65 6c | 70 27 0a 74 68 65 6e 0a |tionshel|p'.then.|
|00004250| 09 65 63 68 6f 20 73 68 | 61 72 3a 20 77 69 6c 6c |.echo sh|ar: will|
|00004260| 20 6e 6f 74 20 6f 76 65 | 72 2d 77 72 69 74 65 20 | not ove|r-write |
|00004270| 65 78 69 73 74 69 6e 67 | 20 66 69 6c 65 20 22 27 |existing| file "'|
|00004280| 68 65 6c 70 6c 69 62 2f | 6d 6f 70 74 69 6f 6e 73 |helplib/|moptions|
|00004290| 68 65 6c 70 27 22 0a 65 | 6c 73 65 0a 63 61 74 20 |help'".e|lse.cat |
|000042a0| 3c 3c 20 5c 53 48 41 52 | 5f 45 4f 46 20 3e 20 27 |<< \SHAR|_EOF > '|
|000042b0| 68 65 6c 70 6c 69 62 2f | 6d 6f 70 74 69 6f 6e 73 |helplib/|moptions|
|000042c0| 68 65 6c 70 27 0a 54 68 | 69 73 20 69 73 20 74 68 |help'.Th|is is th|
|000042d0| 65 20 54 4d 43 20 52 6f | 6c 6f 64 65 78 2c 20 61 |e TMC Ro|lodex, a|
|000042e0| 6e 20 6f 6e 6c 69 6e 65 | 20 77 61 79 20 74 6f 20 |n online| way to |
|000042f0| 73 74 6f 72 65 20 61 6e | 64 20 72 65 74 72 69 65 |store an|d retrie|
|00004300| 76 65 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 0a 61 |ve infor|mation.a|
|00004310| 62 6f 75 74 20 70 65 6f | 70 6c 65 20 79 6f 75 20 |bout peo|ple you |
|00004320| 6b 6e 6f 77 2c 20 61 6e | 64 20 6f 74 68 65 72 20 |know, an|d other |
|00004330| 69 6d 70 6f 72 74 61 6e | 74 20 70 69 65 63 65 73 |importan|t pieces|
|00004340| 20 6f 66 20 64 61 74 61 | 2e 0a 0a 41 74 20 61 6e | of data|...At an|
|00004350| 79 20 74 69 6d 65 20 79 | 6f 75 20 63 61 6e 20 74 |y time y|ou can t|
|00004360| 79 70 65 20 74 68 65 20 | 63 68 61 72 61 63 74 65 |ype the |characte|
|00004370| 72 20 27 5c 27 20 66 6f | 6c 6c 6f 77 65 64 20 62 |r '\' fo|llowed b|
|00004380| 79 20 52 45 54 55 52 4e | 20 74 6f 20 61 62 6f 72 |y RETURN| to abor|
|00004390| 74 0a 77 68 61 74 20 79 | 6f 75 20 61 72 65 20 63 |t.what y|ou are c|
|000043a0| 75 72 72 65 6e 74 6c 79 | 20 64 6f 69 6e 67 2e 20 |urrently| doing. |
|000043b0| 20 4d 6f 73 74 20 6f 66 | 20 74 68 65 20 74 69 6d | Most of| the tim|
|000043c0| 65 20 27 3f 27 20 6f 72 | 20 27 68 65 6c 70 27 20 |e '?' or| 'help' |
|000043d0| 66 6f 6c 6c 6f 77 65 64 | 20 62 79 0a 52 45 54 55 |followed| by.RETU|
|000043e0| 52 4e 20 77 69 6c 6c 20 | 67 65 74 20 79 6f 75 20 |RN will |get you |
|000043f0| 6d 6f 72 65 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |more inf|ormation|
|00004400| 20 6f 6e 20 77 68 61 74 | 20 79 6f 75 20 61 72 65 | on what| you are|
|00004410| 20 65 78 70 65 63 74 65 | 64 20 74 6f 20 74 79 70 | expecte|d to typ|
|00004420| 65 20 69 6e 0a 6e 65 78 | 74 2e 0a 0a 41 74 20 74 |e in.nex|t...At t|
|00004430| 68 65 20 54 6f 70 20 4c | 65 76 65 6c 20 4d 65 6e |he Top L|evel Men|
|00004440| 75 2c 20 77 68 69 63 68 | 20 79 6f 75 20 61 72 65 |u, which| you are|
|00004450| 20 63 75 72 72 65 6e 74 | 6c 79 20 61 74 2c 20 79 | current|ly at, y|
|00004460| 6f 75 20 63 61 6e 20 74 | 79 70 65 20 74 68 65 20 |ou can t|ype the |
|00004470| 66 6f 6c 6c 6f 77 69 6e | 67 3a 0a 0a 27 2b 27 20 |followin|g:..'+' |
|00004480| 20 20 20 20 74 6f 20 62 | 65 67 69 6e 20 65 6e 74 | to b|egin ent|
|00004490| 65 72 69 6e 67 20 69 6e | 66 6f 72 6d 61 74 69 6f |ering in|formatio|
|000044a0| 6e 20 61 62 6f 75 74 20 | 61 20 6e 65 77 20 70 65 |n about |a new pe|
|000044b0| 72 73 6f 6e 2e 0a 27 25 | 27 20 20 20 20 20 74 6f |rson..'%|' to|
|000044c0| 20 62 65 67 69 6e 20 73 | 63 61 6e 6e 69 6e 67 20 | begin s|canning |
|000044d0| 79 6f 75 72 20 72 6f 6c | 6f 64 65 78 2c 20 65 6e |your rol|odex, en|
|000044e0| 74 72 79 20 62 79 20 65 | 6e 74 72 79 2e 0a 27 21 |try by e|ntry..'!|
|000044f0| 27 20 20 20 20 20 74 6f | 20 70 72 69 6e 74 20 6f |' to| print o|
|00004500| 75 74 20 79 6f 75 72 20 | 72 6f 6c 6f 64 65 78 20 |ut your |rolodex |
|00004510| 69 6e 20 61 20 6e 69 63 | 65 20 66 6f 72 6d 61 74 |in a nic|e format|
|00004520| 2e 0a 27 2a 27 20 20 20 | 20 20 74 6f 20 73 61 76 |..'*' | to sav|
|00004530| 65 20 61 6e 79 20 63 68 | 61 6e 67 65 73 20 79 6f |e any ch|anges yo|
|00004540| 75 20 68 61 76 65 20 6d | 61 64 65 20 74 6f 20 79 |u have m|ade to y|
|00004550| 6f 75 72 20 72 6f 6c 6f | 64 65 78 2e 0a 27 5c 27 |our rolo|dex..'\'|
|00004560| 20 20 20 20 20 74 6f 20 | 65 78 69 74 20 74 68 65 | to |exit the|
|00004570| 20 72 6f 6c 6f 64 65 78 | 20 70 72 6f 67 72 61 6d | rolodex| program|
|00004580| 2e 0a 0a 49 66 20 79 6f | 75 20 77 69 73 68 20 74 |...If yo|u wish t|
|00004590| 6f 20 66 69 6e 64 20 61 | 6e 20 61 6c 72 65 61 64 |o find a|n alread|
|000045a0| 79 20 65 78 69 73 74 69 | 6e 67 20 65 6e 74 72 79 |y existi|ng entry|
|000045b0| 0a 53 48 41 52 5f 45 4f | 46 0a 69 66 20 74 65 73 |.SHAR_EO|F.if tes|
|000045c0| 74 20 37 34 37 20 2d 6e | 65 20 22 60 77 63 20 2d |t 747 -n|e "`wc -|
|000045d0| 63 20 3c 20 27 68 65 6c | 70 6c 69 62 2f 6d 6f 70 |c < 'hel|plib/mop|
|000045e0| 74 69 6f 6e 73 68 65 6c | 70 27 60 22 0a 74 68 65 |tionshel|p'`".the|
|000045f0| 6e 0a 09 65 63 68 6f 20 | 73 68 61 72 3a 20 65 72 |n..echo |shar: er|
|00004600| 72 6f 72 20 74 72 61 6e | 73 6d 69 74 74 69 6e 67 |ror tran|smitting|
|00004610| 20 22 27 68 65 6c 70 6c | 69 62 2f 6d 6f 70 74 69 | "'helpl|ib/mopti|
|00004620| 6f 6e 73 68 65 6c 70 27 | 22 20 27 28 73 68 6f 75 |onshelp'|" '(shou|
|00004630| 6c 64 20 68 61 76 65 20 | 62 65 65 6e 20 37 34 37 |ld have |been 747|
|00004640| 20 63 68 61 72 61 63 74 | 65 72 73 29 27 0a 66 69 | charact|ers)'.fi|
|00004650| 0a 66 69 0a 65 63 68 6f | 20 73 68 61 72 3a 20 65 |.fi.echo| shar: e|
|00004660| 78 74 72 61 63 74 69 6e | 67 20 22 27 68 65 6c 70 |xtractin|g "'help|
|00004670| 6c 69 62 2f 70 69 63 6b | 65 6e 74 72 79 6d 65 6e |lib/pick|entrymen|
|00004680| 75 27 22 20 27 28 31 33 | 30 20 63 68 61 72 61 63 |u'" '(13|0 charac|
|00004690| 74 65 72 73 29 27 0a 69 | 66 20 74 65 73 74 20 2d |ters)'.i|f test -|
|000046a0| 66 20 27 68 65 6c 70 6c | 69 62 2f 70 69 63 6b 65 |f 'helpl|ib/picke|
|000046b0| 6e 74 72 79 6d 65 6e 75 | 27 0a 74 68 65 6e 0a 09 |ntrymenu|'.then..|
|000046c0| 65 63 68 6f 20 73 68 61 | 72 3a 20 77 69 6c 6c 20 |echo sha|r: will |
|000046d0| 6e 6f 74 20 6f 76 65 72 | 2d 77 72 69 74 65 20 65 |not over|-write e|
|000046e0| 78 69 73 74 69 6e 67 20 | 66 69 6c 65 20 22 27 68 |xisting |file "'h|
|000046f0| 65 6c 70 6c 69 62 2f 70 | 69 63 6b 65 6e 74 72 79 |elplib/p|ickentry|
|00004700| 6d 65 6e 75 27 22 0a 65 | 6c 73 65 0a 63 61 74 20 |menu'".e|lse.cat |
|00004710| 3c 3c 20 5c 53 48 41 52 | 5f 45 4f 46 20 3e 20 27 |<< \SHAR|_EOF > '|
|00004720| 68 65 6c 70 6c 69 62 2f | 70 69 63 6b 65 6e 74 72 |helplib/|pickentr|
|00004730| 79 6d 65 6e 75 27 0a 54 | 79 70 65 20 6e 75 6d 62 |ymenu'.T|ype numb|
|00004740| 65 72 20 6f 66 20 74 68 | 65 20 65 6e 74 72 79 20 |er of th|e entry |
|00004750| 79 6f 75 20 77 69 73 68 | 20 74 6f 20 76 69 65 77 |you wish| to view|
|00004760| 2c 0a 6f 72 20 74 79 70 | 65 20 52 45 54 55 52 4e |,.or typ|e RETURN|
|00004770| 20 74 6f 20 76 69 65 77 | 20 65 61 63 68 20 65 6e | to view| each en|
|00004780| 74 72 79 20 6f 6e 65 20 | 62 79 20 6f 6e 65 2c 0a |try one |by one,.|
|00004790| 6f 72 20 74 79 70 65 20 | 27 5c 27 20 74 6f 20 67 |or type |'\' to g|
|000047a0| 6f 20 62 61 63 6b 20 74 | 6f 20 74 68 65 20 6d 61 |o back t|o the ma|
|000047b0| 69 6e 20 6d 65 6e 75 2e | 0a 53 48 41 52 5f 45 4f |in menu.|.SHAR_EO|
|000047c0| 46 0a 69 66 20 74 65 73 | 74 20 31 33 30 20 2d 6e |F.if tes|t 130 -n|
|000047d0| 65 20 22 60 77 63 20 2d | 63 20 3c 20 27 68 65 6c |e "`wc -|c < 'hel|
|000047e0| 70 6c 69 62 2f 70 69 63 | 6b 65 6e 74 72 79 6d 65 |plib/pic|kentryme|
|000047f0| 6e 75 27 60 22 0a 74 68 | 65 6e 0a 09 65 63 68 6f |nu'`".th|en..echo|
|00004800| 20 73 68 61 72 3a 20 65 | 72 72 6f 72 20 74 72 61 | shar: e|rror tra|
|00004810| 6e 73 6d 69 74 74 69 6e | 67 20 22 27 68 65 6c 70 |nsmittin|g "'help|
|00004820| 6c 69 62 2f 70 69 63 6b | 65 6e 74 72 79 6d 65 6e |lib/pick|entrymen|
|00004830| 75 27 22 20 27 28 73 68 | 6f 75 6c 64 20 68 61 76 |u'" '(sh|ould hav|
|00004840| 65 20 62 65 65 6e 20 31 | 33 30 20 63 68 61 72 61 |e been 1|30 chara|
|00004850| 63 74 65 72 73 29 27 0a | 66 69 0a 66 69 0a 65 63 |cters)'.|fi.fi.ec|
|00004860| 68 6f 20 73 68 61 72 3a | 20 65 78 74 72 61 63 74 |ho shar:| extract|
|00004870| 69 6e 67 20 22 27 68 65 | 6c 70 6c 69 62 2f 70 6f |ing "'he|lplib/po|
|00004880| 70 74 69 6f 6e 6d 65 6e | 75 27 22 20 27 28 31 35 |ptionmen|u'" '(15|
|00004890| 30 20 63 68 61 72 61 63 | 74 65 72 73 29 27 0a 69 |0 charac|ters)'.i|
|000048a0| 66 20 74 65 73 74 20 2d | 66 20 27 68 65 6c 70 6c |f test -|f 'helpl|
|000048b0| 69 62 2f 70 6f 70 74 69 | 6f 6e 6d 65 6e 75 27 0a |ib/popti|onmenu'.|
|000048c0| 74 68 65 6e 0a 09 65 63 | 68 6f 20 73 68 61 72 3a |then..ec|ho shar:|
|000048d0| 20 77 69 6c 6c 20 6e 6f | 74 20 6f 76 65 72 2d 77 | will no|t over-w|
|000048e0| 72 69 74 65 20 65 78 69 | 73 74 69 6e 67 20 66 69 |rite exi|sting fi|
|000048f0| 6c 65 20 22 27 68 65 6c | 70 6c 69 62 2f 70 6f 70 |le "'hel|plib/pop|
|00004900| 74 69 6f 6e 6d 65 6e 75 | 27 22 0a 65 6c 73 65 0a |tionmenu|'".else.|
|00004910| 63 61 74 20 3c 3c 20 5c | 53 48 41 52 5f 45 4f 46 |cat << \|SHAR_EOF|
|00004920| 20 3e 20 27 68 65 6c 70 | 6c 69 62 2f 70 6f 70 74 | > 'help|lib/popt|
|00004930| 69 6f 6e 6d 65 6e 75 27 | 0a 4f 50 54 49 4f 4e 53 |ionmenu'|.OPTIONS|
|00004940| 3a 0a 20 20 20 52 45 54 | 55 52 4e 20 20 2d 2d 20 |:. RET|URN -- |
|00004950| 63 6f 6e 74 69 6e 75 65 | 20 6c 6f 6f 6b 69 6e 67 |continue| looking|
|00004960| 20 66 6f 72 20 73 61 6d | 65 20 6e 61 6d 65 2e 0a | for sam|e name..|
|00004970| 20 20 20 27 6e 27 20 20 | 20 20 20 2d 2d 20 6c 6f | 'n' | -- lo|
|00004980| 6f 6b 20 66 6f 72 20 74 | 68 65 20 6e 65 78 74 20 |ok for t|he next |
|00004990| 6e 61 6d 65 20 79 6f 75 | 20 61 73 6b 65 64 20 61 |name you| asked a|
|000049a0| 62 6f 75 74 2e 0a 20 20 | 20 27 5c 27 20 20 20 20 |bout.. | '\' |
|000049b0| 20 2d 2d 20 61 62 6f 72 | 74 20 74 68 65 20 72 6f | -- abor|t the ro|
|000049c0| 6c 6f 64 65 78 20 70 72 | 6f 67 72 61 6d 2e 0a 53 |lodex pr|ogram..S|
|000049d0| 48 41 52 5f 45 4f 46 0a | 69 66 20 74 65 73 74 20 |HAR_EOF.|if test |
|000049e0| 31 35 30 20 2d 6e 65 20 | 22 60 77 63 20 2d 63 20 |150 -ne |"`wc -c |
|000049f0| 3c 20 27 68 65 6c 70 6c | 69 62 2f 70 6f 70 74 69 |< 'helpl|ib/popti|
|00004a00| 6f 6e 6d 65 6e 75 27 60 | 22 0a 74 68 65 6e 0a 09 |onmenu'`|".then..|
|00004a10| 65 63 68 6f 20 73 68 61 | 72 3a 20 65 72 72 6f 72 |echo sha|r: error|
|00004a20| 20 74 72 61 6e 73 6d 69 | 74 74 69 6e 67 20 22 27 | transmi|tting "'|
|00004a30| 68 65 6c 70 6c 69 62 2f | 70 6f 70 74 69 6f 6e 6d |helplib/|poptionm|
|00004a40| 65 6e 75 27 22 20 27 28 | 73 68 6f 75 6c 64 20 68 |enu'" '(|should h|
|00004a50| 61 76 65 20 62 65 65 6e | 20 31 35 30 20 63 68 61 |ave been| 150 cha|
|00004a60| 72 61 63 74 65 72 73 29 | 27 0a 66 69 0a 66 69 0a |racters)|'.fi.fi.|
|00004a70| 65 63 68 6f 20 73 68 61 | 72 3a 20 65 78 74 72 61 |echo sha|r: extra|
|00004a80| 63 74 69 6e 67 20 22 27 | 68 65 6c 70 6c 69 62 2f |cting "'|helplib/|
|00004a90| 70 6f 70 74 69 6f 6e 73 | 68 65 6c 70 27 22 20 27 |poptions|help'" '|
|00004aa0| 28 36 34 38 20 63 68 61 | 72 61 63 74 65 72 73 29 |(648 cha|racters)|
|00004ab0| 27 0a 69 66 20 74 65 73 | 74 20 2d 66 20 27 68 65 |'.if tes|t -f 'he|
|00004ac0| 6c 70 6c 69 62 2f 70 6f | 70 74 69 6f 6e 73 68 65 |lplib/po|ptionshe|
|00004ad0| 6c 70 27 0a 74 68 65 6e | 0a 09 65 63 68 6f 20 73 |lp'.then|..echo s|
|00004ae0| 68 61 72 3a 20 77 69 6c | 6c 20 6e 6f 74 20 6f 76 |har: wil|l not ov|
|00004af0| 65 72 2d 77 72 69 74 65 | 20 65 78 69 73 74 69 6e |er-write| existin|
|00004b00| 67 20 66 69 6c 65 20 22 | 27 68 65 6c 70 6c 69 62 |g file "|'helplib|
|00004b10| 2f 70 6f 70 74 69 6f 6e | 73 68 65 6c 70 27 22 0a |/poption|shelp'".|
|00004b20| 65 6c 73 65 0a 63 61 74 | 20 3c 3c 20 5c 53 48 41 |else.cat| << \SHA|
|00004b30| 52 5f 45 4f 46 20 3e 20 | 27 68 65 6c 70 6c 69 62 |R_EOF > |'helplib|
|00004b40| 2f 70 6f 70 74 69 6f 6e | 73 68 65 6c 70 27 0a 41 |/poption|shelp'.A|
|00004b50| 74 20 74 68 69 73 20 70 | 6f 69 6e 74 20 79 6f 75 |t this p|oint you|
|00004b60| 20 63 61 6e 20 74 79 70 | 65 20 74 68 65 20 66 6f | can typ|e the fo|
|00004b70| 6c 6c 6f 77 69 6e 67 3a | 0a 0a 74 68 65 20 52 45 |llowing:|..the RE|
|00004b80| 54 55 52 4e 20 6b 65 79 | 2e 0a 74 68 65 20 27 6e |TURN key|..the 'n|
|00004b90| 27 20 6b 65 79 20 66 6f | 6c 6c 6f 77 65 64 20 62 |' key fo|llowed b|
|00004ba0| 79 20 52 45 54 55 52 4e | 2e 0a 74 68 65 20 27 5c |y RETURN|..the '\|
|00004bb0| 27 20 28 62 61 63 6b 73 | 6c 61 73 68 29 20 6b 65 |' (backs|lash) ke|
|00004bc0| 79 20 66 6f 6c 6c 6f 77 | 65 64 20 62 79 20 52 45 |y follow|ed by RE|
|00004bd0| 54 55 52 4e 2e 0a 0a 49 | 66 20 79 6f 75 20 75 73 |TURN...I|f you us|
|00004be0| 65 64 20 74 68 65 20 72 | 6f 6c 6f 64 65 78 20 70 |ed the r|olodex p|
|00004bf0| 72 6f 67 72 61 6d 20 62 | 79 20 74 79 70 69 6e 67 |rogram b|y typing|
|00004c00| 20 73 6f 6d 65 74 68 69 | 6e 67 20 6c 69 6b 65 20 | somethi|ng like |
|00004c10| 27 72 6f 6c 6f 20 6a 6f | 68 6e 27 0a 74 68 65 6e |'rolo jo|hn'.then|
|00004c20| 20 74 79 70 69 6e 67 20 | 52 45 54 55 52 4e 20 77 | typing |RETURN w|
|00004c30| 69 6c 6c 20 66 69 6e 64 | 20 66 6f 72 20 79 6f 75 |ill find| for you|
|00004c40| 20 74 68 65 20 6e 65 78 | 74 20 70 65 72 73 6f 6e | the nex|t person|
|00004c50| 20 69 6e 20 79 6f 75 72 | 20 72 6f 6c 6f 64 65 78 | in your| rolodex|
|00004c60| 0a 77 68 6f 20 68 61 73 | 20 74 68 65 20 6c 65 74 |.who has| the let|
|00004c70| 74 65 72 73 20 27 6a 6f | 68 6e 27 20 61 73 20 70 |ters 'jo|hn' as p|
|00004c80| 61 72 74 20 6f 66 20 74 | 68 65 69 72 20 6e 61 6d |art of t|heir nam|
|00004c90| 65 2e 0a 0a 49 66 20 79 | 6f 75 20 75 73 65 64 20 |e...If y|ou used |
|00004ca0| 74 68 65 20 72 6f 6c 6f | 64 65 78 20 70 72 6f 67 |the rolo|dex prog|
|00004cb0| 72 61 6d 20 62 79 20 74 | 79 70 69 6e 67 20 73 6f |ram by t|yping so|
|00004cc0| 6d 65 74 68 69 6e 67 20 | 6c 69 6b 65 20 27 72 6f |mething |like 'ro|
|00004cd0| 6c 6f 20 6a 6f 68 6e 20 | 6d 61 72 79 27 0a 74 68 |lo john |mary'.th|
|00004ce0| 65 6e 20 74 79 70 69 6e | 67 20 27 6e 27 20 61 66 |en typin|g 'n' af|
|00004cf0| 74 65 72 20 74 68 65 20 | 70 72 6f 67 72 61 6d 20 |ter the |program |
|00004d00| 68 61 64 20 64 69 73 70 | 6c 61 79 65 64 20 6f 6e |had disp|layed on|
|00004d10| 65 20 6f 66 20 74 68 65 | 20 70 65 6f 70 6c 65 20 |e of the| people |
|00004d20| 77 68 6f 73 65 0a 6e 61 | 6d 65 20 63 6f 6e 74 61 |whose.na|me conta|
|00004d30| 69 6e 65 64 20 27 6a 6f | 68 6e 27 20 77 6f 75 6c |ined 'jo|hn' woul|
|00004d40| 64 20 73 74 6f 70 20 74 | 68 65 20 70 72 6f 67 72 |d stop t|he progr|
|00004d50| 61 6d 20 66 72 6f 6d 20 | 6c 6f 6f 6b 69 6e 67 20 |am from |looking |
|00004d60| 66 6f 72 20 61 6e 79 20 | 6d 6f 72 65 0a 27 6a 6f |for any |more.'jo|
|00004d70| 68 6e 27 73 20 61 6e 64 | 20 73 74 61 72 74 20 6c |hn's and| start l|
|00004d80| 6f 6f 6b 69 6e 67 20 66 | 6f 72 20 27 6d 61 72 79 |ooking f|or 'mary|
|00004d90| 27 2e 0a 0a 49 66 20 79 | 6f 75 20 6a 75 73 74 20 |'...If y|ou just |
|00004da0| 77 69 73 68 20 74 6f 20 | 65 78 69 74 20 74 68 65 |wish to |exit the|
|00004db0| 20 70 72 6f 67 72 61 6d | 20 74 79 70 65 20 74 68 | program| type th|
|00004dc0| 65 20 62 61 63 6b 73 6c | 61 73 68 20 63 68 61 72 |e backsl|ash char|
|00004dd0| 61 63 74 65 72 2e 0a 53 | 48 41 52 5f 45 4f 46 0a |acter..S|HAR_EOF.|
|00004de0| 69 66 20 74 65 73 74 20 | 36 34 38 20 2d 6e 65 20 |if test |648 -ne |
|00004df0| 22 60 77 63 20 2d 63 20 | 3c 20 27 68 65 6c 70 6c |"`wc -c |< 'helpl|
|00004e00| 69 62 2f 70 6f 70 74 69 | 6f 6e 73 68 65 6c 70 27 |ib/popti|onshelp'|
|00004e10| 60 22 0a 74 68 65 6e 0a | 09 65 63 68 6f 20 73 68 |`".then.|.echo sh|
|00004e20| 61 72 3a 20 65 72 72 6f | 72 20 74 72 61 6e 73 6d |ar: erro|r transm|
|00004e30| 69 74 74 69 6e 67 20 22 | 27 68 65 6c 70 6c 69 62 |itting "|'helplib|
|00004e40| 2f 70 6f 70 74 69 6f 6e | 73 68 65 6c 70 27 22 20 |/poption|shelp'" |
|00004e50| 27 28 73 68 6f 75 6c 64 | 20 68 61 76 65 20 62 65 |'(should| have be|
|00004e60| 65 6e 20 36 34 38 20 63 | 68 61 72 61 63 74 65 72 |en 648 c|haracter|
|00004e70| 73 29 27 0a 66 69 0a 66 | 69 0a 65 63 68 6f 20 73 |s)'.fi.f|i.echo s|
|00004e80| 68 61 72 3a 20 65 78 74 | 72 61 63 74 69 6e 67 20 |har: ext|racting |
|00004e90| 22 27 68 65 6c 70 6c 69 | 62 2f 75 70 64 61 74 65 |"'helpli|b/update|
|00004ea0| 68 65 6c 70 27 22 20 27 | 28 31 32 35 33 20 63 68 |help'" '|(1253 ch|
|00004eb0| 61 72 61 63 74 65 72 73 | 29 27 0a 69 66 20 74 65 |aracters|)'.if te|
|00004ec0| 73 74 20 2d 66 20 27 68 | 65 6c 70 6c 69 62 2f 75 |st -f 'h|elplib/u|
|00004ed0| 70 64 61 74 65 68 65 6c | 70 27 0a 74 68 65 6e 0a |pdatehel|p'.then.|
|00004ee0| 09 65 63 68 6f 20 73 68 | 61 72 3a 20 77 69 6c 6c |.echo sh|ar: will|
|00004ef0| 20 6e 6f 74 20 6f 76 65 | 72 2d 77 72 69 74 65 20 | not ove|r-write |
|00004f00| 65 78 69 73 74 69 6e 67 | 20 66 69 6c 65 20 22 27 |existing| file "'|
|00004f10| 68 65 6c 70 6c 69 62 2f | 75 70 64 61 74 65 68 65 |helplib/|updatehe|
|00004f20| 6c 70 27 22 0a 65 6c 73 | 65 0a 63 61 74 20 3c 3c |lp'".els|e.cat <<|
|00004f30| 20 5c 53 48 41 52 5f 45 | 4f 46 20 3e 20 27 68 65 | \SHAR_E|OF > 'he|
|00004f40| 6c 70 6c 69 62 2f 75 70 | 64 61 74 65 68 65 6c 70 |lplib/up|datehelp|
|00004f50| 27 0a 59 6f 75 20 68 61 | 76 65 20 61 73 6b 65 64 |'.You ha|ve asked|
|00004f60| 20 74 6f 20 63 68 61 6e | 67 65 20 73 6f 6d 65 20 | to chan|ge some |
|00004f70| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 20 63 6f 6e 74 |informat|ion cont|
|00004f80| 61 69 6e 65 64 20 69 6e | 20 74 68 65 20 65 6e 74 |ained in| the ent|
|00004f90| 72 79 20 74 68 61 74 20 | 77 61 73 0a 62 65 69 6e |ry that |was.bein|
|00004fa0| 67 20 64 69 73 70 6c 61 | 79 65 64 20 62 65 66 6f |g displa|yed befo|
|00004fb0| 72 65 20 79 6f 75 20 74 | 79 70 65 64 20 27 2b 27 |re you t|yped '+'|
|00004fc0| 2e 20 20 49 66 20 74 68 | 69 73 20 69 73 20 6e 6f |. If th|is is no|
|00004fd0| 74 20 77 68 61 74 20 79 | 6f 75 20 77 61 6e 74 20 |t what y|ou want |
|00004fe0| 74 79 70 65 20 27 5c 27 | 0a 52 45 54 55 52 4e 20 |type '\'|.RETURN |
|00004ff0| 74 6f 20 67 65 74 20 62 | 61 63 6b 20 74 6f 20 74 |to get b|ack to t|
|00005000| 68 65 20 6d 61 69 6e 20 | 6d 65 6e 75 2e 0a 0a 43 |he main |menu...C|
|00005010| 75 72 72 65 6e 74 6c 79 | 2c 20 74 68 65 20 70 72 |urrently|, the pr|
|00005020| 6f 67 72 61 6d 20 69 73 | 20 64 69 73 70 6c 61 79 |ogram is| display|
|00005030| 69 6e 67 20 74 68 65 20 | 6e 61 6d 65 20 6f 66 20 |ing the |name of |
|00005040| 65 61 63 68 20 69 74 65 | 6d 20 69 6e 20 74 68 65 |each ite|m in the|
|00005050| 20 65 6e 74 72 79 20 61 | 6e 64 0a 69 74 73 20 63 | entry a|nd.its c|
|00005060| 6f 6e 74 65 6e 74 73 20 | 28 73 6f 6d 65 20 69 74 |ontents |(some it|
|00005070| 65 6d 73 20 6d 61 79 20 | 68 61 76 65 20 6e 6f 20 |ems may |have no |
|00005080| 63 6f 6e 74 65 6e 74 73 | 29 2e 20 20 45 61 63 68 |contents|). Each|
|00005090| 20 69 74 65 6d 20 69 73 | 20 6e 75 6d 62 65 72 65 | item is| numbere|
|000050a0| 64 2e 0a 53 69 6d 70 6c | 79 20 74 79 70 65 20 74 |d..Simpl|y type t|
|000050b0| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 74 68 65 |he numbe|r of the|
|000050c0| 20 69 74 65 6d 20 77 68 | 6f 73 65 20 63 6f 6e 74 | item wh|ose cont|
|000050d0| 65 6e 74 73 20 79 6f 75 | 20 77 69 73 68 20 74 6f |ents you| wish to|
|000050e0| 20 63 68 61 6e 67 65 2e | 20 20 54 68 65 0a 70 72 | change.| The.pr|
|000050f0| 6f 67 72 61 6d 20 77 69 | 6c 6c 20 74 68 65 6e 20 |ogram wi|ll then |
|00005100| 64 69 73 70 6c 61 79 20 | 74 68 65 20 6f 6c 64 20 |display |the old |
|00005110| 63 6f 6e 74 65 6e 74 73 | 20 6f 66 20 74 68 65 20 |contents| of the |
|00005120| 69 74 65 6d 20 61 6e 64 | 20 61 73 6b 20 79 6f 75 |item and| ask you|
|00005130| 20 74 6f 20 74 79 70 65 | 20 69 6e 0a 73 6f 6d 65 | to type| in.some|
|00005140| 20 74 65 78 74 20 77 68 | 69 63 68 20 77 69 6c 6c | text wh|ich will|
|00005150| 20 62 65 63 6f 6d 65 20 | 74 68 65 20 6e 65 77 20 | become |the new |
|00005160| 63 6f 6e 74 65 6e 74 73 | 2e 20 20 4f 6e 63 65 20 |contents|. Once |
|00005170| 79 6f 75 20 68 61 76 65 | 20 64 6f 6e 65 20 74 68 |you have| done th|
|00005180| 69 73 20 66 6f 72 0a 65 | 61 63 68 20 69 74 65 6d |is for.e|ach item|
|00005190| 20 79 6f 75 20 77 69 73 | 68 20 74 6f 20 63 68 61 | you wis|h to cha|
|000051a0| 6e 67 65 2c 20 74 79 70 | 65 20 52 45 54 55 52 4e |nge, typ|e RETURN|
|000051b0| 20 77 68 65 6e 20 69 74 | 20 61 67 61 69 6e 20 61 | when it| again a|
|000051c0| 73 6b 73 20 66 6f 72 20 | 79 6f 75 20 61 6e 20 69 |sks for |you an i|
|000051d0| 74 65 6d 0a 6e 75 6d 62 | 65 72 2e 20 20 49 74 20 |tem.numb|er. It |
|000051e0| 77 69 6c 6c 20 74 68 65 | 6e 20 70 72 69 6e 74 20 |will the|n print |
|000051f0| 6f 75 74 20 74 68 65 20 | 72 65 76 69 73 65 64 20 |out the |revised |
|00005200| 65 6e 74 72 79 20 6f 6e | 65 20 6d 6f 72 65 20 74 |entry on|e more t|
|00005210| 69 6d 65 2c 20 61 6e 64 | 20 61 73 6b 20 79 6f 75 |ime, and| ask you|
|00005220| 0a 74 6f 20 63 6f 6e 66 | 69 72 6d 20 61 6c 6c 20 |.to conf|irm all |
|00005230| 79 6f 75 72 20 63 68 61 | 6e 67 65 73 2e 20 20 59 |your cha|nges. Y|
|00005240| 6f 75 20 63 61 6e 20 61 | 62 6f 72 74 20 61 6c 6c |ou can a|bort all|
|00005250| 20 79 6f 75 72 20 63 68 | 61 6e 67 65 73 20 66 6f | your ch|anges fo|
|00005260| 72 20 74 68 69 73 20 65 | 6e 74 72 79 20 61 74 0a |r this e|ntry at.|
|00005270| 61 6e 79 20 74 69 6d 65 | 20 62 79 20 74 79 70 69 |any time| by typi|
|00005280| 6e 67 20 27 5c 27 20 52 | 45 54 55 52 4e 2e 0a 0a |ng '\' R|ETURN...|
|00005290| 59 6f 75 20 63 61 6e 20 | 61 6c 73 6f 20 61 64 64 |You can |also add|
|000052a0| 20 6e 65 77 20 69 74 65 | 6d 73 20 74 6f 20 74 68 | new ite|ms to th|
|000052b0| 69 73 20 65 6e 74 72 79 | 2e 20 20 54 68 65 20 6c |is entry|. The l|
|000052c0| 61 73 74 20 6e 75 6d 62 | 65 72 65 64 20 63 68 6f |ast numb|ered cho|
|000052d0| 69 63 65 20 69 73 20 6e | 6f 74 20 61 6e 0a 69 74 |ice is n|ot an.it|
|000052e0| 65 6d 20 6e 61 6d 65 20 | 62 75 74 20 61 6e 20 6f |em name |but an o|
|000052f0| 70 74 69 6f 6e 20 74 6f | 20 61 6c 6c 6f 77 20 79 |ption to| allow y|
|00005300| 6f 75 20 74 6f 20 64 6f | 20 74 68 69 73 2e 20 20 |ou to do| this. |
|00005310| 54 79 70 65 20 74 68 69 | 73 20 6e 75 6d 62 65 72 |Type thi|s number|
|00005320| 20 28 6e 6f 77 20 38 29 | 20 61 6e 64 0a 79 6f 75 | (now 8)| and.you|
|00005330| 20 77 69 6c 6c 20 62 65 | 20 70 72 6f 6d 70 74 65 | will be| prompte|
|00005340| 64 20 66 6f 72 20 74 68 | 65 20 6e 61 6d 65 20 61 |d for th|e name a|
|00005350| 6e 64 20 63 6f 6e 74 65 | 6e 74 73 20 6f 66 20 61 |nd conte|nts of a|
|00005360| 20 6e 65 77 20 66 69 65 | 6c 64 2e 20 20 46 6f 72 | new fie|ld. For|
|00005370| 20 69 6e 73 74 61 6e 63 | 65 0a 79 6f 75 20 6d 69 | instanc|e.you mi|
|00005380| 67 68 74 20 77 61 6e 74 | 20 74 6f 20 61 64 64 20 |ght want| to add |
|00005390| 61 6e 20 69 74 65 6d 20 | 63 61 6c 6c 65 64 20 27 |an item |called '|
|000053a0| 4e 65 74 20 41 64 64 72 | 65 73 73 27 20 77 69 74 |Net Addr|ess' wit|
|000053b0| 68 20 61 20 76 61 6c 75 | 65 20 27 63 63 61 21 61 |h a valu|e 'cca!a|
|000053c0| 6c 65 78 27 2e 0a 57 68 | 65 6e 20 70 72 6f 6d 70 |lex'..Wh|en promp|
|000053d0| 74 65 64 20 79 6f 75 20 | 77 6f 75 6c 64 20 74 79 |ted you |would ty|
|000053e0| 70 65 20 27 4e 65 74 20 | 41 64 64 72 65 73 73 3a |pe 'Net |Address:|
|000053f0| 20 63 63 61 21 61 6c 65 | 78 27 20 52 45 54 55 52 | cca!ale|x' RETUR|
|00005400| 4e 2e 20 20 59 6f 75 20 | 73 74 6f 70 20 61 64 64 |N. You |stop add|
|00005410| 69 6e 67 0a 6e 65 77 20 | 69 74 65 6d 73 20 62 79 |ing.new |items by|
|00005420| 20 74 79 70 69 6e 67 20 | 6a 75 73 74 20 61 20 52 | typing |just a R|
|00005430| 45 54 55 52 4e 2e 0a 53 | 48 41 52 5f 45 4f 46 0a |ETURN..S|HAR_EOF.|
|00005440| 69 66 20 74 65 73 74 20 | 31 32 35 33 20 2d 6e 65 |if test |1253 -ne|
|00005450| 20 22 60 77 63 20 2d 63 | 20 3c 20 27 68 65 6c 70 | "`wc -c| < 'help|
|00005460| 6c 69 62 2f 75 70 64 61 | 74 65 68 65 6c 70 27 60 |lib/upda|tehelp'`|
|00005470| 22 0a 74 68 65 6e 0a 09 | 65 63 68 6f 20 73 68 61 |".then..|echo sha|
|00005480| 72 3a 20 65 72 72 6f 72 | 20 74 72 61 6e 73 6d 69 |r: error| transmi|
|00005490| 74 74 69 6e 67 20 22 27 | 68 65 6c 70 6c 69 62 2f |tting "'|helplib/|
|000054a0| 75 70 64 61 74 65 68 65 | 6c 70 27 22 20 27 28 73 |updatehe|lp'" '(s|
|000054b0| 68 6f 75 6c 64 20 68 61 | 76 65 20 62 65 65 6e 20 |hould ha|ve been |
|000054c0| 31 32 35 33 20 63 68 61 | 72 61 63 74 65 72 73 29 |1253 cha|racters)|
|000054d0| 27 0a 66 69 0a 66 69 0a | 65 63 68 6f 20 73 68 61 |'.fi.fi.|echo sha|
|000054e0| 72 3a 20 65 78 74 72 61 | 63 74 69 6e 67 20 22 27 |r: extra|cting "'|
|000054f0| 68 65 6c 70 6c 69 62 2f | 75 70 64 61 74 65 6d 65 |helplib/|updateme|
|00005500| 6e 75 27 22 20 27 28 31 | 32 35 20 63 68 61 72 61 |nu'" '(1|25 chara|
|00005510| 63 74 65 72 73 29 27 0a | 69 66 20 74 65 73 74 20 |cters)'.|if test |
|00005520| 2d 66 20 27 68 65 6c 70 | 6c 69 62 2f 75 70 64 61 |-f 'help|lib/upda|
|00005530| 74 65 6d 65 6e 75 27 0a | 74 68 65 6e 0a 09 65 63 |temenu'.|then..ec|
|00005540| 68 6f 20 73 68 61 72 3a | 20 77 69 6c 6c 20 6e 6f |ho shar:| will no|
|00005550| 74 20 6f 76 65 72 2d 77 | 72 69 74 65 20 65 78 69 |t over-w|rite exi|
|00005560| 73 74 69 6e 67 20 66 69 | 6c 65 20 22 27 68 65 6c |sting fi|le "'hel|
|00005570| 70 6c 69 62 2f 75 70 64 | 61 74 65 6d 65 6e 75 27 |plib/upd|atemenu'|
|00005580| 22 0a 65 6c 73 65 0a 63 | 61 74 20 3c 3c 20 5c 53 |".else.c|at << \S|
|00005590| 48 41 52 5f 45 4f 46 20 | 3e 20 27 68 65 6c 70 6c |HAR_EOF |> 'helpl|
|000055a0| 69 62 2f 75 70 64 61 74 | 65 6d 65 6e 75 27 0a 54 |ib/updat|emenu'.T|
|000055b0| 79 70 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 74 68 |ype numb|er of th|
|000055c0| 65 20 69 74 65 6d 20 79 | 6f 75 20 77 69 73 68 20 |e item y|ou wish |
|000055d0| 74 6f 20 63 68 61 6e 67 | 65 2c 0a 6f 72 20 74 79 |to chang|e,.or ty|
|000055e0| 70 65 20 52 45 54 55 52 | 4e 20 74 6f 20 66 69 6e |pe RETUR|N to fin|
|000055f0| 61 6c 69 7a 65 20 79 6f | 75 72 20 63 68 61 6e 67 |alize yo|ur chang|
|00005600| 65 73 2c 0a 6f 72 20 74 | 79 70 65 20 27 5c 27 20 |es,.or t|ype '\' |
|00005610| 74 6f 20 63 61 6e 63 65 | 6c 20 61 6c 6c 20 79 6f |to cance|l all yo|
|00005620| 75 72 20 63 68 61 6e 67 | 65 73 2e 0a 53 48 41 52 |ur chang|es..SHAR|
|00005630| 5f 45 4f 46 0a 69 66 20 | 74 65 73 74 20 31 32 35 |_EOF.if |test 125|
|00005640| 20 2d 6e 65 20 22 60 77 | 63 20 2d 63 20 3c 20 27 | -ne "`w|c -c < '|
|00005650| 68 65 6c 70 6c 69 62 2f | 75 70 64 61 74 65 6d 65 |helplib/|updateme|
|00005660| 6e 75 27 60 22 0a 74 68 | 65 6e 0a 09 65 63 68 6f |nu'`".th|en..echo|
|00005670| 20 73 68 61 72 3a 20 65 | 72 72 6f 72 20 74 72 61 | shar: e|rror tra|
|00005680| 6e 73 6d 69 74 74 69 6e | 67 20 22 27 68 65 6c 70 |nsmittin|g "'help|
|00005690| 6c 69 62 2f 75 70 64 61 | 74 65 6d 65 6e 75 27 22 |lib/upda|temenu'"|
|000056a0| 20 27 28 73 68 6f 75 6c | 64 20 68 61 76 65 20 62 | '(shoul|d have b|
|000056b0| 65 65 6e 20 31 32 35 20 | 63 68 61 72 61 63 74 65 |een 125 |characte|
|000056c0| 72 73 29 27 0a 66 69 0a | 66 69 0a 65 63 68 6f 20 |rs)'.fi.|fi.echo |
|000056d0| 73 68 61 72 3a 20 64 6f | 6e 65 20 77 69 74 68 20 |shar: do|ne with |
|000056e0| 64 69 72 65 63 74 6f 72 | 79 20 22 27 68 65 6c 70 |director|y "'help|
|000056f0| 6c 69 62 27 22 0a 65 78 | 69 74 20 30 0a 23 09 45 |lib'".ex|it 0.#.E|
|00005700| 6e 64 20 6f 66 20 73 68 | 65 6c 6c 20 61 72 63 68 |nd of sh|ell arch|
|00005710| 69 76 65 0a | |ive. | |
+--------+-------------------------+-------------------------+--------+--------+