home *** CD-ROM | disk | FTP | other *** search
view JSON data
|
view as text
|
open on a Mac
|
open on a PC
This file was processed as: SHell self-extracting ARchive
(archive/shar).
You can browse this item here: part01
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| SHell self-extracting ARchive (archive/shar)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/329 Shell Archive Format
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 4e 65 77 73 67 72 6f 75 | 70 73 3a 20 63 6f 6d 70 |Newsgrou|ps: comp|
|00000010| 2e 73 6f 75 72 63 65 73 | 2e 6d 69 73 63 0a 46 72 |.sources|.misc.Fr|
|00000020| 6f 6d 3a 20 63 75 6c 62 | 65 72 74 40 6e 69 6e 6a |om: culb|ert@ninj|
|00000030| 61 2d 74 75 72 74 6c 65 | 2e 4d 49 54 2e 45 44 55 |a-turtle|.MIT.EDU|
|00000040| 20 28 4a 69 6d 20 43 75 | 6c 62 65 72 74 29 0a 53 | (Jim Cu|lbert).S|
|00000050| 75 62 6a 65 63 74 3a 20 | 76 33 34 69 30 38 34 3a |ubject: |v34i084:|
|00000060| 20 20 72 66 63 67 65 74 | 20 2d 20 52 46 43 20 72 | rfcget| - RFC r|
|00000070| 65 74 72 69 65 76 61 6c | 20 6d 65 63 68 61 6e 69 |etrieval| mechani|
|00000080| 73 6d 2c 20 50 61 72 74 | 30 31 2f 30 31 0a 4d 65 |sm, Part|01/01.Me|
|00000090| 73 73 61 67 65 2d 49 44 | 3a 20 3c 31 39 39 32 44 |ssage-ID|: <1992D|
|000000a0| 65 63 32 31 2e 31 36 31 | 33 30 35 2e 32 37 36 37 |ec21.161|305.2767|
|000000b0| 37 40 73 70 61 72 6b 79 | 2e 69 6d 64 2e 73 74 65 |7@sparky|.imd.ste|
|000000c0| 72 6c 69 6e 67 2e 63 6f | 6d 3e 0a 58 2d 4d 64 34 |rling.co|m>.X-Md4|
|000000d0| 2d 53 69 67 6e 61 74 75 | 72 65 3a 20 64 32 37 31 |-Signatu|re: d271|
|000000e0| 39 32 64 39 33 30 39 32 | 36 62 33 39 64 65 37 62 |92d93092|6b39de7b|
|000000f0| 33 66 64 38 35 31 35 34 | 62 39 38 66 0a 44 61 74 |3fd85154|b98f.Dat|
|00000100| 65 3a 20 4d 6f 6e 2c 20 | 32 31 20 44 65 63 20 31 |e: Mon, |21 Dec 1|
|00000110| 39 39 32 20 31 36 3a 31 | 33 3a 30 35 20 47 4d 54 |992 16:1|3:05 GMT|
|00000120| 0a 41 70 70 72 6f 76 65 | 64 3a 20 6b 65 6e 74 40 |.Approve|d: kent@|
|00000130| 73 70 61 72 6b 79 2e 69 | 6d 64 2e 73 74 65 72 6c |sparky.i|md.sterl|
|00000140| 69 6e 67 2e 63 6f 6d 0a | 0a 53 75 62 6d 69 74 74 |ing.com.|.Submitt|
|00000150| 65 64 2d 62 79 3a 20 63 | 75 6c 62 65 72 74 40 6e |ed-by: c|ulbert@n|
|00000160| 69 6e 6a 61 2d 74 75 72 | 74 6c 65 2e 4d 49 54 2e |inja-tur|tle.MIT.|
|00000170| 45 44 55 20 28 4a 69 6d | 20 43 75 6c 62 65 72 74 |EDU (Jim| Culbert|
|00000180| 29 0a 50 6f 73 74 69 6e | 67 2d 6e 75 6d 62 65 72 |).Postin|g-number|
|00000190| 3a 20 56 6f 6c 75 6d 65 | 20 33 34 2c 20 49 73 73 |: Volume| 34, Iss|
|000001a0| 75 65 20 38 34 0a 41 72 | 63 68 69 76 65 2d 6e 61 |ue 84.Ar|chive-na|
|000001b0| 6d 65 3a 20 72 66 63 67 | 65 74 2f 70 61 72 74 30 |me: rfcg|et/part0|
|000001c0| 31 0a 45 6e 76 69 72 6f | 6e 6d 65 6e 74 3a 20 49 |1.Enviro|nment: I|
|000001d0| 6e 74 65 72 6e 65 74 2c | 20 43 2d 73 68 65 6c 6c |nternet,| C-shell|
|000001e0| 0a 0a 72 66 63 67 65 74 | 20 69 73 20 61 20 63 2d |..rfcget| is a c-|
|000001f0| 73 68 65 6c 6c 20 73 63 | 72 69 70 74 20 77 68 69 |shell sc|ript whi|
|00000200| 63 68 20 66 61 63 69 6c | 69 74 61 74 65 73 20 20 |ch facil|itates |
|00000210| 74 68 65 20 20 72 65 74 | 72 69 65 76 61 6c 0a 6f |the ret|rieval.o|
|00000220| 66 20 52 65 71 75 65 73 | 74 20 46 6f 72 20 43 6f |f Reques|t For Co|
|00000230| 6d 6d 65 6e 74 73 20 28 | 52 46 43 29 20 44 6f 63 |mments (|RFC) Doc|
|00000240| 75 6d 65 6e 74 73 2e 20 | 54 68 65 20 73 63 72 69 |uments. |The scri|
|00000250| 70 74 20 73 75 70 70 6f | 72 74 73 0a 74 77 6f 20 |pt suppo|rts.two |
|00000260| 66 75 6e 63 74 69 6f 6e | 73 3b 20 74 6f 70 69 63 |function|s; topic|
|00000270| 20 73 65 61 72 63 68 69 | 6e 67 2c 20 72 66 63 20 | searchi|ng, rfc |
|00000280| 64 6f 63 75 6d 65 6e 74 | 20 72 65 74 72 69 65 76 |document| retriev|
|00000290| 61 6c 2e 20 20 54 68 65 | 0a 73 63 72 69 70 74 20 |al. The|.script |
|000002a0| 20 75 73 65 73 20 20 61 | 20 20 6c 6f 63 61 6c 20 | uses a| local |
|000002b0| 20 63 6f 70 79 20 6f 66 | 20 74 68 65 20 72 66 63 | copy of| the rfc|
|000002c0| 20 69 6e 64 65 78 20 66 | 69 6c 65 20 66 6f 72 20 | index f|ile for |
|000002d0| 74 6f 70 69 63 0a 73 65 | 61 72 63 68 65 73 2e 20 |topic.se|arches. |
|000002e0| 54 68 69 73 20 69 6e 64 | 65 78 20 6d 75 73 74 20 |This ind|ex must |
|000002f0| 62 65 20 6c 6f 63 61 74 | 65 64 20 69 6e 20 61 20 |be locat|ed in a |
|00000300| 64 69 72 65 63 74 6f 72 | 79 20 6e 61 6d 65 64 20 |director|y named |
|00000310| 62 79 0a 74 68 65 20 20 | 65 6e 76 69 72 6f 6e 6d |by.the |environm|
|00000320| 65 6e 74 20 20 76 61 72 | 69 61 62 6c 65 20 52 46 |ent var|iable RF|
|00000330| 43 5f 44 49 52 2e 20 49 | 66 20 79 6f 75 20 63 68 |C_DIR. I|f you ch|
|00000340| 6f 6f 73 65 20 6e 6f 74 | 20 74 6f 20 73 65 74 0a |oose not| to set.|
|00000350| 74 68 69 73 20 76 61 72 | 69 61 62 6c 65 2c 20 74 |this var|iable, t|
|00000360| 68 65 20 73 63 72 69 70 | 74 20 75 73 65 73 20 74 |he scrip|t uses t|
|00000370| 68 65 20 6c 6f 63 61 6c | 20 64 69 72 65 63 74 6f |he local| directo|
|00000380| 72 79 2e 20 20 52 46 43 | 5f 44 49 52 0a 69 73 20 |ry. RFC|_DIR.is |
|00000390| 20 61 6c 73 6f 20 20 75 | 73 65 64 20 61 73 20 74 | also u|sed as t|
|000003a0| 68 65 20 6c 6f 63 61 74 | 69 6f 6e 20 77 68 65 72 |he locat|ion wher|
|000003b0| 65 20 72 65 74 72 69 65 | 76 65 64 20 64 6f 63 75 |e retrie|ved docu|
|000003c0| 6d 65 6e 74 73 20 61 72 | 65 0a 70 6c 61 63 65 64 |ments ar|e.placed|
|000003d0| 2e 20 59 6f 75 20 61 72 | 65 20 77 61 72 6e 65 64 |. You ar|e warned|
|000003e0| 20 62 79 20 74 68 65 20 | 73 63 72 69 70 74 20 69 | by the |script i|
|000003f0| 66 20 74 68 69 73 20 76 | 61 72 69 61 62 6c 65 20 |f this v|ariable |
|00000400| 20 69 73 6e 27 74 0a 73 | 65 74 2e 20 20 49 66 20 | isn't.s|et. If |
|00000410| 74 68 65 20 69 6e 64 65 | 78 20 66 69 6c 65 20 69 |the inde|x file i|
|00000420| 73 20 6e 6f 74 20 66 6f | 75 6e 64 20 77 68 65 6e |s not fo|und when|
|00000430| 20 74 68 65 20 73 63 72 | 69 70 74 20 69 73 20 72 | the scr|ipt is r|
|00000440| 75 6e 2c 0a 74 68 65 20 | 74 6f 6f 6c 20 22 73 79 |un,.the |tool "sy|
|00000450| 6e 63 73 22 20 77 69 74 | 68 20 61 20 6e 69 63 20 |ncs" wit|h a nic |
|00000460| 73 65 72 76 65 72 20 63 | 6f 70 79 20 74 68 65 6e |server c|opy then|
|00000470| 20 20 70 72 6f 63 65 65 | 64 73 20 20 77 69 74 68 | procee|ds with|
|00000480| 0a 61 72 67 75 6d 65 6e | 74 20 70 72 6f 63 65 73 |.argumen|t proces|
|00000490| 73 69 6e 67 2e 0a 0a 4a | 69 6d 0a 2d 2d 2d 2d 2d |sing...J|im.-----|
|000004a0| 2d 2d 2d 2d 0a 23 21 20 | 2f 62 69 6e 2f 73 68 0a |----.#! |/bin/sh.|
|000004b0| 23 20 54 68 69 73 20 69 | 73 20 61 20 73 68 65 6c |# This i|s a shel|
|000004c0| 6c 20 61 72 63 68 69 76 | 65 2e 20 20 52 65 6d 6f |l archiv|e. Remo|
|000004d0| 76 65 20 61 6e 79 74 68 | 69 6e 67 20 62 65 66 6f |ve anyth|ing befo|
|000004e0| 72 65 20 74 68 69 73 20 | 6c 69 6e 65 2c 20 74 68 |re this |line, th|
|000004f0| 65 6e 20 66 65 65 64 20 | 69 74 0a 23 20 69 6e 74 |en feed |it.# int|
|00000500| 6f 20 61 20 73 68 65 6c | 6c 20 76 69 61 20 22 73 |o a shel|l via "s|
|00000510| 68 20 66 69 6c 65 22 20 | 6f 72 20 73 69 6d 69 6c |h file" |or simil|
|00000520| 61 72 2e 20 20 54 6f 20 | 6f 76 65 72 77 72 69 74 |ar. To |overwrit|
|00000530| 65 20 65 78 69 73 74 69 | 6e 67 20 66 69 6c 65 73 |e existi|ng files|
|00000540| 2c 0a 23 20 74 79 70 65 | 20 22 73 68 20 66 69 6c |,.# type| "sh fil|
|00000550| 65 20 2d 63 22 2e 0a 23 | 20 43 6f 6e 74 65 6e 74 |e -c"..#| Content|
|00000560| 73 3a 20 20 72 66 63 67 | 65 74 20 72 66 63 67 65 |s: rfcg|et rfcge|
|00000570| 74 2e 31 0a 23 20 57 72 | 61 70 70 65 64 20 62 79 |t.1.# Wr|apped by|
|00000580| 20 6b 65 6e 74 40 73 70 | 61 72 6b 79 20 6f 6e 20 | kent@sp|arky on |
|00000590| 4d 6f 6e 20 44 65 63 20 | 32 31 20 31 30 3a 30 37 |Mon Dec |21 10:07|
|000005a0| 3a 30 39 20 31 39 39 32 | 0a 50 41 54 48 3d 2f 62 |:09 1992|.PATH=/b|
|000005b0| 69 6e 3a 2f 75 73 72 2f | 62 69 6e 3a 2f 75 73 72 |in:/usr/|bin:/usr|
|000005c0| 2f 75 63 62 3a 2f 75 73 | 72 2f 6c 6f 63 61 6c 2f |/ucb:/us|r/local/|
|000005d0| 62 69 6e 3a 2f 75 73 72 | 2f 6c 62 69 6e 20 3b 20 |bin:/usr|/lbin ; |
|000005e0| 65 78 70 6f 72 74 20 50 | 41 54 48 0a 65 63 68 6f |export P|ATH.echo|
|000005f0| 20 49 66 20 74 68 69 73 | 20 61 72 63 68 69 76 65 | If this| archive|
|00000600| 20 69 73 20 63 6f 6d 70 | 6c 65 74 65 2c 20 79 6f | is comp|lete, yo|
|00000610| 75 20 77 69 6c 6c 20 73 | 65 65 20 74 68 65 20 66 |u will s|ee the f|
|00000620| 6f 6c 6c 6f 77 69 6e 67 | 20 6d 65 73 73 61 67 65 |ollowing| message|
|00000630| 3a 0a 65 63 68 6f 20 27 | 20 20 20 20 20 20 20 20 |:.echo '| |
|00000640| 20 20 22 73 68 61 72 3a | 20 45 6e 64 20 6f 66 20 | "shar:| End of |
|00000650| 61 72 63 68 69 76 65 20 | 31 20 28 6f 66 20 31 29 |archive |1 (of 1)|
|00000660| 2e 22 27 0a 69 66 20 74 | 65 73 74 20 2d 66 20 27 |."'.if t|est -f '|
|00000670| 72 66 63 67 65 74 27 20 | 2d 61 20 22 24 7b 31 7d |rfcget' |-a "${1}|
|00000680| 22 20 21 3d 20 22 2d 63 | 22 20 3b 20 74 68 65 6e |" != "-c|" ; then|
|00000690| 20 0a 20 20 65 63 68 6f | 20 73 68 61 72 3a 20 57 | . echo| shar: W|
|000006a0| 69 6c 6c 20 6e 6f 74 20 | 63 6c 6f 62 62 65 72 20 |ill not |clobber |
|000006b0| 65 78 69 73 74 69 6e 67 | 20 66 69 6c 65 20 5c 22 |existing| file \"|
|000006c0| 27 72 66 63 67 65 74 27 | 5c 22 0a 65 6c 73 65 0a |'rfcget'|\".else.|
|000006d0| 20 20 65 63 68 6f 20 73 | 68 61 72 3a 20 45 78 74 | echo s|har: Ext|
|000006e0| 72 61 63 74 69 6e 67 20 | 5c 22 27 72 66 63 67 65 |racting |\"'rfcge|
|000006f0| 74 27 5c 22 20 5c 28 35 | 32 35 38 20 63 68 61 72 |t'\" \(5|258 char|
|00000700| 61 63 74 65 72 73 5c 29 | 0a 20 20 73 65 64 20 22 |acters\)|. sed "|
|00000710| 73 2f 5e 58 2f 2f 22 20 | 3e 27 72 66 63 67 65 74 |s/^X//" |>'rfcget|
|00000720| 27 20 3c 3c 27 45 4e 44 | 5f 4f 46 5f 46 49 4c 45 |' <<'END|_OF_FILE|
|00000730| 27 0a 58 23 21 20 2f 62 | 69 6e 2f 63 73 68 20 2d |'.X#! /b|in/csh -|
|00000740| 66 0a 58 0a 58 23 23 23 | 23 23 23 23 23 23 23 23 |f.X.X###|########|
|00000750| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00000760| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00000770| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00000780| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 0a 58 23 |########|#####.X#|
|00000790| 0a 58 23 20 20 20 20 20 | 20 20 43 6f 70 79 72 69 |.X# | Copyri|
|000007a0| 67 68 74 20 31 39 39 32 | 20 62 79 20 74 68 65 20 |ght 1992| by the |
|000007b0| 4d 61 73 73 61 63 68 75 | 73 65 74 74 73 20 49 6e |Massachu|setts In|
|000007c0| 73 74 69 74 75 74 65 20 | 6f 66 20 54 65 63 68 6e |stitute |of Techn|
|000007d0| 6f 6c 6f 67 79 2e 0a 58 | 23 20 20 20 20 20 20 20 |ology..X|# |
|000007e0| 41 6c 6c 20 72 69 67 68 | 74 73 20 72 65 73 65 72 |All righ|ts reser|
|000007f0| 76 65 64 2e 0a 58 23 0a | 58 23 20 20 20 20 20 20 |ved..X#.|X# |
|00000800| 20 44 65 76 65 6c 6f 70 | 65 64 20 62 79 20 74 68 | Develop|ed by th|
|00000810| 65 20 49 6e 74 65 6c 6c | 69 67 65 6e 74 20 45 6e |e Intell|igent En|
|00000820| 67 69 6e 65 65 72 69 6e | 67 20 53 79 73 74 65 6d |gineerin|g System|
|00000830| 73 20 4c 61 62 6f 72 61 | 74 6f 72 79 0a 58 23 20 |s Labora|tory.X# |
|00000840| 20 20 20 20 20 20 4d 2e | 49 2e 54 2e 2c 20 43 61 | M.|I.T., Ca|
|00000850| 6d 62 72 69 64 67 65 2c | 20 4d 61 73 73 61 63 68 |mbridge,| Massach|
|00000860| 75 73 65 74 74 73 2e 0a | 58 23 0a 58 23 09 54 48 |usetts..|X#.X#.TH|
|00000870| 49 53 20 53 4f 46 54 57 | 41 52 45 20 49 53 20 50 |IS SOFTW|ARE IS P|
|00000880| 52 4f 56 49 44 45 44 20 | 22 41 53 20 49 53 22 2c |ROVIDED |"AS IS",|
|00000890| 20 41 4e 44 20 4d 2e 49 | 2e 54 2e 20 4d 41 4b 45 | AND M.I|.T. MAKE|
|000008a0| 53 20 4e 4f 20 52 45 50 | 52 45 53 45 4e 54 41 54 |S NO REP|RESENTAT|
|000008b0| 49 4f 4e 53 0a 58 23 20 | 20 20 20 20 20 20 4f 52 |IONS.X# | OR|
|000008c0| 20 57 41 52 52 41 4e 54 | 49 45 53 2c 20 45 58 50 | WARRANT|IES, EXP|
|000008d0| 52 45 53 53 20 4f 52 20 | 49 4d 50 4c 49 45 44 2e |RESS OR |IMPLIED.|
|000008e0| 20 42 79 20 77 61 79 20 | 6f 66 20 65 78 61 6d 70 | By way |of examp|
|000008f0| 6c 65 2c 20 62 75 74 20 | 6e 6f 74 20 0a 58 23 20 |le, but |not .X# |
|00000900| 20 20 20 20 20 20 6c 69 | 6d 69 74 61 74 69 6f 6e | li|mitation|
|00000910| 2c 20 4d 2e 49 2e 54 2e | 20 4d 41 4b 45 53 20 4e |, M.I.T.| MAKES N|
|00000920| 4f 20 52 45 50 52 45 53 | 45 4e 54 41 54 49 4f 4e |O REPRES|ENTATION|
|00000930| 53 20 4f 52 20 57 41 52 | 52 41 4e 54 49 45 53 20 |S OR WAR|RANTIES |
|00000940| 4f 46 20 0a 58 23 20 20 | 20 20 20 20 20 4d 45 52 |OF .X# | MER|
|00000950| 43 48 41 4e 54 41 42 49 | 4c 49 54 59 20 4f 52 20 |CHANTABI|LITY OR |
|00000960| 46 49 54 4e 45 53 53 20 | 46 4f 52 20 41 4e 59 20 |FITNESS |FOR ANY |
|00000970| 50 41 52 54 49 43 55 4c | 41 52 20 50 55 52 50 4f |PARTICUL|AR PURPO|
|00000980| 53 45 20 4f 52 20 0a 58 | 23 09 54 48 41 54 20 54 |SE OR .X|#.THAT T|
|00000990| 48 45 20 55 53 45 20 4f | 46 20 54 48 45 20 4c 49 |HE USE O|F THE LI|
|000009a0| 53 43 45 4e 43 45 44 20 | 53 4f 46 54 57 41 52 45 |SCENCED |SOFTWARE|
|000009b0| 20 4f 52 20 44 4f 43 55 | 4d 45 4e 54 41 54 49 4f | OR DOCU|MENTATIO|
|000009c0| 4e 20 57 49 4c 4c 20 4e | 4f 54 20 0a 58 23 09 49 |N WILL N|OT .X#.I|
|000009d0| 4e 46 52 49 4e 47 45 20 | 41 4e 59 20 54 48 49 52 |NFRINGE |ANY THIR|
|000009e0| 44 20 50 41 52 54 59 20 | 50 41 54 45 4e 54 53 2c |D PARTY |PATENTS,|
|000009f0| 20 43 4f 50 59 52 49 47 | 48 54 53 2c 20 54 52 41 | COPYRIG|HTS, TRA|
|00000a00| 44 45 4d 41 52 4b 53 20 | 4f 52 20 4f 54 48 45 52 |DEMARKS |OR OTHER|
|00000a10| 20 0a 58 23 20 20 20 20 | 20 20 20 52 49 47 48 54 | .X# | RIGHT|
|00000a20| 53 2e 0a 58 23 0a 58 23 | 09 54 68 65 20 6e 61 6d |S..X#.X#|.The nam|
|00000a30| 65 20 6f 66 20 4d 61 73 | 73 61 63 68 75 73 65 74 |e of Mas|sachuset|
|00000a40| 74 73 20 49 6e 73 74 69 | 74 75 74 65 20 6f 66 20 |ts Insti|tute of |
|00000a50| 54 65 63 68 6e 6f 6c 6f | 67 79 20 6f 72 20 4d 2e |Technolo|gy or M.|
|00000a60| 49 2e 54 2e 20 6d 61 79 | 0a 58 23 09 4e 4f 54 20 |I.T. may|.X#.NOT |
|00000a70| 62 65 20 75 73 65 64 20 | 69 6e 20 61 64 76 65 72 |be used |in adver|
|00000a80| 74 69 73 69 6e 67 20 6f | 72 20 70 75 62 6c 69 63 |tising o|r public|
|00000a90| 69 74 79 20 70 65 72 74 | 61 69 6e 69 6e 67 20 74 |ity pert|aining t|
|00000aa0| 6f 20 64 69 73 74 72 69 | 62 75 74 69 6f 6e 0a 58 |o distri|bution.X|
|00000ab0| 23 09 6f 66 20 74 68 65 | 20 73 6f 66 74 77 61 72 |#.of the| softwar|
|00000ac0| 65 2e 20 54 69 74 6c 65 | 20 74 6f 20 63 6f 70 79 |e. Title| to copy|
|00000ad0| 72 69 67 68 74 20 69 6e | 20 74 68 69 73 20 73 6f |right in| this so|
|00000ae0| 66 74 77 61 72 65 20 61 | 6e 64 20 61 6e 79 20 0a |ftware a|nd any .|
|00000af0| 58 23 09 61 73 73 6f 63 | 69 61 74 65 64 20 64 6f |X#.assoc|iated do|
|00000b00| 63 75 6d 65 6e 74 61 74 | 69 6f 6e 20 73 68 61 6c |cumentat|ion shal|
|00000b10| 6c 20 61 74 20 61 6c 6c | 20 74 69 6d 65 73 20 72 |l at all| times r|
|00000b20| 65 6d 61 69 6e 20 77 69 | 74 68 20 4d 2e 49 2e 54 |emain wi|th M.I.T|
|00000b30| 2e 2c 20 0a 58 23 09 61 | 6e 64 20 55 53 45 52 20 |., .X#.a|nd USER |
|00000b40| 61 67 72 65 65 73 20 74 | 6f 20 70 72 65 73 65 72 |agrees t|o preser|
|00000b50| 76 65 20 74 68 65 20 73 | 61 6d 65 2e 0a 58 23 0a |ve the s|ame..X#.|
|00000b60| 58 23 09 50 65 72 6d 69 | 73 73 69 6f 6e 20 74 6f |X#.Permi|ssion to|
|00000b70| 20 75 73 65 2c 20 63 6f | 70 79 2c 20 6d 6f 64 69 | use, co|py, modi|
|00000b80| 66 79 2c 20 61 6e 64 20 | 64 69 73 74 72 69 62 75 |fy, and |distribu|
|00000b90| 74 65 20 74 68 69 73 20 | 6d 61 74 65 72 69 61 6c |te this |material|
|00000ba0| 20 0a 58 23 09 66 6f 72 | 20 61 6e 79 20 70 75 72 | .X#.for| any pur|
|00000bb0| 70 6f 73 65 20 61 6e 64 | 20 77 69 74 68 6f 75 74 |pose and| without|
|00000bc0| 20 66 65 65 20 69 73 20 | 68 65 72 65 62 79 20 67 | fee is |hereby g|
|00000bd0| 72 61 6e 74 65 64 2c 20 | 70 72 6f 76 69 64 65 64 |ranted, |provided|
|00000be0| 20 74 68 61 74 20 0a 58 | 23 09 74 68 65 20 61 62 | that .X|#.the ab|
|00000bf0| 6f 76 65 20 63 6f 70 79 | 72 69 67 68 74 20 6e 6f |ove copy|right no|
|00000c00| 74 69 63 65 20 61 6e 64 | 20 74 68 69 73 20 70 65 |tice and| this pe|
|00000c10| 72 6d 69 73 73 69 6f 6e | 20 6e 6f 74 69 63 65 20 |rmission| notice |
|00000c20| 61 70 70 65 61 72 20 69 | 6e 20 0a 58 23 09 61 6c |appear i|n .X#.al|
|00000c30| 6c 20 63 6f 70 69 65 73 | 2e 0a 58 23 0a 58 23 23 |l copies|..X#.X##|
|00000c40| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00000c50| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00000c60| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00000c70| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00000c80| 23 23 23 23 23 23 0a 58 | 0a 58 0a 58 0a 58 0a 58 |######.X|.X.X.X.X|
|00000c90| 23 6c 6f 6f 6b 20 66 6f | 72 20 65 6e 76 69 72 6f |#look fo|r enviro|
|00000ca0| 6e 6d 65 6e 74 20 76 61 | 72 69 61 62 6c 65 20 66 |nment va|riable f|
|00000cb0| 6f 72 20 64 75 6d 70 69 | 6e 67 20 64 69 72 65 63 |or dumpi|ng direc|
|00000cc0| 74 6f 72 79 2e 2e 2e 2e | 2e 2e 0a 58 0a 58 73 65 |tory....|...X.Xse|
|00000cd0| 74 65 6e 76 20 7c 20 67 | 72 65 70 20 52 46 43 5f |tenv | g|rep RFC_|
|00000ce0| 44 49 52 20 3e 26 21 20 | 2f 64 65 76 2f 6e 75 6c |DIR >&! |/dev/nul|
|00000cf0| 6c 0a 58 69 66 20 28 20 | 24 73 74 61 74 75 73 20 |l.Xif ( |$status |
|00000d00| 29 20 74 68 65 6e 0a 58 | 09 73 65 74 65 6e 76 20 |) then.X|.setenv |
|00000d10| 52 46 43 5f 44 49 52 20 | 60 70 77 64 60 0a 58 09 |RFC_DIR |`pwd`.X.|
|00000d20| 65 63 68 6f 20 22 59 6f | 75 20 68 61 76 65 20 6e |echo "Yo|u have n|
|00000d30| 6f 74 20 73 70 65 63 69 | 66 69 65 64 20 61 20 64 |ot speci|fied a d|
|00000d40| 69 72 65 63 74 6f 72 79 | 20 74 6f 20 70 6c 61 63 |irectory| to plac|
|00000d50| 65 20 74 68 65 22 0a 58 | 09 65 63 68 6f 20 22 72 |e the".X|.echo "r|
|00000d60| 66 63 20 69 6e 64 65 78 | 20 61 6e 64 20 72 65 74 |fc index| and ret|
|00000d70| 72 69 65 76 65 64 20 72 | 66 63 20 66 69 6c 65 73 |rieved r|fc files|
|00000d80| 2e 20 54 68 65 73 65 20 | 77 69 6c 6c 20 62 65 22 |. These |will be"|
|00000d90| 0a 58 09 65 63 68 6f 20 | 22 70 6c 61 63 65 64 20 |.X.echo |"placed |
|00000da0| 69 6e 20 24 52 46 43 5f | 44 49 52 2e 22 0a 58 09 |in $RFC_|DIR.".X.|
|00000db0| 65 63 68 6f 20 22 54 6f | 20 73 70 65 63 69 66 79 |echo "To| specify|
|00000dc0| 20 61 20 64 69 72 65 63 | 74 6f 72 79 20 73 65 74 | a direc|tory set|
|00000dd0| 20 74 68 65 20 52 46 43 | 5f 44 49 52 20 65 6e 76 | the RFC|_DIR env|
|00000de0| 69 72 6f 6e 6d 65 6e 74 | 20 76 61 72 69 61 62 6c |ironment| variabl|
|00000df0| 65 22 0a 58 09 65 63 68 | 6f 20 22 22 0a 58 09 65 |e".X.ech|o "".X.e|
|00000e00| 63 68 6f 20 22 22 0a 58 | 65 6e 64 69 66 0a 58 0a |cho "".X|endif.X.|
|00000e10| 58 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |X#######|########|
|00000e20| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00000e30| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00000e40| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00000e50| 23 23 23 0a 58 23 09 61 | 72 63 68 69 76 65 20 73 |###.X#.a|rchive s|
|00000e60| 69 74 65 0a 58 23 0a 58 | 23 09 43 48 41 4e 47 45 |ite.X#.X|#.CHANGE|
|00000e70| 20 54 48 49 53 20 56 41 | 52 49 41 42 4c 45 20 54 | THIS VA|RIABLE T|
|00000e80| 4f 20 41 43 43 45 53 53 | 20 41 20 44 49 46 46 45 |O ACCESS| A DIFFE|
|00000e90| 52 45 4e 54 20 41 52 43 | 48 49 56 45 20 53 49 54 |RENT ARC|HIVE SIT|
|00000ea0| 45 21 21 21 0a 58 23 0a | 58 23 23 23 23 23 23 23 |E!!!.X#.|X#######|
|00000eb0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00000ec0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00000ed0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00000ee0| 23 23 23 23 23 23 23 23 | 23 23 23 0a 58 0a 58 73 |########|###.X.Xs|
|00000ef0| 65 74 20 72 66 63 5f 61 | 72 63 68 69 76 65 20 3d |et rfc_a|rchive =|
|00000f00| 20 66 74 70 2e 6e 69 73 | 63 2e 73 72 69 2e 63 6f | ftp.nis|c.sri.co|
|00000f10| 6d 0a 58 0a 58 23 56 61 | 72 69 6f 75 73 20 61 6e |m.X.X#Va|rious an|
|00000f20| 64 20 73 75 6e 64 72 79 | 20 6f 74 68 65 72 20 76 |d sundry| other v|
|00000f30| 61 72 69 61 62 6c 65 73 | 0a 58 0a 58 23 73 65 74 |ariables|.X.X#set|
|00000f40| 20 69 6e 64 65 78 5f 6e | 61 6d 65 20 3d 20 72 66 | index_n|ame = rf|
|00000f50| 63 2d 69 6e 64 65 78 2d | 74 69 74 6c 65 2d 66 69 |c-index-|title-fi|
|00000f60| 72 73 74 2e 74 78 74 0a | 58 73 65 74 20 69 6e 64 |rst.txt.|Xset ind|
|00000f70| 65 78 5f 6e 61 6d 65 20 | 3d 20 72 66 63 2d 69 6e |ex_name |= rfc-in|
|00000f80| 64 65 78 2e 74 78 74 0a | 58 73 65 74 20 6c 6f 63 |dex.txt.|Xset loc|
|00000f90| 61 6c 5f 64 69 72 20 3d | 20 24 52 46 43 5f 44 49 |al_dir =| $RFC_DI|
|00000fa0| 52 0a 58 73 65 74 20 72 | 65 6d 6f 74 65 5f 64 69 |R.Xset r|emote_di|
|00000fb0| 72 20 3d 20 72 66 63 20 | 0a 58 73 65 74 20 72 66 |r = rfc |.Xset rf|
|00000fc0| 63 6e 75 6d 20 3d 20 28 | 29 0a 58 73 65 74 20 72 |cnum = (|).Xset r|
|00000fd0| 65 73 70 20 3d 20 79 0a | 58 0a 58 23 20 74 68 69 |esp = y.|X.X# thi|
|00000fe0| 73 20 69 73 20 61 6e 6f | 74 68 65 72 20 68 61 63 |s is ano|ther hac|
|00000ff0| 6b 20 74 68 61 74 20 49 | 20 73 68 6f 75 6c 64 20 |k that I| should |
|00001000| 66 69 78 20 73 6f 6d 65 | 64 61 79 2e 2e 2e 2e 0a |fix some|day.....|
|00001010| 58 73 65 74 20 63 68 61 | 72 6c 69 73 74 20 3d 20 |Xset cha|rlist = |
|00001020| 61 62 63 64 65 66 67 68 | 69 6a 6b 6c 6d 6e 6f 70 |abcdefgh|ijklmnop|
|00001030| 71 72 73 74 75 76 77 78 | 79 7a 41 42 43 44 45 46 |qrstuvwx|yzABCDEF|
|00001040| 47 48 49 4a 4b 4c 4d 4e | 4f 50 51 52 53 54 55 56 |GHIJKLMN|OPQRSTUV|
|00001050| 57 58 59 5a 0a 58 0a 58 | 23 20 4c 6f 6f 6b 20 66 |WXYZ.X.X|# Look f|
|00001060| 6f 72 20 6c 6f 63 61 6c | 20 63 6f 70 79 20 6f 66 |or local| copy of|
|00001070| 20 72 66 63 20 69 6e 64 | 65 78 2e 0a 58 0a 58 69 | rfc ind|ex..X.Xi|
|00001080| 66 20 28 20 21 20 2d 65 | 20 24 52 46 43 5f 44 49 |f ( ! -e| $RFC_DI|
|00001090| 52 2f 24 69 6e 64 65 78 | 5f 6e 61 6d 65 20 29 20 |R/$index|_name ) |
|000010a0| 74 68 65 6e 0a 58 09 65 | 63 68 6f 20 22 4c 6f 63 |then.X.e|cho "Loc|
|000010b0| 61 6c 20 63 6f 70 79 20 | 6f 66 20 72 66 63 20 69 |al copy |of rfc i|
|000010c0| 6e 64 65 78 20 6e 6f 74 | 20 66 6f 75 6e 64 20 69 |ndex not| found i|
|000010d0| 6e 20 24 52 46 43 5f 44 | 49 52 2e 22 0a 58 09 65 |n $RFC_D|IR.".X.e|
|000010e0| 63 68 6f 20 22 28 46 6f | 72 67 65 74 20 74 6f 20 |cho "(Fo|rget to |
|000010f0| 73 65 74 20 79 6f 75 72 | 20 52 46 43 5f 44 49 52 |set your| RFC_DIR|
|00001100| 20 65 6e 76 69 72 6f 6e | 6d 65 6e 74 20 76 61 72 | environ|ment var|
|00001110| 69 61 62 6c 65 3f 29 2e | 22 0a 58 09 65 63 68 6f |iable?).|".X.echo|
|00001120| 20 22 54 68 69 73 20 63 | 6f 6d 6d 61 6e 64 20 77 | "This c|ommand w|
|00001130| 69 6c 6c 20 66 6f 72 63 | 65 20 61 20 73 79 6e 63 |ill forc|e a sync|
|00001140| 2e 22 0a 58 09 73 65 74 | 65 6e 76 20 53 59 4e 43 |.".X.set|env SYNC|
|00001150| 5f 4d 45 20 31 0a 58 65 | 6c 73 65 0a 58 09 73 65 |_ME 1.Xe|lse.X.se|
|00001160| 74 65 6e 76 20 53 59 4e | 43 5f 4d 45 20 30 0a 58 |tenv SYN|C_ME 0.X|
|00001170| 65 6e 64 69 66 0a 58 0a | 58 23 20 55 73 61 67 65 |endif.X.|X# Usage|
|00001180| 20 73 74 61 74 65 6d 65 | 6e 74 0a 58 0a 58 69 66 | stateme|nt.X.Xif|
|00001190| 20 24 23 61 72 67 76 20 | 3d 3d 20 30 20 74 68 65 | $#argv |== 0 the|
|000011a0| 6e 0a 58 09 65 63 68 6f | 20 22 55 73 61 67 65 3a |n.X.echo| "Usage:|
|000011b0| 20 67 65 74 5f 72 66 63 | 20 5b 6f 70 74 69 6f 6e | get_rfc| [option|
|000011c0| 73 5d 20 5b 72 66 63 2d | 6e 75 6d 20 6c 69 73 74 |s] [rfc-|num list|
|000011d0| 5d 22 0a 58 09 65 63 68 | 6f 20 22 6f 70 74 69 6f |]".X.ech|o "optio|
|000011e0| 6e 73 22 0a 58 09 65 63 | 68 6f 20 22 09 2d 69 09 |ns".X.ec|ho ".-i.|
|000011f0| 69 6e 74 65 72 61 63 74 | 69 76 65 20 66 69 6c 65 |interact|ive file|
|00001200| 20 72 65 71 75 65 73 74 | 22 0a 58 09 65 63 68 6f | request|".X.echo|
|00001210| 20 22 09 2d 74 09 73 65 | 61 72 63 68 20 66 6f 72 | ".-t.se|arch for|
|00001220| 20 69 6e 74 65 72 6e 65 | 74 20 74 6f 70 69 63 22 | interne|t topic"|
|00001230| 0a 58 09 65 63 68 6f 20 | 22 09 2d 73 09 73 79 6e |.X.echo |".-s.syn|
|00001240| 63 20 6c 6f 63 61 6c 20 | 69 6e 64 65 78 20 77 69 |c local |index wi|
|00001250| 74 68 20 61 72 63 68 69 | 76 65 20 73 69 74 65 22 |th archi|ve site"|
|00001260| 0a 58 09 67 6f 74 6f 20 | 44 4f 4e 45 0a 58 65 6e |.X.goto |DONE.Xen|
|00001270| 64 69 66 0a 58 0a 58 23 | 70 72 6f 63 65 73 73 20 |dif.X.X#|process |
|00001280| 74 6f 70 69 63 20 61 6e | 64 20 73 79 6e 63 20 62 |topic an|d sync b|
|00001290| 65 66 6f 72 65 20 70 72 | 6f 63 65 73 73 69 6e 67 |efore pr|ocessing|
|000012a0| 20 69 6e 74 65 72 61 63 | 74 69 76 65 0a 58 0a 58 | interac|tive.X.X|
|000012b0| 23 20 49 66 20 74 68 65 | 72 65 20 69 73 20 6e 6f |# If the|re is no|
|000012c0| 20 69 6e 64 65 78 20 77 | 65 20 64 6f 20 61 20 73 | index w|e do a s|
|000012d0| 79 6e 63 2e 20 46 69 72 | 73 74 0a 58 23 20 73 63 |ync. Fir|st.X# sc|
|000012e0| 61 6e 20 61 72 67 6c 69 | 73 74 20 61 6e 64 20 64 |an argli|st and d|
|000012f0| 65 6c 65 74 65 20 73 79 | 6e 63 20 72 65 71 75 65 |elete sy|nc reque|
|00001300| 73 74 73 2e 20 54 68 65 | 6e 0a 58 23 20 70 72 65 |sts. The|n.X# pre|
|00001310| 70 65 6e 64 20 73 79 6e | 63 20 6f 70 74 69 6f 6e |pend syn|c option|
|00001320| 2e 20 49 74 20 77 6f 72 | 6b 73 20 61 6e 79 77 61 |. It wor|ks anywa|
|00001330| 79 2e 2e 2e 2e 2e 0a 58 | 0a 58 69 66 20 24 53 59 |y......X|.Xif $SY|
|00001340| 4e 43 5f 4d 45 20 74 68 | 65 6e 0a 58 09 73 65 74 |NC_ME th|en.X.set|
|00001350| 20 63 70 79 20 3d 20 28 | 20 24 61 72 67 76 20 29 | cpy = (| $argv )|
|00001360| 0a 58 09 73 65 74 20 63 | 70 79 31 20 3d 20 22 22 |.X.set c|py1 = ""|
|00001370| 0a 58 09 77 68 69 6c 65 | 20 28 20 24 23 63 70 79 |.X.while| ( $#cpy|
|00001380| 20 3e 20 30 20 29 0a 58 | 09 09 73 77 69 74 63 68 | > 0 ).X|..switch|
|00001390| 20 28 20 24 63 70 79 5b | 31 5d 20 29 0a 58 0a 58 | ( $cpy[|1] ).X.X|
|000013a0| 09 09 09 63 61 73 65 20 | 22 2d 73 22 3a 0a 58 09 |...case |"-s":.X.|
|000013b0| 09 09 09 62 72 65 61 6b | 73 77 0a 58 0a 58 09 09 |...break|sw.X.X..|
|000013c0| 09 64 65 66 61 75 6c 74 | 3a 0a 58 09 09 09 09 73 |.default|:.X....s|
|000013d0| 65 74 20 63 70 79 31 20 | 3d 20 22 24 63 70 79 31 |et cpy1 |= "$cpy1|
|000013e0| 20 24 63 70 79 5b 31 5d | 22 0a 58 09 09 65 6e 64 | $cpy[1]|".X..end|
|000013f0| 73 77 0a 58 09 73 68 69 | 66 74 20 63 70 79 0a 58 |sw.X.shi|ft cpy.X|
|00001400| 09 65 6e 64 0a 58 0a 58 | 09 73 65 74 20 63 70 79 |.end.X.X|.set cpy|
|00001410| 31 20 3d 20 22 2d 73 20 | 24 63 70 79 31 22 0a 58 |1 = "-s |$cpy1".X|
|00001420| 09 73 65 74 20 61 72 67 | 76 20 3d 20 28 20 24 63 |.set arg|v = ( $c|
|00001430| 70 79 31 20 29 0a 58 65 | 6e 64 69 66 0a 58 0a 58 |py1 ).Xe|ndif.X.X|
|00001440| 73 65 74 20 63 70 79 20 | 3d 20 28 20 24 61 72 67 |set cpy |= ( $arg|
|00001450| 76 20 29 0a 58 0a 58 46 | 49 52 53 54 5f 41 52 47 |v ).X.XF|IRST_ARG|
|00001460| 5f 4c 4f 4f 50 3a 0a 58 | 77 68 69 6c 65 20 28 20 |_LOOP:.X|while ( |
|00001470| 24 23 63 70 79 20 3e 20 | 30 20 29 0a 58 73 77 69 |$#cpy > |0 ).Xswi|
|00001480| 74 63 68 20 28 20 24 63 | 70 79 5b 31 5d 20 29 0a |tch ( $c|py[1] ).|
|00001490| 58 0a 58 09 63 61 73 65 | 20 22 2d 74 22 3a 0a 58 |X.X.case| "-t":.X|
|000014a0| 09 09 73 68 69 66 74 20 | 63 70 79 0a 58 09 09 73 |..shift |cpy.X..s|
|000014b0| 65 74 20 61 67 61 69 6e | 20 3d 20 79 0a 58 09 09 |et again| = y.X..|
|000014c0| 77 68 69 6c 65 20 28 20 | 24 61 67 61 69 6e 20 3d |while ( |$again =|
|000014d0| 3d 20 79 20 29 0a 58 09 | 09 09 65 63 68 6f 20 2d |= y ).X.|..echo -|
|000014e0| 6e 20 22 45 6e 74 65 72 | 20 74 6f 70 69 63 3a 20 |n "Enter| topic: |
|000014f0| 22 0a 58 09 09 09 73 65 | 74 20 72 65 73 70 20 3d |".X...se|t resp =|
|00001500| 20 22 24 3c 22 0a 58 09 | 09 09 69 66 20 28 20 22 | "$<".X.|..if ( "|
|00001510| 24 72 65 73 70 22 20 21 | 3d 20 22 22 20 29 20 74 |$resp" !|= "" ) t|
|00001520| 68 65 6e 0a 58 09 09 09 | 09 65 67 72 65 70 20 2d |hen.X...|.egrep -|
|00001530| 69 20 22 24 72 65 73 70 | 22 20 24 52 46 43 5f 44 |i "$resp|" $RFC_D|
|00001540| 49 52 2f 24 69 6e 64 65 | 78 5f 6e 61 6d 65 0a 58 |IR/$inde|x_name.X|
|00001550| 09 09 09 65 6e 64 69 66 | 0a 58 09 09 09 73 65 74 |...endif|.X...set|
|00001560| 20 61 67 61 69 6e 20 3d | 20 22 6e 22 0a 58 09 09 | again =| "n".X..|
|00001570| 09 65 63 68 6f 20 2d 6e | 20 22 53 65 61 72 63 68 |.echo -n| "Search|
|00001580| 20 61 67 61 69 6e 3f 20 | 28 79 2f 6e 29 20 5b 6e | again? |(y/n) [n|
|00001590| 5d 3a 20 22 0a 58 09 09 | 09 73 65 74 20 61 67 61 |]: ".X..|.set aga|
|000015a0| 69 6e 20 3d 20 24 3c 0a | 58 09 09 09 69 66 20 28 |in = $<.|X...if (|
|000015b0| 20 22 24 61 67 61 69 6e | 22 20 21 3d 20 22 22 20 | "$again|" != "" |
|000015c0| 29 20 74 68 65 6e 0a 58 | 09 09 09 09 73 65 74 20 |) then.X|....set |
|000015d0| 61 67 61 69 6e 20 3d 20 | 60 65 78 70 72 20 73 75 |again = |`expr su|
|000015e0| 62 73 74 72 20 22 24 61 | 67 61 69 6e 22 20 31 20 |bstr "$a|gain" 1 |
|000015f0| 31 60 0a 58 09 09 09 65 | 6e 64 69 66 0a 58 09 09 |1`.X...e|ndif.X..|
|00001600| 65 6e 64 0a 58 09 09 62 | 72 65 61 6b 73 77 0a 58 |end.X..b|reaksw.X|
|00001610| 0a 58 09 63 61 73 65 20 | 22 2d 73 22 3a 0a 58 09 |.X.case |"-s":.X.|
|00001620| 09 73 68 69 66 74 20 63 | 70 79 0a 58 09 09 65 63 |.shift c|py.X..ec|
|00001630| 68 6f 20 22 53 79 6e 63 | 69 6e 67 20 6c 6f 63 61 |ho "Sync|ing loca|
|00001640| 6c 20 69 6e 64 65 78 20 | 77 69 74 68 20 63 6f 70 |l index |with cop|
|00001650| 79 20 61 74 20 24 72 66 | 63 5f 61 72 63 68 69 76 |y at $rf|c_archiv|
|00001660| 65 22 0a 58 09 09 73 65 | 74 20 66 69 6c 65 5f 6c |e".X..se|t file_l|
|00001670| 69 73 74 20 3d 20 24 69 | 6e 64 65 78 5f 6e 61 6d |ist = $i|ndex_nam|
|00001680| 65 0a 58 09 09 67 6f 74 | 6f 20 44 4f 5f 46 45 54 |e.X..got|o DO_FET|
|00001690| 43 48 0a 58 09 09 62 72 | 65 61 6b 73 77 09 09 0a |CH.X..br|eaksw...|
|000016a0| 58 0a 58 09 64 65 66 61 | 75 6c 74 3a 0a 58 09 09 |X.X.defa|ult:.X..|
|000016b0| 73 68 69 66 74 20 63 70 | 79 0a 58 65 6e 64 73 77 |shift cp|y.Xendsw|
|000016c0| 0a 58 65 6e 64 0a 58 0a | 58 73 65 74 20 63 70 79 |.Xend.X.|Xset cpy|
|000016d0| 20 3d 20 28 20 24 61 72 | 67 76 20 29 0a 58 0a 58 | = ( $ar|gv ).X.X|
|000016e0| 53 45 43 4f 4e 44 5f 41 | 52 47 5f 4c 4f 4f 50 3a |SECOND_A|RG_LOOP:|
|000016f0| 0a 58 77 68 69 6c 65 20 | 28 20 24 23 63 70 79 20 |.Xwhile |( $#cpy |
|00001700| 3e 20 30 20 29 0a 58 73 | 77 69 74 63 68 20 28 20 |> 0 ).Xs|witch ( |
|00001710| 24 63 70 79 5b 31 5d 20 | 29 0a 58 0a 58 09 63 61 |$cpy[1] |).X.X.ca|
|00001720| 73 65 20 22 2d 73 22 3a | 0a 58 09 63 61 73 65 20 |se "-s":|.X.case |
|00001730| 22 2d 74 22 3a 0a 58 09 | 09 73 68 69 66 74 20 63 |"-t":.X.|.shift c|
|00001740| 70 79 0a 58 09 09 62 72 | 65 61 6b 73 77 0a 58 0a |py.X..br|eaksw.X.|
|00001750| 58 09 63 61 73 65 20 22 | 2d 69 22 0a 58 09 09 73 |X.case "|-i".X..s|
|00001760| 68 69 66 74 20 63 70 79 | 0a 58 09 09 65 63 68 6f |hift cpy|.X..echo|
|00001770| 20 2d 6e 20 22 47 65 74 | 20 52 46 43 20 4e 75 6d | -n "Get| RFC Num|
|00001780| 62 65 72 28 73 29 3a 20 | 22 0a 58 09 09 73 65 74 |ber(s): |".X..set|
|00001790| 20 72 66 63 6e 75 6d 20 | 3d 20 20 28 20 24 3c 20 | rfcnum |= ( $< |
|000017a0| 29 0a 58 0a 58 09 64 65 | 66 61 75 6c 74 3a 0a 58 |).X.X.de|fault:.X|
|000017b0| 09 09 73 65 74 20 6e 75 | 6d 5f 6c 69 73 74 20 3d |..set nu|m_list =|
|000017c0| 20 28 20 24 63 70 79 20 | 24 72 66 63 6e 75 6d 20 | ( $cpy |$rfcnum |
|000017d0| 29 0a 58 0a 58 09 09 77 | 68 69 6c 65 28 20 24 23 |).X.X..w|hile( $#|
|000017e0| 6e 75 6d 5f 6c 69 73 74 | 20 3e 20 30 20 29 0a 58 |num_list| > 0 ).X|
|000017f0| 09 09 09 73 65 74 20 6e | 6f 74 5f 6e 75 6d 20 3d |...set n|ot_num =|
|00001800| 20 60 65 78 70 72 20 69 | 6e 64 65 78 20 24 6e 75 | `expr i|ndex $nu|
|00001810| 6d 5f 6c 69 73 74 5b 31 | 5d 20 24 63 68 61 72 6c |m_list[1|] $charl|
|00001820| 69 73 74 60 0a 58 09 09 | 09 69 66 20 28 20 24 6e |ist`.X..|.if ( $n|
|00001830| 6f 74 5f 6e 75 6d 20 29 | 20 74 68 65 6e 0a 58 09 |ot_num )| then.X.|
|00001840| 09 09 09 65 63 68 6f 20 | 42 61 64 20 72 66 63 20 |...echo |Bad rfc |
|00001850| 6e 75 6d 62 65 72 20 24 | 6e 75 6d 5f 6c 69 73 74 |number $|num_list|
|00001860| 5b 31 5d 2e 20 45 58 49 | 54 2e 0a 58 09 09 09 09 |[1]. EXI|T..X....|
|00001870| 65 78 69 74 20 31 0a 58 | 09 09 09 65 6e 64 69 66 |exit 1.X|...endif|
|00001880| 0a 58 0a 58 09 09 09 73 | 68 69 66 74 20 6e 75 6d |.X.X...s|hift num|
|00001890| 5f 6c 69 73 74 0a 58 09 | 09 65 6e 64 0a 58 09 09 |_list.X.|.end.X..|
|000018a0| 73 65 74 20 72 66 63 6e | 75 6d 20 3d 20 28 20 24 |set rfcn|um = ( $|
|000018b0| 63 70 79 20 24 72 66 63 | 6e 75 6d 20 29 0a 58 09 |cpy $rfc|num ).X.|
|000018c0| 09 62 72 65 61 6b 0a 58 | 65 6e 64 73 77 0a 58 65 |.break.X|endsw.Xe|
|000018d0| 6e 64 0a 58 0a 58 0a 58 | 46 45 54 43 48 3a 0a 58 |nd.X.X.X|FETCH:.X|
|000018e0| 23 0a 58 23 20 69 66 20 | 74 68 65 72 65 27 73 20 |#.X# if |there's |
|000018f0| 6e 6f 74 68 69 6e 67 20 | 69 6e 20 74 68 65 20 72 |nothing |in the r|
|00001900| 66 63 6e 75 6d 20 76 61 | 72 69 61 62 6c 65 2c 20 |fcnum va|riable, |
|00001910| 71 75 69 74 2e 0a 58 23 | 0a 58 0a 58 69 66 20 28 |quit..X#|.X.Xif (|
|00001920| 20 24 23 72 66 63 6e 75 | 6d 20 3d 3d 20 30 20 29 | $#rfcnu|m == 0 )|
|00001930| 20 67 6f 74 6f 20 44 4f | 4e 45 0a 58 0a 58 23 0a | goto DO|NE.X.X#.|
|00001940| 58 23 20 42 75 69 6c 64 | 20 74 68 65 20 66 69 6c |X# Build| the fil|
|00001950| 65 20 6c 69 73 74 20 66 | 72 6f 6d 20 74 68 65 20 |e list f|rom the |
|00001960| 69 6e 64 65 78 20 6e 75 | 6d 62 65 72 20 6c 69 73 |index nu|mber lis|
|00001970| 74 0a 58 23 0a 58 0a 58 | 73 65 74 20 66 69 6c 65 |t.X#.X.X|set file|
|00001980| 5f 6c 69 73 74 20 3d 20 | 28 29 0a 58 66 6f 72 65 |_list = |().Xfore|
|00001990| 61 63 68 20 66 5f 69 6e | 64 65 78 20 28 20 24 72 |ach f_in|dex ( $r|
|000019a0| 66 63 6e 75 6d 20 29 0a | 58 09 73 65 74 20 66 69 |fcnum ).|X.set fi|
|000019b0| 6c 65 5f 6c 69 73 74 20 | 3d 20 28 20 24 66 69 6c |le_list |= ( $fil|
|000019c0| 65 5f 6c 69 73 74 20 72 | 66 63 24 66 5f 69 6e 64 |e_list r|fc$f_ind|
|000019d0| 65 78 2e 74 78 74 20 29 | 0a 58 65 6e 64 0a 58 0a |ex.txt )|.Xend.X.|
|000019e0| 58 65 63 68 6f 20 22 47 | 65 74 74 69 6e 67 20 74 |Xecho "G|etting t|
|000019f0| 68 65 20 66 6f 6c 6c 6f | 77 69 6e 67 20 66 69 6c |he follo|wing fil|
|00001a00| 65 73 20 66 72 6f 6d 20 | 66 72 6f 6d 20 24 72 66 |es from |from $rf|
|00001a10| 63 5f 61 72 63 68 69 76 | 65 3b 22 0a 58 66 6f 72 |c_archiv|e;".Xfor|
|00001a20| 65 61 63 68 20 66 69 6c | 65 20 28 20 24 66 69 6c |each fil|e ( $fil|
|00001a30| 65 5f 6c 69 73 74 20 29 | 0a 58 09 65 63 68 6f 20 |e_list )|.X.echo |
|00001a40| 24 66 69 6c 65 0a 58 65 | 6e 64 20 0a 58 0a 58 65 |$file.Xe|nd .X.Xe|
|00001a50| 63 68 6f 20 2d 6e 20 22 | 43 6f 6e 74 69 6e 75 65 |cho -n "|Continue|
|00001a60| 3f 20 79 2f 6e 20 5b 79 | 5d 3a 20 22 0a 58 73 65 |? y/n [y|]: ".Xse|
|00001a70| 74 20 72 65 73 70 20 3d | 20 24 3c 0a 58 69 66 20 |t resp =| $<.Xif |
|00001a80| 28 20 22 24 72 65 73 70 | 22 20 3d 3d 20 22 6e 22 |( "$resp|" == "n"|
|00001a90| 20 29 20 74 68 65 6e 0a | 58 09 65 63 68 6f 20 41 | ) then.|X.echo A|
|00001aa0| 42 4f 52 54 0a 58 09 67 | 6f 74 6f 20 44 4f 4e 45 |BORT.X.g|oto DONE|
|00001ab0| 0a 58 65 6e 64 69 66 0a | 58 0a 58 0a 58 23 0a 58 |.Xendif.|X.X.X#.X|
|00001ac0| 23 20 44 6f 20 74 68 65 | 20 66 65 74 63 68 21 21 |# Do the| fetch!!|
|00001ad0| 0a 58 23 0a 58 0a 58 44 | 4f 5f 46 45 54 43 48 3a |.X#.X.XD|O_FETCH:|
|00001ae0| 0a 58 0a 58 66 74 70 20 | 2d 6e 20 2d 69 20 3c 3c |.X.Xftp |-n -i <<|
|00001af0| 20 2b 0a 58 6f 70 65 6e | 20 24 72 66 63 5f 61 72 | +.Xopen| $rfc_ar|
|00001b00| 63 68 69 76 65 0a 58 75 | 73 65 72 20 61 6e 6f 6e |chive.Xu|ser anon|
|00001b10| 79 6d 6f 75 73 20 63 75 | 6c 62 65 72 74 40 69 65 |ymous cu|lbert@ie|
|00001b20| 73 6c 2e 6d 69 74 2e 65 | 64 75 0a 58 63 64 20 24 |sl.mit.e|du.Xcd $|
|00001b30| 72 65 6d 6f 74 65 5f 64 | 69 72 0a 58 6c 63 64 20 |remote_d|ir.Xlcd |
|00001b40| 24 6c 6f 63 61 6c 5f 64 | 69 72 0a 58 62 69 6e 0a |$local_d|ir.Xbin.|
|00001b50| 58 6d 67 65 74 20 24 66 | 69 6c 65 5f 6c 69 73 74 |Xmget $f|ile_list|
|00001b60| 0a 58 62 79 65 0a 58 2b | 0a 58 0a 58 23 20 49 66 |.Xbye.X+|.X.X# If|
|00001b70| 20 74 68 69 73 20 77 61 | 73 20 61 20 66 6f 72 63 | this wa|s a forc|
|00001b80| 65 64 20 73 79 6e 63 2c | 20 72 65 74 75 72 6e 20 |ed sync,| return |
|00001b90| 74 6f 20 74 68 65 20 61 | 72 67 75 6d 65 6e 74 20 |to the a|rgument |
|00001ba0| 70 72 6f 63 65 73 73 69 | 6e 67 20 6c 6f 6f 70 73 |processi|ng loops|
|00001bb0| 2e 0a 58 0a 58 69 66 20 | 24 53 59 4e 43 5f 4d 45 |..X.Xif |$SYNC_ME|
|00001bc0| 20 74 68 65 6e 20 0a 58 | 09 73 65 74 65 6e 76 20 | then .X|.setenv |
|00001bd0| 53 59 4e 43 5f 4d 45 20 | 30 0a 58 09 67 6f 74 6f |SYNC_ME |0.X.goto|
|00001be0| 20 46 49 52 53 54 5f 41 | 52 47 5f 4c 4f 4f 50 0a | FIRST_A|RG_LOOP.|
|00001bf0| 58 65 6e 64 69 66 0a 58 | 0a 58 23 0a 58 23 20 4c |Xendif.X|.X#.X# L|
|00001c00| 69 73 74 20 74 68 65 20 | 66 69 6c 65 73 20 6c 6f |ist the |files lo|
|00001c10| 63 61 6c 6c 79 20 74 6f | 20 67 69 76 65 20 61 20 |cally to| give a |
|00001c20| 6c 69 74 74 6c 65 20 63 | 6f 6e 66 69 64 65 6e 63 |little c|onfidenc|
|00001c30| 65 20 74 68 61 74 20 61 | 6c 6c 20 77 65 6e 74 20 |e that a|ll went |
|00001c40| 77 65 6c 6c 2e 2e 2e 0a | 58 0a 58 70 75 73 68 64 |well....|X.Xpushd|
|00001c50| 20 24 6c 6f 63 61 6c 5f | 64 69 72 20 3e 26 21 20 | $local_|dir >&! |
|00001c60| 2f 64 65 76 2f 6e 75 6c | 6c 0a 58 6c 73 20 2d 6c |/dev/nul|l.Xls -l|
|00001c70| 20 24 66 69 6c 65 5f 6c | 69 73 74 0a 58 70 6f 70 | $file_l|ist.Xpop|
|00001c80| 64 20 3e 26 21 20 2f 64 | 65 76 2f 6e 75 6c 6c 0a |d >&! /d|ev/null.|
|00001c90| 58 0a 58 23 0a 58 23 20 | 42 59 45 21 21 21 21 0a |X.X#.X# |BYE!!!!.|
|00001ca0| 58 23 0a 58 0a 58 44 4f | 4e 45 3a 0a 58 0a 58 65 |X#.X.XDO|NE:.X.Xe|
|00001cb0| 78 69 74 20 30 0a 58 0a | 45 4e 44 5f 4f 46 5f 46 |xit 0.X.|END_OF_F|
|00001cc0| 49 4c 45 0a 20 20 69 66 | 20 74 65 73 74 20 35 32 |ILE. if| test 52|
|00001cd0| 35 38 20 2d 6e 65 20 60 | 77 63 20 2d 63 20 3c 27 |58 -ne `|wc -c <'|
|00001ce0| 72 66 63 67 65 74 27 60 | 3b 20 74 68 65 6e 0a 20 |rfcget'`|; then. |
|00001cf0| 20 20 20 65 63 68 6f 20 | 73 68 61 72 3a 20 5c 22 | echo |shar: \"|
|00001d00| 27 72 66 63 67 65 74 27 | 5c 22 20 75 6e 70 61 63 |'rfcget'|\" unpac|
|00001d10| 6b 65 64 20 77 69 74 68 | 20 77 72 6f 6e 67 20 73 |ked with| wrong s|
|00001d20| 69 7a 65 21 0a 20 20 66 | 69 0a 20 20 63 68 6d 6f |ize!. f|i. chmo|
|00001d30| 64 20 2b 78 20 27 72 66 | 63 67 65 74 27 0a 20 20 |d +x 'rf|cget'. |
|00001d40| 23 20 65 6e 64 20 6f 66 | 20 27 72 66 63 67 65 74 |# end of| 'rfcget|
|00001d50| 27 0a 66 69 0a 69 66 20 | 74 65 73 74 20 2d 66 20 |'.fi.if |test -f |
|00001d60| 27 72 66 63 67 65 74 2e | 31 27 20 2d 61 20 22 24 |'rfcget.|1' -a "$|
|00001d70| 7b 31 7d 22 20 21 3d 20 | 22 2d 63 22 20 3b 20 74 |{1}" != |"-c" ; t|
|00001d80| 68 65 6e 20 0a 20 20 65 | 63 68 6f 20 73 68 61 72 |hen . e|cho shar|
|00001d90| 3a 20 57 69 6c 6c 20 6e | 6f 74 20 63 6c 6f 62 62 |: Will n|ot clobb|
|00001da0| 65 72 20 65 78 69 73 74 | 69 6e 67 20 66 69 6c 65 |er exist|ing file|
|00001db0| 20 5c 22 27 72 66 63 67 | 65 74 2e 31 27 5c 22 0a | \"'rfcg|et.1'\".|
|00001dc0| 65 6c 73 65 0a 20 20 65 | 63 68 6f 20 73 68 61 72 |else. e|cho shar|
|00001dd0| 3a 20 45 78 74 72 61 63 | 74 69 6e 67 20 5c 22 27 |: Extrac|ting \"'|
|00001de0| 72 66 63 67 65 74 2e 31 | 27 5c 22 20 5c 28 32 33 |rfcget.1|'\" \(23|
|00001df0| 36 38 20 63 68 61 72 61 | 63 74 65 72 73 5c 29 0a |68 chara|cters\).|
|00001e00| 20 20 73 65 64 20 22 73 | 2f 5e 58 2f 2f 22 20 3e | sed "s|/^X//" >|
|00001e10| 27 72 66 63 67 65 74 2e | 31 27 20 3c 3c 27 45 4e |'rfcget.|1' <<'EN|
|00001e20| 44 5f 4f 46 5f 46 49 4c | 45 27 0a 58 2e 54 48 20 |D_OF_FIL|E'.X.TH |
|00001e30| 52 46 43 47 45 54 20 31 | 20 20 22 31 37 20 44 65 |RFCGET 1| "17 De|
|00001e40| 63 20 31 39 39 32 22 0a | 58 2e 53 48 20 4e 41 4d |c 1992".|X.SH NAM|
|00001e50| 45 0a 58 72 66 63 67 65 | 74 20 5c 2d 20 53 69 6d |E.Xrfcge|t \- Sim|
|00001e60| 70 6c 65 20 72 66 63 20 | 72 65 74 72 69 65 76 61 |ple rfc |retrieva|
|00001e70| 6c 20 74 6f 6f 6c 0a 58 | 2e 53 48 20 53 59 4e 4f |l tool.X|.SH SYNO|
|00001e80| 50 53 49 53 0a 58 2e 6e | 61 0a 58 2e 42 20 72 66 |PSIS.X.n|a.X.B rf|
|00001e90| 63 67 65 74 0a 58 5b 20 | 6f 70 74 69 6f 6e 73 20 |cget.X[ |options |
|00001ea0| 5d 20 5b 0a 58 2e 49 20 | 72 66 63 2d 6e 75 6d 62 |] [.X.I |rfc-numb|
|00001eb0| 65 72 0a 58 5d 0a 58 2e | 62 72 0a 58 2e 61 64 0a |er.X].X.|br.X.ad.|
|00001ec0| 58 2e 53 48 20 44 45 53 | 43 52 49 50 54 49 4f 4e |X.SH DES|CRIPTION|
|00001ed0| 0a 58 2e 4c 50 0a 58 2e | 49 20 72 66 63 67 65 74 |.X.LP.X.|I rfcget|
|00001ee0| 0a 58 69 73 20 61 20 63 | 2d 73 68 65 6c 6c 20 73 |.Xis a c|-shell s|
|00001ef0| 63 72 69 70 74 20 77 68 | 69 63 68 20 66 61 63 69 |cript wh|ich faci|
|00001f00| 6c 69 74 61 74 65 73 20 | 74 68 65 20 72 65 74 72 |litates |the retr|
|00001f10| 69 65 76 61 6c 20 6f 66 | 20 52 65 71 75 65 73 74 |ieval of| Request|
|00001f20| 20 46 6f 72 20 43 6f 6d | 6d 65 6e 74 73 0a 58 28 | For Com|ments.X(|
|00001f30| 52 46 43 29 20 44 6f 63 | 75 6d 65 6e 74 73 2e 20 |RFC) Doc|uments. |
|00001f40| 54 68 65 20 73 63 72 69 | 70 74 20 73 75 70 70 6f |The scri|pt suppo|
|00001f50| 72 74 73 20 74 77 6f 20 | 66 75 6e 63 74 69 6f 6e |rts two |function|
|00001f60| 73 3b 20 74 6f 70 69 63 | 20 73 65 61 72 63 68 69 |s; topic| searchi|
|00001f70| 6e 67 2c 20 72 66 63 20 | 0a 58 64 6f 63 75 6d 65 |ng, rfc |.Xdocume|
|00001f80| 6e 74 20 72 65 74 72 69 | 65 76 61 6c 2e 20 54 68 |nt retri|eval. Th|
|00001f90| 65 20 73 63 72 69 70 74 | 20 75 73 65 73 20 61 20 |e script| uses a |
|00001fa0| 6c 6f 63 61 6c 20 63 6f | 70 79 20 6f 66 20 74 68 |local co|py of th|
|00001fb0| 65 20 72 66 63 20 69 6e | 64 65 78 20 66 69 6c 65 |e rfc in|dex file|
|00001fc0| 20 66 6f 72 20 0a 58 74 | 6f 70 69 63 20 73 65 61 | for .Xt|opic sea|
|00001fd0| 72 63 68 65 73 2e 20 54 | 68 69 73 20 69 6e 64 65 |rches. T|his inde|
|00001fe0| 78 20 6d 75 73 74 20 62 | 65 20 6c 6f 63 61 74 65 |x must b|e locate|
|00001ff0| 64 20 69 6e 20 61 20 64 | 69 72 65 63 74 6f 72 79 |d in a d|irectory|
|00002000| 20 6e 61 6d 65 64 20 62 | 79 20 74 68 65 20 0a 58 | named b|y the .X|
|00002010| 65 6e 76 69 72 6f 6e 6d | 65 6e 74 20 76 61 72 69 |environm|ent vari|
|00002020| 61 62 6c 65 20 52 46 43 | 5f 44 49 52 2e 20 49 66 |able RFC|_DIR. If|
|00002030| 20 79 6f 75 20 63 68 6f | 6f 73 65 20 6e 6f 74 20 | you cho|ose not |
|00002040| 74 6f 20 73 65 74 20 74 | 68 69 73 20 76 61 72 69 |to set t|his vari|
|00002050| 61 62 6c 65 2c 0a 58 74 | 68 65 20 73 63 72 69 70 |able,.Xt|he scrip|
|00002060| 74 20 75 73 65 73 20 74 | 68 65 20 6c 6f 63 61 6c |t uses t|he local|
|00002070| 20 64 69 72 65 63 74 6f | 72 79 2e 20 52 46 43 5f | directo|ry. RFC_|
|00002080| 44 49 52 20 69 73 20 61 | 6c 73 6f 20 75 73 65 64 |DIR is a|lso used|
|00002090| 20 61 73 20 74 68 65 20 | 6c 6f 63 61 74 69 6f 6e | as the |location|
|000020a0| 0a 58 77 68 65 72 65 20 | 72 65 74 72 69 65 76 65 |.Xwhere |retrieve|
|000020b0| 64 20 64 6f 63 75 6d 65 | 6e 74 73 20 61 72 65 20 |d docume|nts are |
|000020c0| 70 6c 61 63 65 64 2e 20 | 59 6f 75 20 61 72 65 20 |placed. |You are |
|000020d0| 77 61 72 6e 65 64 20 62 | 79 20 74 68 65 20 73 63 |warned b|y the sc|
|000020e0| 72 69 70 74 20 69 66 20 | 74 68 69 73 0a 58 76 61 |ript if |this.Xva|
|000020f0| 72 69 61 62 6c 65 20 69 | 73 6e 27 74 20 73 65 74 |riable i|sn't set|
|00002100| 2e 20 49 66 20 74 68 65 | 20 69 6e 64 65 78 20 66 |. If the| index f|
|00002110| 69 6c 65 20 69 73 20 6e | 6f 74 20 66 6f 75 6e 64 |ile is n|ot found|
|00002120| 20 77 68 65 6e 20 74 68 | 65 20 73 63 72 69 70 74 | when th|e script|
|00002130| 20 69 73 0a 58 72 75 6e | 2c 20 74 68 65 20 74 6f | is.Xrun|, the to|
|00002140| 6f 6c 20 22 73 79 6e 63 | 73 22 20 77 69 74 68 20 |ol "sync|s" with |
|00002150| 61 20 6e 69 63 20 73 65 | 72 76 65 72 20 63 6f 70 |a nic se|rver cop|
|00002160| 79 20 74 68 65 6e 20 70 | 72 6f 63 65 65 64 73 20 |y then p|roceeds |
|00002170| 77 69 74 68 20 61 72 67 | 75 6d 65 6e 74 20 0a 58 |with arg|ument .X|
|00002180| 70 72 6f 63 65 73 73 69 | 6e 67 2e 0a 58 0a 58 0a |processi|ng..X.X.|
|00002190| 58 2e 53 48 20 4f 50 54 | 49 4f 4e 53 0a 58 2e 49 |X.SH OPT|IONS.X.I|
|000021a0| 20 72 66 63 67 65 74 0a | 58 61 6c 6c 6f 77 73 20 | rfcget.|Xallows |
|000021b0| 79 6f 75 20 74 6f 20 73 | 70 65 63 69 66 79 20 74 |you to s|pecify t|
|000021c0| 68 72 65 65 20 6f 70 74 | 69 6f 6e 73 20 6f 6e 20 |hree opt|ions on |
|000021d0| 74 68 65 20 63 6f 6d 6d | 61 6e 64 20 6c 69 6e 65 |the comm|and line|
|000021e0| 2e 20 54 68 65 20 6f 70 | 74 69 6f 6e 73 20 0a 58 |. The op|tions .X|
|000021f0| 73 75 70 70 6f 72 74 65 | 64 20 61 72 65 20 61 73 |supporte|d are as|
|00002200| 20 66 6f 6c 6c 6f 77 73 | 3a 0a 58 0a 58 2e 54 50 | follows|:.X.X.TP|
|00002210| 0a 58 2d 69 0a 58 52 75 | 6e 20 74 68 65 20 70 72 |.X-i.XRu|n the pr|
|00002220| 6f 67 72 61 6d 20 69 6e | 20 69 6e 74 65 72 61 63 |ogram in| interac|
|00002230| 74 69 76 65 20 6d 6f 64 | 65 20 70 72 6f 6d 70 74 |tive mod|e prompt|
|00002240| 69 6e 67 20 74 68 65 20 | 75 73 65 72 20 66 6f 72 |ing the |user for|
|00002250| 20 74 68 65 20 6e 75 6d | 62 65 72 73 0a 58 6f 66 | the num|bers.Xof|
|00002260| 20 74 68 65 20 72 66 63 | 20 64 6f 63 75 6d 65 6e | the rfc| documen|
|00002270| 74 73 20 74 6f 20 72 65 | 74 72 69 65 76 65 20 66 |ts to re|trieve f|
|00002280| 72 6f 6d 20 74 68 65 20 | 73 65 72 76 65 72 2e 0a |rom the |server..|
|00002290| 58 2e 54 50 0a 58 2d 74 | 0a 58 50 72 6f 6d 70 74 |X.TP.X-t|.XPrompt|
|000022a0| 20 74 68 65 20 75 73 65 | 72 20 66 6f 72 20 61 20 | the use|r for a |
|000022b0| 74 6f 70 69 63 20 74 6f | 20 73 65 61 72 63 68 20 |topic to| search |
|000022c0| 69 6e 20 74 68 65 20 69 | 6e 64 65 78 20 66 69 6c |in the i|ndex fil|
|000022d0| 65 2e 0a 58 2e 54 50 0a | 58 2d 73 0a 58 53 79 6e |e..X.TP.|X-s.XSyn|
|000022e0| 63 68 72 6f 6e 69 7a 65 | 20 6c 6f 63 61 6c 20 69 |chronize| local i|
|000022f0| 6e 64 65 78 20 66 69 6c | 65 20 77 69 74 68 20 74 |ndex fil|e with t|
|00002300| 68 65 20 6f 6e 65 20 66 | 6f 75 6e 64 20 61 74 20 |he one f|ound at |
|00002310| 74 68 65 20 6e 69 63 2e | 0a 58 0a 58 2e 53 48 20 |the nic.|.X.X.SH |
|00002320| 45 58 41 4d 50 4c 45 0a | 58 2e 6e 66 0a 58 25 20 |EXAMPLE.|X.nf.X% |
|00002330| 72 66 63 67 65 74 20 2d | 69 20 2d 74 0a 58 45 6e |rfcget -|i -t.XEn|
|00002340| 74 65 72 20 74 6f 70 69 | 63 3a 20 44 56 4d 52 50 |ter topi|c: DVMRP|
|00002350| 0a 58 53 65 61 72 63 68 | 20 61 67 61 69 6e 3f 20 |.XSearch| again? |
|00002360| 28 79 2f 6e 29 20 5b 6e | 5d 3a 20 79 0a 58 45 6e |(y/n) [n|]: y.XEn|
|00002370| 74 65 72 20 74 6f 70 69 | 63 3a 20 64 69 73 74 61 |ter topi|c: dista|
|00002380| 6e 63 65 20 76 65 63 74 | 6f 72 0a 58 31 30 37 35 |nce vect|or.X1075|
|00002390| 20 20 44 69 73 74 61 6e | 63 65 20 56 65 63 74 6f | Distan|ce Vecto|
|000023a0| 72 20 4d 75 6c 74 69 63 | 61 73 74 20 52 6f 75 74 |r Multic|ast Rout|
|000023b0| 69 6e 67 20 50 72 6f 74 | 6f 63 6f 6c 2e 20 57 61 |ing Prot|ocol. Wa|
|000023c0| 69 74 7a 6d 61 6e 2c 44 | 2e 3b 50 61 72 74 72 69 |itzman,D|.;Partri|
|000023d0| 64 67 65 2c 43 2e 3b 0a | 58 53 65 61 72 63 68 20 |dge,C.;.|XSearch |
|000023e0| 61 67 61 69 6e 3f 20 28 | 79 2f 6e 29 20 5b 6e 5d |again? (|y/n) [n]|
|000023f0| 3a 20 6e 0a 58 47 65 74 | 20 52 46 43 20 4e 75 6d |: n.XGet| RFC Num|
|00002400| 62 65 72 28 73 29 3a 20 | 31 30 37 35 0a 58 47 65 |ber(s): |1075.XGe|
|00002410| 74 74 69 6e 67 20 74 68 | 65 20 66 6f 6c 6c 6f 77 |tting th|e follow|
|00002420| 69 6e 67 20 66 69 6c 65 | 73 20 66 72 6f 6d 20 66 |ing file|s from f|
|00002430| 72 6f 6d 20 66 74 70 2e | 6e 69 73 63 2e 73 72 69 |rom ftp.|nisc.sri|
|00002440| 2e 63 6f 6d 3b 0a 58 72 | 66 63 31 30 37 35 2e 74 |.com;.Xr|fc1075.t|
|00002450| 78 74 0a 58 43 6f 6e 74 | 69 6e 75 65 3f 20 79 2f |xt.XCont|inue? y/|
|00002460| 6e 20 5b 79 5d 3a 20 79 | 0a 58 4c 6f 63 61 6c 20 |n [y]: y|.XLocal |
|00002470| 64 69 72 65 63 74 6f 72 | 79 20 6e 6f 77 20 2f 6d |director|y now /m|
|00002480| 69 74 2f 73 74 61 66 66 | 2f 52 46 43 0a 58 2d 72 |it/staff|/RFC.X-r|
|00002490| 77 2d 72 77 2d 72 2d 2d | 20 20 31 20 73 74 61 66 |w-rw-r--| 1 staf|
|000024a0| 66 20 20 20 20 20 35 33 | 33 38 35 20 44 65 63 20 |f 53|385 Dec |
|000024b0| 31 38 20 31 33 3a 33 33 | 20 72 66 63 31 30 37 35 |18 13:33| rfc1075|
|000024c0| 2e 74 78 74 0a 58 0a 58 | 0a 58 2e 53 48 20 46 49 |.txt.X.X|.X.SH FI|
|000024d0| 4c 45 53 0a 58 24 52 46 | 43 5f 44 49 52 2f 72 66 |LES.X$RF|C_DIR/rf|
|000024e0| 63 2d 69 6e 64 65 78 2e | 74 78 74 0a 58 0a 58 2e |c-index.|txt.X.X.|
|000024f0| 53 48 20 41 55 54 48 4f | 52 0a 58 4a 69 6d 20 43 |SH AUTHO|R.XJim C|
|00002500| 75 6c 62 65 72 74 20 28 | 63 75 6c 62 65 72 74 40 |ulbert (|culbert@|
|00002510| 69 65 73 6c 2e 6d 69 74 | 2e 65 64 75 29 0a 58 2e |iesl.mit|.edu).X.|
|00002520| 53 48 20 42 55 47 53 0a | 58 54 68 65 20 73 63 72 |SH BUGS.|XThe scr|
|00002530| 69 70 74 20 68 61 73 20 | 68 61 72 64 77 69 72 65 |ipt has |hardwire|
|00002540| 64 20 72 65 66 65 72 65 | 6e 63 65 73 20 74 6f 20 |d refere|nces to |
|00002550| 61 20 73 70 65 63 69 66 | 69 63 20 6e 69 63 20 61 |a specif|ic nic a|
|00002560| 6e 64 20 61 20 73 70 65 | 63 69 66 69 63 0a 58 69 |nd a spe|cific.Xi|
|00002570| 6e 64 65 78 20 66 69 6c | 65 20 6e 61 6d 65 2e 20 |ndex fil|e name. |
|00002580| 49 66 20 74 68 65 73 65 | 20 63 68 61 6e 67 65 2c |If these| change,|
|00002590| 20 74 68 65 20 73 63 72 | 69 70 74 20 77 69 6c 6c | the scr|ipt will|
|000025a0| 20 62 72 65 61 6b 2e 20 | 54 68 65 20 75 73 65 72 | break. |The user|
|000025b0| 20 0a 58 6d 75 73 74 20 | 6d 6f 64 69 66 79 20 73 | .Xmust |modify s|
|000025c0| 63 72 69 70 74 20 76 61 | 72 69 61 62 6c 65 73 20 |cript va|riables |
|000025d0| 69 66 20 74 68 65 20 6e | 69 63 20 62 65 63 6f 6d |if the n|ic becom|
|000025e0| 65 73 20 75 6e 61 76 61 | 69 6c 61 62 6c 65 20 6f |es unava|ilable o|
|000025f0| 72 20 69 66 20 0a 58 74 | 68 65 20 69 6e 64 65 78 |r if .Xt|he index|
|00002600| 20 69 73 20 70 75 74 20 | 69 6e 74 6f 20 61 6e 6f | is put |into ano|
|00002610| 74 68 65 72 20 66 69 6c | 65 20 6e 61 6d 65 2e 20 |ther fil|e name. |
|00002620| 49 74 20 73 68 6f 75 6c | 64 20 62 65 20 70 6f 73 |It shoul|d be pos|
|00002630| 73 69 62 6c 65 20 74 6f | 20 0a 58 6f 76 65 72 72 |sible to| .Xoverr|
|00002640| 69 64 65 20 74 68 65 73 | 65 20 70 61 72 61 6d 65 |ide thes|e parame|
|00002650| 74 65 72 73 20 76 69 61 | 20 6f 70 74 69 6f 6e 73 |ters via| options|
|00002660| 20 6f 72 20 61 20 63 6f | 6e 66 69 67 75 72 61 74 | or a co|nfigurat|
|00002670| 69 6f 6e 20 66 69 6c 65 | 2e 0a 58 54 68 65 20 63 |ion file|..XThe c|
|00002680| 75 72 72 65 6e 74 20 73 | 69 74 65 20 61 63 63 65 |urrent s|ite acce|
|00002690| 73 73 65 64 20 69 73 20 | 66 74 70 2e 6e 69 73 63 |ssed is |ftp.nisc|
|000026a0| 2e 73 72 69 2e 63 6f 6d | 20 61 6e 64 20 74 68 65 |.sri.com| and the|
|000026b0| 20 69 6e 64 65 78 20 66 | 69 6c 65 0a 58 73 65 61 | index f|ile.Xsea|
|000026c0| 72 63 68 65 64 20 66 6f | 72 20 69 73 20 72 66 63 |rched fo|r is rfc|
|000026d0| 2d 69 6e 64 65 78 2e 74 | 78 74 2e 0a 58 0a 58 53 |-index.t|xt..X.XS|
|000026e0| 69 6d 69 6c 61 72 6c 79 | 2c 20 74 68 65 20 73 63 |imilarly|, the sc|
|000026f0| 72 69 70 74 20 61 73 73 | 75 6d 65 73 20 61 20 66 |ript ass|umes a f|
|00002700| 69 6c 65 20 6e 61 6d 65 | 20 66 6f 72 6d 61 74 20 |ile name| format |
|00002710| 6f 66 20 72 66 63 78 78 | 78 78 2e 74 78 74 20 66 |of rfcxx|xx.txt f|
|00002720| 6f 72 0a 58 74 68 65 20 | 66 69 6c 65 73 20 74 6f |or.Xthe |files to|
|00002730| 20 62 65 20 72 65 74 72 | 69 65 76 65 64 2e 20 50 | be retr|ieved. P|
|00002740| 72 6f 62 6c 65 6d 73 20 | 77 69 6c 6c 20 61 72 69 |roblems |will ari|
|00002750| 73 65 20 69 66 20 74 68 | 69 73 20 65 76 65 72 20 |se if th|is ever |
|00002760| 63 68 61 6e 67 65 73 2e | 0a 58 0a 58 54 68 65 72 |changes.|.X.XTher|
|00002770| 65 20 73 68 6f 75 6c 64 | 20 62 65 20 61 6e 20 6f |e should| be an o|
|00002780| 70 74 69 6f 6e 20 74 6f | 20 73 65 61 72 63 68 20 |ption to| search |
|00002790| 66 6f 72 20 2e 70 73 20 | 66 69 6c 65 73 20 61 73 |for .ps |files as|
|000027a0| 20 77 65 6c 6c 20 61 73 | 20 2e 74 78 74 20 0a 58 | well as| .txt .X|
|000027b0| 66 69 6c 65 73 2e 0a 58 | 0a 45 4e 44 5f 4f 46 5f |files..X|.END_OF_|
|000027c0| 46 49 4c 45 0a 20 20 69 | 66 20 74 65 73 74 20 32 |FILE. i|f test 2|
|000027d0| 33 36 38 20 2d 6e 65 20 | 60 77 63 20 2d 63 20 3c |368 -ne |`wc -c <|
|000027e0| 27 72 66 63 67 65 74 2e | 31 27 60 3b 20 74 68 65 |'rfcget.|1'`; the|
|000027f0| 6e 0a 20 20 20 20 65 63 | 68 6f 20 73 68 61 72 3a |n. ec|ho shar:|
|00002800| 20 5c 22 27 72 66 63 67 | 65 74 2e 31 27 5c 22 20 | \"'rfcg|et.1'\" |
|00002810| 75 6e 70 61 63 6b 65 64 | 20 77 69 74 68 20 77 72 |unpacked| with wr|
|00002820| 6f 6e 67 20 73 69 7a 65 | 21 0a 20 20 66 69 0a 20 |ong size|!. fi. |
|00002830| 20 23 20 65 6e 64 20 6f | 66 20 27 72 66 63 67 65 | # end o|f 'rfcge|
|00002840| 74 2e 31 27 0a 66 69 0a | 65 63 68 6f 20 73 68 61 |t.1'.fi.|echo sha|
|00002850| 72 3a 20 45 6e 64 20 6f | 66 20 61 72 63 68 69 76 |r: End o|f archiv|
|00002860| 65 20 31 20 5c 28 6f 66 | 20 31 5c 29 2e 0a 63 70 |e 1 \(of| 1\)..cp|
|00002870| 20 2f 64 65 76 2f 6e 75 | 6c 6c 20 61 72 6b 31 69 | /dev/nu|ll ark1i|
|00002880| 73 64 6f 6e 65 0a 4d 49 | 53 53 49 4e 47 3d 22 22 |sdone.MI|SSING=""|
|00002890| 0a 66 6f 72 20 49 20 69 | 6e 20 31 20 3b 20 64 6f |.for I i|n 1 ; do|
|000028a0| 0a 20 20 20 20 69 66 20 | 74 65 73 74 20 21 20 2d |. if |test ! -|
|000028b0| 66 20 61 72 6b 24 7b 49 | 7d 69 73 64 6f 6e 65 20 |f ark${I|}isdone |
|000028c0| 3b 20 74 68 65 6e 0a 09 | 4d 49 53 53 49 4e 47 3d |; then..|MISSING=|
|000028d0| 22 24 7b 4d 49 53 53 49 | 4e 47 7d 20 24 7b 49 7d |"${MISSI|NG} ${I}|
|000028e0| 22 0a 20 20 20 20 66 69 | 0a 64 6f 6e 65 0a 69 66 |". fi|.done.if|
|000028f0| 20 74 65 73 74 20 22 24 | 7b 4d 49 53 53 49 4e 47 | test "$|{MISSING|
|00002900| 7d 22 20 3d 20 22 22 20 | 3b 20 74 68 65 6e 0a 20 |}" = "" |; then. |
|00002910| 20 20 20 65 63 68 6f 20 | 59 6f 75 20 68 61 76 65 | echo |You have|
|00002920| 20 74 68 65 20 61 72 63 | 68 69 76 65 2e 0a 20 20 | the arc|hive.. |
|00002930| 20 20 72 6d 20 2d 66 20 | 61 72 6b 5b 31 2d 39 5d | rm -f |ark[1-9]|
|00002940| 69 73 64 6f 6e 65 0a 65 | 6c 73 65 0a 20 20 20 20 |isdone.e|lse. |
|00002950| 65 63 68 6f 20 59 6f 75 | 20 73 74 69 6c 6c 20 6d |echo You| still m|
|00002960| 75 73 74 20 75 6e 70 61 | 63 6b 20 74 68 65 20 66 |ust unpa|ck the f|
|00002970| 6f 6c 6c 6f 77 69 6e 67 | 20 61 72 63 68 69 76 65 |ollowing| archive|
|00002980| 73 3a 0a 20 20 20 20 65 | 63 68 6f 20 22 20 20 20 |s:. e|cho " |
|00002990| 20 20 20 20 20 22 20 24 | 7b 4d 49 53 53 49 4e 47 | " $|{MISSING|
|000029a0| 7d 0a 66 69 0a 65 78 69 | 74 20 30 0a 65 78 69 74 |}.fi.exi|t 0.exit|
|000029b0| 20 30 20 23 20 4a 75 73 | 74 20 69 6e 20 63 61 73 | 0 # Jus|t in cas|
|000029c0| 65 2e 2e 2e 0a | |e.... | |
+--------+-------------------------+-------------------------+--------+--------+