home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: SHell self-extracting ARchive
(archive/shar).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| SHell self-extracting ARchive (archive/shar)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/329 Shell Archive Format
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 4e 65 77 73 67 72 6f 75 | 70 73 3a 20 63 6f 6d 70 |Newsgrou|ps: comp|
|00000010| 2e 73 6f 75 72 63 65 73 | 2e 6d 69 73 63 0a 73 75 |.sources|.misc.su|
|00000020| 62 6a 65 63 74 3a 20 76 | 31 32 69 30 39 39 3a 20 |bject: v|12i099: |
|00000030| 59 65 74 20 61 6e 6f 74 | 68 65 72 20 72 65 6c 65 |Yet anot|her rele|
|00000040| 61 73 65 20 6f 66 20 75 | 6e 70 61 63 6b 6d 61 70 |ase of u|npackmap|
|00000050| 73 2e 0a 66 72 6f 6d 3a | 20 63 6c 65 77 69 73 40 |s..from:| clewis@|
|00000060| 65 63 69 33 38 36 20 28 | 43 68 72 69 73 20 4c 65 |eci386 (|Chris Le|
|00000070| 77 69 73 29 0a 53 65 6e | 64 65 72 3a 20 61 6c 6c |wis).Sen|der: all|
|00000080| 62 65 72 79 40 75 75 6e | 65 74 2e 55 55 2e 4e 45 |bery@uun|et.UU.NE|
|00000090| 54 20 28 42 72 61 6e 64 | 6f 6e 20 53 2e 20 41 6c |T (Brand|on S. Al|
|000000a0| 6c 62 65 72 79 20 2d 20 | 63 6f 6d 70 2e 73 6f 75 |lbery - |comp.sou|
|000000b0| 72 63 65 73 2e 6d 69 73 | 63 29 0a 0a 50 6f 73 74 |rces.mis|c)..Post|
|000000c0| 69 6e 67 2d 6e 75 6d 62 | 65 72 3a 20 56 6f 6c 75 |ing-numb|er: Volu|
|000000d0| 6d 65 20 31 32 2c 20 49 | 73 73 75 65 20 39 39 0a |me 12, I|ssue 99.|
|000000e0| 53 75 62 6d 69 74 74 65 | 64 2d 62 79 3a 20 63 6c |Submitte|d-by: cl|
|000000f0| 65 77 69 73 40 65 63 69 | 33 38 36 20 28 43 68 72 |ewis@eci|386 (Chr|
|00000100| 69 73 20 4c 65 77 69 73 | 29 0a 41 72 63 68 69 76 |is Lewis|).Archiv|
|00000110| 65 2d 6e 61 6d 65 3a 20 | 75 6e 70 61 63 6b 6d 61 |e-name: |unpackma|
|00000120| 70 73 33 2e 30 2f 70 61 | 72 74 30 31 0a 0a 48 65 |ps3.0/pa|rt01..He|
|00000130| 72 65 20 69 73 20 61 20 | 73 68 61 72 20 63 6f 6e |re is a |shar con|
|00000140| 74 61 69 6e 69 6e 67 20 | 74 68 65 20 6c 61 74 65 |taining |the late|
|00000150| 73 74 20 76 65 72 73 69 | 6f 6e 20 6f 66 20 6d 79 |st versi|on of my|
|00000160| 20 75 6e 70 61 63 6b 6d | 61 70 73 0a 73 63 72 69 | unpackm|aps.scri|
|00000170| 70 74 20 28 22 73 65 63 | 75 72 65 20 6d 61 70 20 |pt ("sec|ure map |
|00000180| 75 6e 70 61 63 6b 65 72 | 22 29 2e 20 20 54 68 69 |unpacker|"). Thi|
|00000190| 73 20 69 73 20 61 73 20 | 66 61 72 20 61 73 20 49 |s is as |far as I|
|000001a0| 27 6d 20 6c 69 6b 65 6c | 79 20 74 6f 20 74 61 6b |'m likel|y to tak|
|000001b0| 65 20 69 74 2e 0a 0a 23 | 21 20 2f 62 69 6e 2f 73 |e it...#|! /bin/s|
|000001c0| 68 0a 23 20 54 68 69 73 | 20 69 73 20 61 20 73 68 |h.# This| is a sh|
|000001d0| 65 6c 6c 20 61 72 63 68 | 69 76 65 2e 20 20 52 65 |ell arch|ive. Re|
|000001e0| 6d 6f 76 65 20 61 6e 79 | 74 68 69 6e 67 20 62 65 |move any|thing be|
|000001f0| 66 6f 72 65 20 74 68 69 | 73 20 6c 69 6e 65 2c 20 |fore thi|s line, |
|00000200| 74 68 65 6e 20 66 65 65 | 64 20 69 74 0a 23 20 69 |then fee|d it.# i|
|00000210| 6e 74 6f 20 61 20 73 68 | 65 6c 6c 20 76 69 61 20 |nto a sh|ell via |
|00000220| 22 73 68 20 66 69 6c 65 | 22 20 6f 72 20 73 69 6d |"sh file|" or sim|
|00000230| 69 6c 61 72 2e 20 20 54 | 6f 20 6f 76 65 72 77 72 |ilar. T|o overwr|
|00000240| 69 74 65 20 65 78 69 73 | 74 69 6e 67 20 66 69 6c |ite exis|ting fil|
|00000250| 65 73 2c 0a 23 20 74 79 | 70 65 20 22 73 68 20 66 |es,.# ty|pe "sh f|
|00000260| 69 6c 65 20 2d 63 22 2e | 0a 23 20 54 68 65 20 74 |ile -c".|.# The t|
|00000270| 6f 6f 6c 20 74 68 61 74 | 20 67 65 6e 65 72 61 74 |ool that| generat|
|00000280| 65 64 20 74 68 69 73 20 | 61 70 70 65 61 72 65 64 |ed this |appeared|
|00000290| 20 69 6e 20 74 68 65 20 | 63 6f 6d 70 2e 73 6f 75 | in the |comp.sou|
|000002a0| 72 63 65 73 2e 75 6e 69 | 78 20 6e 65 77 73 67 72 |rces.uni|x newsgr|
|000002b0| 6f 75 70 3b 0a 23 20 73 | 65 6e 64 20 6d 61 69 6c |oup;.# s|end mail|
|000002c0| 20 74 6f 20 63 6f 6d 70 | 2d 73 6f 75 72 63 65 73 | to comp|-sources|
|000002d0| 2d 75 6e 69 78 40 75 75 | 6e 65 74 2e 75 75 2e 6e |-unix@uu|net.uu.n|
|000002e0| 65 74 20 69 66 20 79 6f | 75 20 77 61 6e 74 20 74 |et if yo|u want t|
|000002f0| 68 61 74 20 74 6f 6f 6c | 2e 0a 23 20 49 66 20 74 |hat tool|..# If t|
|00000300| 68 69 73 20 61 72 63 68 | 69 76 65 20 69 73 20 63 |his arch|ive is c|
|00000310| 6f 6d 70 6c 65 74 65 2c | 20 79 6f 75 20 77 69 6c |omplete,| you wil|
|00000320| 6c 20 73 65 65 20 74 68 | 65 20 66 6f 6c 6c 6f 77 |l see th|e follow|
|00000330| 69 6e 67 20 6d 65 73 73 | 61 67 65 20 61 74 20 74 |ing mess|age at t|
|00000340| 68 65 20 65 6e 64 3a 0a | 23 09 09 22 45 6e 64 20 |he end:.|#.."End |
|00000350| 6f 66 20 61 72 63 68 69 | 76 65 20 31 20 28 6f 66 |of archi|ve 1 (of|
|00000360| 20 31 29 2e 22 0a 23 20 | 43 6f 6e 74 65 6e 74 73 | 1).".# |Contents|
|00000370| 3a 20 20 52 45 41 44 4d | 45 20 75 6e 70 61 63 6b |: READM|E unpack|
|00000380| 6d 61 70 73 20 75 75 77 | 68 65 72 65 0a 23 20 57 |maps uuw|here.# W|
|00000390| 72 61 70 70 65 64 20 62 | 79 20 63 6c 65 77 69 73 |rapped b|y clewis|
|000003a0| 40 65 63 69 33 38 36 20 | 6f 6e 20 4d 6f 6e 20 4d |@eci386 |on Mon M|
|000003b0| 61 79 20 31 34 20 31 33 | 3a 33 35 3a 35 33 20 31 |ay 14 13|:35:53 1|
|000003c0| 39 39 30 0a 50 41 54 48 | 3d 2f 62 69 6e 3a 2f 75 |990.PATH|=/bin:/u|
|000003d0| 73 72 2f 62 69 6e 3a 2f | 75 73 72 2f 75 63 62 20 |sr/bin:/|usr/ucb |
|000003e0| 3b 20 65 78 70 6f 72 74 | 20 50 41 54 48 0a 69 66 |; export| PATH.if|
|000003f0| 20 74 65 73 74 20 2d 66 | 20 27 52 45 41 44 4d 45 | test -f| 'README|
|00000400| 27 20 2d 61 20 22 24 7b | 31 7d 22 20 21 3d 20 22 |' -a "${|1}" != "|
|00000410| 2d 63 22 20 3b 20 74 68 | 65 6e 20 0a 20 20 65 63 |-c" ; th|en . ec|
|00000420| 68 6f 20 73 68 61 72 3a | 20 57 69 6c 6c 20 6e 6f |ho shar:| Will no|
|00000430| 74 20 63 6c 6f 62 62 65 | 72 20 65 78 69 73 74 69 |t clobbe|r existi|
|00000440| 6e 67 20 66 69 6c 65 20 | 5c 22 27 52 45 41 44 4d |ng file |\"'READM|
|00000450| 45 27 5c 22 0a 65 6c 73 | 65 0a 65 63 68 6f 20 73 |E'\".els|e.echo s|
|00000460| 68 61 72 3a 20 45 78 74 | 72 61 63 74 69 6e 67 20 |har: Ext|racting |
|00000470| 5c 22 27 52 45 41 44 4d | 45 27 5c 22 20 5c 28 37 |\"'READM|E'\" \(7|
|00000480| 34 37 35 20 63 68 61 72 | 61 63 74 65 72 73 5c 29 |475 char|acters\)|
|00000490| 0a 73 65 64 20 22 73 2f | 5e 58 2f 2f 22 20 3e 27 |.sed "s/|^X//" >'|
|000004a0| 52 45 41 44 4d 45 27 20 | 3c 3c 27 45 4e 44 5f 4f |README' |<<'END_O|
|000004b0| 46 5f 46 49 4c 45 27 0a | 58 09 09 09 55 4e 50 41 |F_FILE'.|X...UNPA|
|000004c0| 43 4b 4d 41 50 53 20 56 | 33 2e 30 0a 58 09 09 09 |CKMAPS V|3.0.X...|
|000004d0| 20 20 4d 61 79 20 31 34 | 20 31 39 39 30 0a 58 09 | May 14| 1990.X.|
|000004e0| 09 09 20 20 43 68 72 69 | 73 20 4c 65 77 69 73 0a |.. Chri|s Lewis.|
|000004f0| 58 0a 58 20 20 20 20 54 | 68 69 73 20 52 45 41 44 |X.X T|his READ|
|00000500| 4d 45 2c 20 75 6e 70 61 | 63 6b 6d 61 70 73 20 61 |ME, unpa|ckmaps a|
|00000510| 6e 64 20 75 75 77 68 65 | 72 65 20 61 72 65 20 43 |nd uuwhe|re are C|
|00000520| 6f 70 79 72 69 67 68 74 | 20 31 39 39 30 20 43 68 |opyright| 1990 Ch|
|00000530| 72 69 73 20 4c 65 77 69 | 73 2c 0a 58 20 20 20 20 |ris Lewi|s,.X |
|00000540| 41 6c 6c 20 52 69 67 68 | 74 73 20 52 65 73 65 72 |All Righ|ts Reser|
|00000550| 76 65 64 2e 0a 58 0a 58 | 20 20 20 20 59 6f 75 20 |ved..X.X| You |
|00000560| 63 61 6e 20 64 6f 20 61 | 6e 79 74 68 69 6e 67 20 |can do a|nything |
|00000570| 79 6f 75 20 77 61 6e 74 | 20 77 69 74 68 20 69 74 |you want| with it|
|00000580| 2c 20 70 72 6f 76 69 64 | 65 64 20 74 68 61 74 20 |, provid|ed that |
|00000590| 74 68 69 73 20 63 6f 70 | 79 72 69 67 68 74 0a 58 |this cop|yright.X|
|000005a0| 20 20 20 20 6e 6f 74 69 | 63 65 20 72 65 6d 61 69 | noti|ce remai|
|000005b0| 6e 73 20 69 6e 74 61 63 | 74 2c 20 79 6f 75 20 64 |ns intac|t, you d|
|000005c0| 6f 6e 27 74 20 63 6c 61 | 69 6d 20 79 6f 75 20 77 |on't cla|im you w|
|000005d0| 72 6f 74 65 20 69 74 20 | 79 6f 75 72 73 65 6c 66 |rote it |yourself|
|000005e0| 2c 20 61 6e 64 20 79 6f | 75 20 0a 58 20 20 20 20 |, and yo|u .X |
|000005f0| 64 6f 6e 27 74 20 6d 61 | 6b 65 20 6d 6f 6e 65 79 |don't ma|ke money|
|00000600| 20 73 65 6c 6c 69 6e 67 | 20 69 74 20 64 69 72 65 | selling| it dire|
|00000610| 63 74 6c 79 2e 20 20 59 | 6f 75 20 6d 61 79 20 72 |ctly. Y|ou may r|
|00000620| 65 64 69 73 74 72 69 62 | 75 74 65 20 74 68 69 73 |edistrib|ute this|
|00000630| 20 61 73 0a 58 20 20 20 | 20 79 6f 75 20 77 69 73 | as.X | you wis|
|00000640| 68 2c 20 62 75 74 20 69 | 66 20 79 6f 75 20 6d 6f |h, but i|f you mo|
|00000650| 64 69 66 79 20 69 74 2c | 20 79 6f 75 20 73 68 6f |dify it,| you sho|
|00000660| 75 6c 64 20 63 6c 65 61 | 72 6c 79 20 69 6e 64 69 |uld clea|rly indi|
|00000670| 63 61 74 65 20 69 6e 20 | 74 68 69 73 0a 58 20 20 |cate in |this.X |
|00000680| 20 20 52 45 41 44 4d 45 | 20 66 69 6c 65 20 74 68 | README| file th|
|00000690| 61 74 20 69 74 20 68 61 | 73 20 62 65 65 6e 20 6d |at it ha|s been m|
|000006a0| 6f 64 69 66 69 65 64 2c | 20 62 79 20 77 68 6f 6d |odified,| by whom|
|000006b0| 2c 20 61 6e 64 20 64 65 | 73 63 72 69 62 65 20 77 |, and de|scribe w|
|000006c0| 68 61 74 0a 58 20 20 20 | 20 68 61 73 20 62 65 65 |hat.X | has bee|
|000006d0| 6e 20 63 68 61 6e 67 65 | 64 2e 20 20 52 65 61 73 |n change|d. Reas|
|000006e0| 6f 6e 61 62 6c 65 20 63 | 6f 70 79 69 6e 67 20 63 |onable c|opying c|
|000006f0| 68 61 72 67 65 73 20 61 | 72 65 20 6f 6b 61 79 2e |harges a|re okay.|
|00000700| 0a 58 0a 58 20 20 20 20 | 54 68 6f 75 67 68 20 49 |.X.X |Though I|
|00000710| 20 68 61 76 65 20 74 61 | 6b 65 6e 20 70 61 69 6e | have ta|ken pain|
|00000720| 73 20 74 6f 20 65 6e 73 | 75 72 65 20 74 68 61 74 |s to ens|ure that|
|00000730| 20 74 68 69 73 20 70 72 | 6f 67 72 61 6d 20 69 73 | this pr|ogram is|
|00000740| 20 72 65 61 73 6f 6e 61 | 62 6c 79 20 0a 58 20 20 | reasona|bly .X |
|00000750| 20 20 72 65 6c 69 61 62 | 6c 65 20 61 6e 64 20 73 | reliab|le and s|
|00000760| 65 63 75 72 65 2c 20 49 | 20 63 61 6e 6e 6f 74 20 |ecure, I| cannot |
|00000770| 6d 61 6b 65 20 61 6e 79 | 20 77 61 72 72 61 6e 74 |make any| warrant|
|00000780| 65 65 20 61 73 20 74 6f | 20 74 68 65 20 72 65 6c |ee as to| the rel|
|00000790| 69 61 62 69 6c 69 74 79 | 20 0a 58 20 20 20 20 6f |iability| .X o|
|000007a0| 72 20 73 65 63 75 72 69 | 74 79 20 6f 66 20 74 68 |r securi|ty of th|
|000007b0| 69 73 20 73 6f 66 74 77 | 61 72 65 20 77 68 65 6e |is softw|are when|
|000007c0| 20 75 73 65 64 20 6f 6e | 20 61 6e 79 20 63 6f 6d | used on| any com|
|000007d0| 70 75 74 65 72 2e 20 20 | 49 74 20 69 73 20 75 70 |puter. |It is up|
|000007e0| 20 74 6f 0a 58 20 20 20 | 20 74 68 65 20 75 73 65 | to.X | the use|
|000007f0| 72 20 6f 66 20 74 68 69 | 73 20 73 6f 66 74 77 61 |r of thi|s softwa|
|00000800| 72 65 20 74 6f 20 64 65 | 74 65 72 6d 69 6e 65 20 |re to de|termine |
|00000810| 69 74 73 20 73 75 69 74 | 61 62 69 6c 69 74 79 20 |its suit|ability |
|00000820| 66 6f 72 20 74 68 65 69 | 72 0a 58 20 20 20 20 70 |for thei|r.X p|
|00000830| 75 72 70 6f 73 65 73 20 | 61 6e 64 20 74 61 6b 65 |urposes |and take|
|00000840| 20 72 65 73 70 6f 6e 73 | 69 62 69 6c 69 74 79 20 | respons|ibility |
|00000850| 66 6f 72 20 69 74 73 20 | 6f 70 65 72 61 74 69 6f |for its |operatio|
|00000860| 6e 2e 0a 58 0a 58 54 68 | 69 73 20 69 73 20 73 6f |n..X.XTh|is is so|
|00000870| 75 72 63 65 20 66 6f 72 | 20 61 20 73 69 6d 70 6c |urce for| a simpl|
|00000880| 65 2c 20 2a 73 65 63 75 | 72 65 2a 2c 20 6d 61 70 |e, *secu|re*, map|
|00000890| 20 75 6e 70 61 63 6b 69 | 6e 67 20 66 61 63 69 6c | unpacki|ng facil|
|000008a0| 69 74 79 2e 0a 58 0a 58 | 49 74 20 69 73 20 6d 75 |ity..X.X|It is mu|
|000008b0| 63 68 20 73 69 6d 70 6c | 65 72 20 74 68 61 6e 20 |ch simpl|er than |
|000008c0| 75 75 68 6f 73 74 73 2c | 20 68 61 73 20 72 6f 75 |uuhosts,| has rou|
|000008d0| 67 68 6c 79 20 74 68 65 | 20 73 61 6d 65 20 66 75 |ghly the| same fu|
|000008e0| 6e 63 74 69 6f 6e 61 6c | 69 74 79 2c 0a 58 69 73 |nctional|ity,.Xis|
|000008f0| 20 65 61 73 69 65 72 20 | 74 6f 20 69 6e 73 74 61 | easier |to insta|
|00000900| 6c 6c 2c 20 70 72 6f 62 | 61 62 6c 79 20 66 61 73 |ll, prob|ably fas|
|00000910| 74 65 72 20 61 6e 64 20 | 6d 6f 72 65 20 65 66 66 |ter and |more eff|
|00000920| 69 63 69 65 6e 74 20 28 | 61 74 20 6c 65 61 73 74 |icient (|at least|
|00000930| 0a 58 74 68 65 20 76 65 | 72 73 69 6f 6e 73 20 49 |.Xthe ve|rsions I|
|00000940| 27 76 65 20 73 65 65 6e | 20 77 2e 72 2e 74 2e 20 |'ve seen| w.r.t. |
|00000950| 63 6f 6d 70 72 65 73 73 | 69 6f 6e 29 2c 20 61 6e |compress|ion), an|
|00000960| 64 20 69 73 20 63 6f 6e | 73 69 64 65 72 61 62 6c |d is con|siderabl|
|00000970| 79 20 6c 65 73 73 20 0a | 58 76 75 6c 6e 65 72 61 |y less .|Xvulnera|
|00000980| 62 6c 65 20 74 6f 20 74 | 72 6f 6a 61 6e 20 6d 61 |ble to t|rojan ma|
|00000990| 70 73 20 74 68 61 6e 20 | 6d 6f 73 74 20 6d 61 70 |ps than |most map|
|000009a0| 20 75 6e 70 61 63 6b 65 | 72 73 20 74 68 61 74 20 | unpacke|rs that |
|000009b0| 6f 74 68 65 72 20 70 65 | 6f 70 6c 65 20 75 73 65 |other pe|ople use|
|000009c0| 2e 0a 58 28 49 74 20 68 | 61 73 20 66 65 77 65 72 |..X(It h|as fewer|
|000009d0| 20 76 75 6c 6e 65 72 61 | 62 69 6c 69 74 69 65 73 | vulnera|bilities|
|000009e0| 20 74 68 61 6e 20 75 75 | 68 6f 73 74 73 29 0a 58 | than uu|hosts).X|
|000009f0| 0a 58 54 68 65 20 69 6e | 74 65 6e 74 20 69 73 20 |.XThe in|tent is |
|00000a00| 74 68 61 74 20 61 6e 79 | 20 55 4e 49 58 2f 58 45 |that any| UNIX/XE|
|00000a10| 4e 49 58 2f 42 53 44 20 | 73 79 73 74 65 6d 20 74 |NIX/BSD |system t|
|00000a20| 68 61 74 20 63 61 6e 20 | 72 75 6e 20 6e 65 77 73 |hat can |run news|
|00000a30| 20 77 69 6c 6c 0a 58 62 | 65 20 61 62 6c 65 20 74 | will.Xb|e able t|
|00000a40| 6f 20 72 75 6e 20 74 68 | 69 73 20 74 6f 6f 2c 20 |o run th|is too, |
|00000a50| 73 6f 20 49 27 6d 20 61 | 74 74 65 6d 70 74 69 6e |so I'm a|ttemptin|
|00000a60| 67 20 74 6f 20 6b 65 65 | 70 20 74 6f 20 67 72 65 |g to kee|p to gre|
|00000a70| 61 74 65 73 74 2d 63 6f | 6d 6d 6f 6e 2d 0a 58 64 |atest-co|mmon-.Xd|
|00000a80| 65 6e 6f 6d 69 6e 61 74 | 6f 72 20 65 78 63 65 70 |enominat|or excep|
|00000a90| 74 20 66 6f 72 20 70 61 | 74 68 61 6c 69 61 73 20 |t for pa|thalias |
|00000aa0| 61 6e 64 20 74 68 69 6e | 67 73 20 74 68 61 74 20 |and thin|gs that |
|00000ab0| 49 20 69 6d 70 6c 65 6d | 65 6e 74 20 6d 79 73 65 |I implem|ent myse|
|00000ac0| 6c 66 2e 0a 58 0a 58 54 | 68 69 73 20 72 65 6c 65 |lf..X.XT|his rele|
|00000ad0| 61 73 65 20 69 6e 63 6c | 75 64 65 73 3a 0a 58 0a |ase incl|udes:.X.|
|00000ae0| 58 09 2d 20 6d 61 70 20 | 75 6e 70 61 63 6b 69 6e |X.- map |unpackin|
|00000af0| 67 0a 58 09 2d 20 70 61 | 74 68 61 6c 69 61 73 20 |g.X.- pa|thalias |
|00000b00| 6f 70 65 72 61 74 69 6f | 6e 20 70 6c 75 73 20 68 |operatio|n plus h|
|00000b10| 6f 6f 6b 73 20 66 6f 72 | 20 70 61 74 68 20 63 75 |ooks for| path cu|
|00000b20| 73 74 6f 6d 69 7a 61 74 | 69 6f 6e 2e 0a 58 09 2d |stomizat|ion..X.-|
|00000b30| 20 61 20 6d 65 63 68 61 | 6e 69 73 6d 20 66 6f 72 | a mecha|nism for|
|00000b40| 20 76 69 65 77 69 6e 67 | 20 6d 61 70 20 65 6e 74 | viewing| map ent|
|00000b50| 72 69 65 73 20 66 6f 72 | 20 61 72 62 69 74 72 61 |ries for| arbitra|
|00000b60| 72 79 20 73 69 74 65 73 | 2e 0a 58 09 20 20 28 22 |ry sites|..X. ("|
|00000b70| 75 75 77 68 65 72 65 22 | 29 0a 58 09 2d 20 61 75 |uuwhere"|).X.- au|
|00000b80| 74 6f 6d 61 74 69 63 20 | 6d 61 70 20 61 72 74 69 |tomatic |map arti|
|00000b90| 63 6c 65 20 64 65 6c 65 | 74 69 6f 6e 20 69 66 20 |cle dele|tion if |
|00000ba0| 64 65 73 69 72 65 64 2e | 0a 58 0a 58 54 68 69 73 |desired.|.X.XThis|
|00000bb0| 20 68 61 64 20 62 65 65 | 6e 20 70 6f 73 74 65 64 | had bee|n posted|
|00000bc0| 20 74 6f 20 63 6f 6d 70 | 2e 73 6f 75 72 63 65 73 | to comp|.sources|
|00000bd0| 2e 6d 69 73 63 20 61 62 | 6f 75 74 20 61 20 79 65 |.misc ab|out a ye|
|00000be0| 61 72 20 61 67 6f 2e 20 | 20 54 68 65 0a 58 70 72 |ar ago. | The.Xpr|
|00000bf0| 69 6d 65 20 64 69 66 66 | 65 72 65 6e 63 65 73 20 |ime diff|erences |
|00000c00| 68 65 72 65 20 61 72 65 | 20 74 68 61 74 20 63 6f |here are| that co|
|00000c10| 6d 70 72 65 73 73 20 69 | 73 20 72 75 6e 20 61 73 |mpress i|s run as|
|00000c20| 20 61 20 70 69 70 65 6c | 69 6e 65 20 61 73 20 73 | a pipel|ine as s|
|00000c30| 74 64 69 6e 20 74 6f 0a | 58 70 61 74 68 61 6c 69 |tdin to.|Xpathali|
|00000c40| 61 73 2c 20 73 6f 20 79 | 6f 75 20 64 6f 6e 27 74 |as, so y|ou don't|
|00000c50| 20 6e 65 65 64 20 74 6f | 20 6d 6f 64 69 66 79 20 | need to| modify |
|00000c60| 70 61 74 68 61 6c 69 61 | 73 20 61 6e 79 6d 6f 72 |pathalia|s anymor|
|00000c70| 65 2c 20 61 6e 64 20 74 | 68 65 0a 58 6e 65 77 20 |e, and t|he.Xnew |
|00000c80| 22 75 75 77 68 65 72 65 | 22 20 74 6f 6f 6c 2e 20 |"uuwhere|" tool. |
|00000c90| 20 54 68 65 72 65 20 69 | 73 20 73 74 69 6c 6c 20 | There i|s still |
|00000ca0| 6e 6f 20 6d 61 6b 65 66 | 69 6c 65 20 62 65 63 61 |no makef|ile beca|
|00000cb0| 75 73 65 20 69 74 20 77 | 6f 75 6c 64 6e 27 74 0a |use it w|ouldn't.|
|00000cc0| 58 64 6f 20 61 6e 79 74 | 68 69 6e 67 20 75 73 65 |Xdo anyt|hing use|
|00000cd0| 66 75 6c 2e 0a 58 0a 58 | 52 65 67 61 72 64 69 6e |ful..X.X|Regardin|
|00000ce0| 67 20 73 65 63 75 72 69 | 74 79 3a 20 61 73 20 6d |g securi|ty: as m|
|00000cf0| 61 6e 79 20 6d 61 79 20 | 72 65 6d 65 6d 62 65 72 |any may |remember|
|00000d00| 2c 20 74 68 65 72 65 27 | 73 20 62 65 65 6e 20 61 |, there'|s been a|
|00000d10| 20 66 61 69 72 20 62 69 | 74 20 6f 66 0a 58 64 69 | fair bi|t of.Xdi|
|00000d20| 73 63 75 73 73 69 6f 6e | 20 6f 6e 20 73 65 63 75 |scussion| on secu|
|00000d30| 72 69 74 79 20 6f 66 20 | 6d 61 70 20 75 6e 70 61 |rity of |map unpa|
|00000d40| 63 6b 69 6e 67 20 6f 6e | 20 74 68 65 20 6e 65 74 |cking on| the net|
|00000d50| 2e 20 20 52 61 74 68 65 | 72 20 74 68 61 6e 20 70 |. Rathe|r than p|
|00000d60| 6c 61 79 0a 58 61 72 6f | 75 6e 64 20 77 69 74 68 |lay.Xaro|und with|
|00000d70| 20 74 72 79 69 6e 67 20 | 74 6f 20 6d 61 6b 65 20 | trying |to make |
|00000d80| 61 20 73 65 63 75 72 65 | 20 2a 74 72 75 65 2a 20 |a secure| *true* |
|00000d90| 75 6e 73 68 61 72 2c 20 | 77 68 69 63 68 20 70 72 |unshar, |which pr|
|00000da0| 6f 62 61 62 6c 79 20 6e | 6f 6f 6e 65 20 77 6f 75 |obably n|oone wou|
|00000db0| 6c 64 0a 58 74 72 75 73 | 74 20 62 65 63 61 75 73 |ld.Xtrus|t becaus|
|00000dc0| 65 20 69 74 20 77 6f 75 | 6c 64 20 62 65 20 73 6f |e it wou|ld be so|
|00000dd0| 20 62 69 67 2c 20 49 20 | 73 69 6d 70 6c 79 20 6d | big, I |simply m|
|00000de0| 61 64 65 20 61 20 66 65 | 77 20 73 69 6d 70 6c 69 |ade a fe|w simpli|
|00000df0| 66 79 69 6e 67 20 61 73 | 73 75 6d 70 74 69 6f 6e |fying as|sumption|
|00000e00| 73 0a 58 61 62 6f 75 74 | 20 74 68 65 20 6d 61 70 |s.Xabout| the map|
|00000e10| 20 66 6f 72 6d 61 74 20 | 61 6e 64 20 75 73 65 20 | format |and use |
|00000e20| 61 6e 20 61 77 6b 20 73 | 63 72 69 70 74 20 74 6f |an awk s|cript to|
|00000e30| 20 75 6e 70 61 63 6b 20 | 61 20 6d 61 70 20 61 72 | unpack |a map ar|
|00000e40| 74 69 63 6c 65 20 69 6e | 74 6f 0a 58 61 20 6d 61 |ticle in|to.Xa ma|
|00000e50| 70 20 66 69 6c 65 2e 20 | 20 49 74 20 63 68 65 63 |p file. | It chec|
|00000e60| 6b 73 20 66 6f 72 20 61 | 6e 64 20 72 65 66 75 73 |ks for a|nd refus|
|00000e70| 65 73 20 74 6f 20 75 6e | 70 61 63 6b 20 61 72 74 |es to un|pack art|
|00000e80| 69 63 6c 65 73 20 77 68 | 69 63 68 20 68 61 76 65 |icles wh|ich have|
|00000e90| 0a 58 73 6c 61 73 68 65 | 73 20 69 6e 20 74 68 65 |.Xslashe|s in the|
|00000ea0| 69 72 20 6e 61 6d 65 73 | 2e 20 20 49 20 73 65 6e |ir names|. I sen|
|00000eb0| 74 20 6f 66 66 20 73 6f | 6d 65 20 6d 61 69 6c 20 |t off so|me mail |
|00000ec0| 74 6f 20 4d 65 6c 20 61 | 73 6b 69 6e 67 20 77 68 |to Mel a|sking wh|
|00000ed0| 65 74 68 65 72 20 74 68 | 65 0a 58 61 73 73 75 6d |ether th|e.Xassum|
|00000ee0| 70 74 69 6f 6e 73 20 49 | 27 76 65 20 6d 61 64 65 |ptions I|'ve made|
|00000ef0| 20 61 62 6f 75 74 20 6d | 61 70 20 66 6f 72 6d 61 | about m|ap forma|
|00000f00| 74 20 61 72 65 20 74 72 | 75 65 2c 20 62 75 74 20 |t are tr|ue, but |
|00000f10| 6e 65 76 65 72 20 67 6f | 74 20 61 6e 79 0a 58 72 |never go|t any.Xr|
|00000f20| 65 73 70 6f 6e 73 65 2e | 20 20 49 20 62 65 6c 69 |esponse.| I beli|
|00000f30| 65 76 65 20 74 68 61 74 | 20 74 68 69 73 20 69 73 |eve that| this is|
|00000f40| 20 2a 70 72 65 74 74 79 | 2a 20 73 65 63 75 72 65 | *pretty|* secure|
|00000f50| 2c 20 69 6e 20 74 68 61 | 74 20 69 74 20 64 6f 65 |, in tha|t it doe|
|00000f60| 73 6e 27 74 0a 58 68 61 | 76 65 20 74 6f 20 62 65 |sn't.Xha|ve to be|
|00000f70| 20 72 75 6e 20 61 73 20 | 72 6f 6f 74 2c 20 64 6f | run as |root, do|
|00000f80| 65 73 6e 27 74 20 75 73 | 65 20 74 68 65 20 42 6f |esn't us|e the Bo|
|00000f90| 75 72 6e 65 20 73 68 65 | 6c 6c 20 66 6f 72 20 75 |urne she|ll for u|
|00000fa0| 6e 70 61 63 6b 69 6e 67 | 2c 20 61 6e 64 20 0a 58 |npacking|, and .X|
|00000fb0| 69 73 20 63 61 72 65 66 | 75 6c 20 61 62 6f 75 74 |is caref|ul about|
|00000fc0| 20 74 68 65 20 66 69 6c | 65 20 6e 61 6d 65 73 20 | the fil|e names |
|00000fd0| 69 74 20 63 72 65 61 74 | 65 73 2e 20 20 50 6c 65 |it creat|es. Ple|
|00000fe0| 61 73 65 20 6c 65 74 20 | 6d 65 20 6b 6e 6f 77 20 |ase let |me know |
|00000ff0| 69 66 20 74 68 65 72 65 | 20 0a 58 61 72 65 20 61 |if there| .Xare a|
|00001000| 6e 79 20 68 6f 6c 65 73 | 20 49 20 64 69 64 6e 27 |ny holes| I didn'|
|00001010| 74 20 74 68 69 6e 6b 20 | 6f 66 2e 0a 58 0a 58 47 |t think |of..X.XG|
|00001020| 65 6e 65 72 61 6c 20 6f | 70 65 72 61 74 69 6f 6e |eneral o|peration|
|00001030| 3a 0a 58 09 2d 20 79 6f | 75 72 20 6e 65 77 73 20 |:.X.- yo|ur news |
|00001040| 69 73 20 6d 6f 64 69 66 | 69 65 64 20 74 6f 20 62 |is modif|ied to b|
|00001050| 61 74 63 68 20 69 6e 63 | 6f 6d 69 6e 67 20 6d 61 |atch inc|oming ma|
|00001060| 70 20 61 72 74 69 63 6c | 65 20 66 69 6c 65 20 6e |p articl|e file n|
|00001070| 61 6d 65 73 0a 58 09 20 | 20 74 6f 20 61 20 73 70 |ames.X. | to a sp|
|00001080| 65 63 69 66 69 63 20 62 | 61 74 63 68 20 66 69 6c |ecific b|atch fil|
|00001090| 65 20 28 61 6e 61 6c 6f | 67 6f 75 73 20 74 6f 20 |e (analo|gous to |
|000010a0| 6e 6f 72 6d 61 6c 20 6e | 65 77 73 20 62 61 74 63 |normal n|ews batc|
|000010b0| 68 69 6e 67 29 2e 20 20 | 0a 58 09 20 20 43 2d 6e |hing). |.X. C-n|
|000010c0| 65 77 73 20 75 73 65 72 | 73 20 74 61 6b 65 20 6e |ews user|s take n|
|000010d0| 6f 74 65 3a 20 79 6f 75 | 20 6d 61 79 20 68 61 76 |ote: you| may hav|
|000010e0| 65 20 74 6f 20 75 74 74 | 65 72 20 6d 61 67 69 63 |e to utt|er magic|
|000010f0| 20 69 6e 63 61 6e 74 61 | 74 69 6f 6e 73 20 0a 58 | incanta|tions .X|
|00001100| 09 20 20 28 68 69 6e 74 | 20 22 63 6c 61 73 73 65 |. (hint| "classe|
|00001110| 73 22 20 69 6e 20 43 2d | 6e 65 77 73 20 41 6c 70 |s" in C-|news Alp|
|00001120| 68 61 29 20 74 6f 20 67 | 65 74 20 73 65 6e 64 62 |ha) to g|et sendb|
|00001130| 61 74 63 68 65 73 20 74 | 6f 20 61 76 6f 69 64 20 |atches t|o avoid |
|00001140| 0a 58 09 20 20 74 72 79 | 69 6e 67 20 74 6f 20 75 |.X. try|ing to u|
|00001150| 75 78 20 74 68 65 73 65 | 2e 2e 2e 20 20 41 6e 6f |ux these|... Ano|
|00001160| 74 68 65 72 20 77 61 79 | 20 69 73 20 74 6f 20 75 |ther way| is to u|
|00001170| 73 65 20 61 6e 20 65 78 | 70 6c 69 63 69 74 20 62 |se an ex|plicit b|
|00001180| 61 74 63 68 20 0a 58 09 | 20 20 66 69 6c 65 20 6e |atch .X.| file n|
|00001190| 61 6d 65 20 69 6e 20 74 | 68 65 20 73 79 73 20 66 |ame in t|he sys f|
|000011a0| 69 6c 65 20 74 68 61 74 | 20 69 73 6e 27 74 20 75 |ile that| isn't u|
|000011b0| 6e 64 65 72 20 74 68 65 | 20 75 73 75 61 6c 20 22 |nder the| usual "|
|000011c0| 6f 75 74 2e 67 6f 69 6e | 67 22 0a 58 09 20 20 64 |out.goin|g".X. d|
|000011d0| 69 72 65 63 74 6f 72 69 | 65 73 20 61 6e 64 20 70 |irectori|es and p|
|000011e0| 6f 69 6e 74 20 75 6e 70 | 61 63 6b 6d 61 70 73 20 |oint unp|ackmaps |
|000011f0| 61 74 20 69 74 2e 0a 58 | 09 2d 20 75 6e 70 61 63 |at it..X|.- unpac|
|00001200| 6b 6d 61 70 73 20 77 61 | 6b 65 73 20 75 70 2c 20 |kmaps wa|kes up, |
|00001210| 75 73 75 61 6c 6c 79 20 | 6f 6e 63 65 20 70 65 72 |usually |once per|
|00001220| 20 64 61 79 2c 20 61 6e | 64 20 65 78 74 72 61 63 | day, an|d extrac|
|00001230| 74 73 20 74 68 65 0a 58 | 09 20 20 6d 61 70 73 20 |ts the.X|. maps |
|00001240| 73 70 65 63 69 66 69 65 | 64 20 28 69 66 20 61 6e |specifie|d (if an|
|00001250| 79 29 20 69 6e 20 74 68 | 65 20 62 61 74 63 68 20 |y) in th|e batch |
|00001260| 66 69 6c 65 20 69 6e 74 | 6f 20 74 68 65 20 6d 61 |file int|o the ma|
|00001270| 70 20 64 69 72 65 63 74 | 6f 72 79 2e 0a 58 09 20 |p direct|ory..X. |
|00001280| 20 4d 61 70 73 20 61 72 | 65 20 65 78 74 72 61 63 | Maps ar|e extrac|
|00001290| 74 65 64 20 75 73 69 6e | 67 20 61 20 73 65 63 75 |ted usin|g a secu|
|000012a0| 72 65 20 61 77 6b 20 73 | 63 72 69 70 74 20 77 69 |re awk s|cript wi|
|000012b0| 74 68 6f 75 74 20 72 65 | 73 6f 72 74 0a 58 09 20 |thout re|sort.X. |
|000012c0| 20 74 6f 20 73 65 74 75 | 69 64 20 72 6f 6f 74 20 | to setu|id root |
|000012d0| 6f 72 20 6f 74 68 65 72 | 20 77 69 65 72 64 6e 65 |or other| wierdne|
|000012e0| 73 73 65 73 2e 20 20 49 | 66 20 79 6f 75 20 77 61 |sses. I|f you wa|
|000012f0| 6e 74 20 74 68 65 20 75 | 75 77 68 65 72 65 0a 58 |nt the u|uwhere.X|
|00001300| 09 20 20 66 61 63 69 6c | 69 74 79 2c 20 75 6e 70 |. facil|ity, unp|
|00001310| 61 63 6b 6d 61 70 73 20 | 77 69 6c 6c 20 65 78 74 |ackmaps |will ext|
|00001320| 72 61 63 74 20 73 69 74 | 65 2d 3e 6d 61 70 20 66 |ract sit|e->map f|
|00001330| 69 6c 65 20 63 6f 72 72 | 65 73 70 6f 6e 64 65 6e |ile corr|esponden|
|00001340| 63 65 73 2e 0a 58 09 2d | 20 49 66 20 61 6e 79 20 |ces..X.-| If any |
|00001350| 6d 61 70 73 20 77 65 72 | 65 20 65 78 74 72 61 63 |maps wer|e extrac|
|00001360| 74 65 64 2c 20 70 61 74 | 68 61 6c 69 61 73 20 69 |ted, pat|halias i|
|00001370| 73 20 66 69 72 65 64 20 | 6f 66 66 2c 20 61 6e 64 |s fired |off, and|
|00001380| 20 74 68 65 20 0a 58 09 | 20 20 72 65 73 75 6c 74 | the .X.| result|
|00001390| 61 6e 74 20 66 69 6c 65 | 20 70 75 74 20 69 6e 20 |ant file| put in |
|000013a0| 74 68 65 20 70 6c 61 63 | 65 20 73 70 65 63 69 66 |the plac|e specif|
|000013b0| 69 65 64 2e 0a 58 09 2d | 20 49 66 20 79 6f 75 27 |ied..X.-| If you'|
|000013c0| 76 65 20 73 70 65 63 69 | 66 69 65 64 20 75 75 77 |ve speci|fied uuw|
|000013d0| 68 65 72 65 2c 20 74 68 | 65 20 77 68 65 72 65 20 |here, th|e where |
|000013e0| 64 61 74 61 62 61 73 65 | 20 77 69 6c 6c 20 62 65 |database| will be|
|000013f0| 20 72 65 67 65 6e 65 72 | 61 74 65 64 2e 0a 58 09 | regener|ated..X.|
|00001400| 2d 20 69 66 20 61 6e 79 | 74 68 69 6e 67 20 77 61 |- if any|thing wa|
|00001410| 73 20 64 6f 6e 65 2c 20 | 75 6e 70 61 63 6b 6d 61 |s done, |unpackma|
|00001420| 70 73 20 73 65 6e 64 73 | 20 79 6f 75 20 6d 61 69 |ps sends| you mai|
|00001430| 6c 20 74 65 6c 6c 69 6e | 67 20 79 6f 75 0a 58 09 |l tellin|g you.X.|
|00001440| 20 20 77 68 61 74 20 68 | 61 70 70 65 6e 65 64 2e | what h|appened.|
|00001450| 0a 58 0a 58 49 6e 73 74 | 61 6c 6c 61 74 69 6f 6e |.X.XInst|allation|
|00001460| 3a 0a 58 09 2d 20 49 66 | 20 79 6f 75 20 77 61 6e |:.X.- If| you wan|
|00001470| 74 20 74 6f 20 63 6f 6d | 70 72 65 73 73 20 74 68 |t to com|press th|
|00001480| 65 20 73 74 6f 72 65 64 | 20 6d 61 70 20 66 69 6c |e stored| map fil|
|00001490| 65 73 2c 20 73 65 74 20 | 74 68 65 20 43 4f 4d 50 |es, set |the COMP|
|000014a0| 52 45 53 53 0a 58 09 20 | 20 76 61 72 69 61 62 6c |RESS.X. | variabl|
|000014b0| 65 20 74 6f 20 70 6f 69 | 6e 74 20 79 6f 75 72 20 |e to poi|nt your |
|000014c0| 63 6f 6d 70 72 65 73 73 | 20 70 72 6f 67 72 61 6d |compress| program|
|000014d0| 2e 20 20 59 6f 75 20 73 | 68 6f 75 6c 64 20 62 65 |. You s|hould be|
|000014e0| 20 75 73 69 6e 67 0a 58 | 09 20 20 63 6f 6d 70 72 | using.X|. compr|
|000014f0| 65 73 73 20 76 65 72 73 | 69 6f 6e 73 20 33 20 6f |ess vers|ions 3 o|
|00001500| 72 20 34 2e 20 20 41 20 | 63 6f 70 79 20 77 69 6c |r 4. A |copy wil|
|00001510| 6c 20 68 61 76 65 20 63 | 6f 6d 65 20 77 69 74 68 |l have c|ome with|
|00001520| 20 79 6f 75 72 0a 58 09 | 20 20 6e 65 77 73 20 73 | your.X.| news s|
|00001530| 6f 66 74 77 61 72 65 2e | 0a 58 0a 58 09 2d 20 49 |oftware.|.X.X.- I|
|00001540| 20 53 54 52 4f 4e 47 4c | 59 20 72 65 63 6f 6d 6d | STRONGL|Y recomm|
|00001550| 65 6e 64 20 74 68 61 74 | 20 79 6f 75 20 62 75 69 |end that| you bui|
|00001560| 6c 64 20 61 20 73 70 65 | 63 69 61 6c 20 76 65 72 |ld a spe|cial ver|
|00001570| 73 69 6f 6e 20 6f 66 20 | 63 6f 6d 70 72 65 73 73 |sion of |compress|
|00001580| 0a 58 09 20 20 77 69 74 | 68 20 31 32 20 62 69 74 |.X. wit|h 12 bit|
|00001590| 20 63 6f 6d 70 72 65 73 | 73 69 6f 6e 20 69 6e 73 | compres|sion ins|
|000015a0| 74 65 61 64 20 6f 66 20 | 31 36 20 66 6f 72 20 74 |tead of |16 for t|
|000015b0| 68 69 73 2e 20 20 57 68 | 65 6e 20 74 68 69 73 0a |his. Wh|en this.|
|000015c0| 58 09 20 20 69 73 20 64 | 6f 6e 65 2c 20 63 6f 6d |X. is d|one, com|
|000015d0| 70 72 65 73 73 20 69 73 | 20 63 6f 6e 73 69 64 65 |press is| conside|
|000015e0| 72 61 62 6c 79 20 73 6d | 61 6c 6c 65 72 20 28 65 |rably sm|aller (e|
|000015f0| 67 3a 20 62 73 73 20 6f | 66 20 33 32 4b 20 69 6e |g: bss o|f 32K in|
|00001600| 73 74 65 61 64 0a 58 09 | 20 20 6f 66 20 34 30 30 |stead.X.| of 400|
|00001610| 4b 2b 29 2e 20 20 54 68 | 65 20 72 65 61 73 6f 6e |K+). Th|e reason|
|00001620| 20 66 6f 72 20 74 68 69 | 73 20 69 73 20 6f 62 76 | for thi|s is obv|
|00001630| 69 6f 75 73 20 2d 20 70 | 61 74 68 61 6c 69 61 73 |ious - p|athalias|
|00001640| 20 69 73 20 65 6e 6f 72 | 6d 6f 75 73 0a 58 09 20 | is enor|mous.X. |
|00001650| 20 77 68 65 6e 20 69 74 | 27 73 20 72 75 6e 6e 69 | when it|'s runni|
|00001660| 6e 67 2c 20 61 6e 64 20 | 73 6f 20 69 73 20 61 20 |ng, and |so is a |
|00001670| 31 36 20 62 69 74 20 63 | 6f 6d 70 72 65 73 73 2e |16 bit c|ompress.|
|00001680| 20 20 47 6f 64 20 68 65 | 6c 70 20 79 6f 75 20 69 | God he|lp you i|
|00001690| 66 0a 58 09 20 20 69 74 | 20 73 74 61 72 74 73 20 |f.X. it| starts |
|000016a0| 74 6f 20 73 77 61 70 2e | 0a 58 0a 58 09 20 20 41 |to swap.|.X.X. A|
|000016b0| 64 76 61 6e 74 61 67 65 | 73 3a 0a 58 09 09 2d 20 |dvantage|s:.X..- |
|000016c0| 74 68 65 20 77 68 6f 6c | 65 20 74 68 69 6e 67 20 |the whol|e thing |
|000016d0| 72 75 6e 73 20 63 6f 6e | 73 69 64 65 72 61 62 6c |runs con|siderabl|
|000016e0| 79 20 66 61 73 74 65 72 | 0a 58 09 09 2d 20 6d 75 |y faster|.X..- mu|
|000016f0| 63 68 20 6c 65 73 73 20 | 73 77 61 70 2f 70 61 67 |ch less |swap/pag|
|00001700| 69 6e 67 0a 58 09 09 2d | 20 6f 6e 20 6f 75 72 20 |ing.X..-| on our |
|00001710| 6d 61 63 68 69 6e 65 2c | 20 31 36 20 62 69 74 20 |machine,| 16 bit |
|00001720| 63 6f 6d 70 72 65 73 73 | 20 70 72 61 63 74 69 63 |compress| practic|
|00001730| 61 6c 6c 79 20 68 61 6e | 67 73 0a 58 09 09 20 20 |ally han|gs.X.. |
|00001740| 65 76 65 72 79 6f 6e 65 | 20 65 6c 73 65 20 77 68 |everyone| else wh|
|00001750| 65 6e 20 72 75 6e 20 61 | 74 20 74 68 65 20 73 61 |en run a|t the sa|
|00001760| 6d 65 20 74 69 6d 65 20 | 61 73 20 70 61 74 68 61 |me time |as patha|
|00001770| 6c 69 61 73 2e 0a 58 0a | 58 09 20 20 44 69 73 61 |lias..X.|X. Disa|
|00001780| 64 76 61 6e 74 61 67 65 | 73 3a 0a 58 09 09 2d 20 |dvantage|s:.X..- |
|00001790| 74 68 65 20 6d 61 70 20 | 64 69 72 65 63 74 6f 72 |the map |director|
|000017a0| 79 20 69 73 20 31 30 25 | 20 28 72 65 61 6c 6c 79 |y is 10%| (really|
|000017b0| 21 20 20 6f 6e 6c 79 20 | 31 30 25 21 29 20 62 69 |! only |10%!) bi|
|000017c0| 67 67 65 72 2e 0a 58 0a | 58 09 20 20 57 68 61 74 |gger..X.|X. What|
|000017d0| 20 49 20 64 69 64 20 77 | 61 73 20 74 68 65 20 66 | I did w|as the f|
|000017e0| 6f 6c 6c 6f 77 69 6e 67 | 3a 0a 58 09 09 2d 20 67 |ollowing|:.X..- g|
|000017f0| 6f 20 74 6f 20 74 68 65 | 20 73 6f 75 72 63 65 20 |o to the| source |
|00001800| 64 69 72 65 63 74 6f 72 | 79 20 66 6f 72 20 63 6f |director|y for co|
|00001810| 6d 70 72 65 73 73 0a 58 | 09 09 2d 20 72 65 6d 6f |mpress.X|..- remo|
|00001820| 76 65 20 74 68 65 20 62 | 69 6e 61 72 79 20 69 66 |ve the b|inary if|
|00001830| 20 69 74 20 69 73 20 74 | 68 65 72 65 2e 0a 58 09 | it is t|here..X.|
|00001840| 09 2d 20 73 61 79 3a 0a | 58 09 09 09 6d 61 6b 65 |.- say:.|X...make|
|00001850| 20 63 6f 6d 70 72 65 73 | 73 20 43 46 4c 41 47 53 | compres|s CFLAGS|
|00001860| 3d 2d 44 55 53 45 52 4d | 45 4d 3d 30 0a 58 09 09 |=-DUSERM|EM=0.X..|
|00001870| 2d 20 72 65 6e 61 6d 65 | 20 74 68 69 73 20 74 6f |- rename| this to|
|00001880| 20 73 6f 6d 65 74 68 69 | 6e 67 20 6c 69 6b 65 20 | somethi|ng like |
|00001890| 2f 75 73 72 2f 62 69 6e | 2f 63 6f 6d 70 72 65 73 |/usr/bin|/compres|
|000018a0| 73 31 32 0a 58 09 09 2d | 20 6d 61 6b 65 20 73 75 |s12.X..-| make su|
|000018b0| 72 65 20 74 68 61 74 20 | 75 75 77 68 65 72 65 20 |re that |uuwhere |
|000018c0| 61 6e 64 20 75 6e 70 61 | 63 6b 6d 61 70 73 20 73 |and unpa|ckmaps s|
|000018d0| 68 65 6c 6c 20 73 63 72 | 69 70 74 73 0a 58 09 09 |hell scr|ipts.X..|
|000018e0| 20 20 68 61 76 65 20 74 | 68 65 20 73 61 6d 65 20 | have t|he same |
|000018f0| 6e 61 6d 65 2e 20 20 45 | 67 3a 20 2f 75 73 72 2f |name. E|g: /usr/|
|00001900| 62 69 6e 2f 63 6f 6d 70 | 72 65 73 73 31 32 0a 58 |bin/comp|ress12.X|
|00001910| 0a 58 09 2d 20 65 64 69 | 74 20 75 6e 70 61 63 6b |.X.- edi|t unpack|
|00001920| 6d 61 70 73 20 74 6f 20 | 73 65 74 20 74 68 65 20 |maps to |set the |
|00001930| 76 61 72 69 61 62 6c 65 | 73 20 61 74 20 74 68 65 |variable|s at the|
|00001940| 20 62 65 67 69 6e 6e 69 | 6e 67 20 6f 66 0a 58 09 | beginni|ng of.X.|
|00001950| 20 20 74 68 65 20 73 68 | 65 6c 6c 20 73 63 72 69 | the sh|ell scri|
|00001960| 70 74 2e 20 20 4e 6f 74 | 65 20 65 73 70 65 63 69 |pt. Not|e especi|
|00001970| 61 6c 6c 79 20 74 68 65 | 20 62 61 74 63 68 20 66 |ally the| batch f|
|00001980| 69 6c 65 20 6e 61 6d 65 | 0a 58 09 20 20 28 73 65 |ile name|.X. (se|
|00001990| 65 20 62 65 6c 6f 77 29 | 0a 58 09 2d 20 6d 61 6b |e below)|.X.- mak|
|000019a0| 65 20 74 68 65 20 64 69 | 72 65 63 74 6f 72 79 20 |e the di|rectory |
|000019b0| 66 6f 72 20 74 68 65 20 | 6d 61 70 20 66 69 6c 65 |for the |map file|
|000019c0| 73 2c 20 6f 77 6e 65 64 | 20 62 79 20 6e 65 77 73 |s, owned| by news|
|000019d0| 2e 0a 58 09 2d 20 70 75 | 74 20 75 6e 70 61 63 6b |..X.- pu|t unpack|
|000019e0| 6d 61 70 73 20 69 6e 20 | 61 20 73 75 69 74 61 62 |maps in |a suitab|
|000019f0| 6c 65 20 70 6c 61 63 65 | 2e 20 20 45 67 3a 20 2f |le place|. Eg: /|
|00001a00| 75 73 72 2f 6c 69 62 2f | 6e 65 77 73 0a 58 09 2d |usr/lib/|news.X.-|
|00001a10| 20 70 75 74 20 75 75 77 | 68 65 72 65 20 69 6e 20 | put uuw|here in |
|00001a20| 61 20 73 75 69 74 61 62 | 6c 65 20 70 6c 61 63 65 |a suitab|le place|
|00001a30| 2e 20 20 45 67 3a 20 2f | 75 73 72 2f 6c 6f 63 61 |. Eg: /|usr/loca|
|00001a40| 6c 2f 62 69 6e 2e 0a 58 | 09 2d 20 75 6e 70 61 63 |l/bin..X|.- unpac|
|00001a50| 6b 6d 61 70 73 20 73 68 | 6f 75 6c 64 20 62 65 20 |kmaps sh|ould be |
|00001a60| 72 75 6e 20 66 72 6f 6d | 20 74 68 65 20 75 73 65 |run from| the use|
|00001a70| 72 69 64 20 74 68 61 74 | 20 6f 77 6e 73 20 61 6e |rid that| owns an|
|00001a80| 64 20 72 75 6e 73 20 6e | 65 77 73 2e 0a 58 09 2d |d runs n|ews..X.-|
|00001a90| 20 73 75 20 74 6f 20 74 | 68 65 20 6e 65 77 73 20 | su to t|he news |
|00001aa0| 75 73 65 72 69 64 2c 20 | 61 6e 64 20 72 75 6e 3a |userid, |and run:|
|00001ab0| 0a 58 09 09 75 6e 70 61 | 63 6b 6d 61 70 73 20 2d |.X..unpa|ckmaps -|
|00001ac0| 69 0a 58 09 20 20 54 68 | 69 73 20 77 69 6c 6c 20 |i.X. Th|is will |
|00001ad0| 62 75 69 6c 64 20 74 68 | 65 20 69 6e 69 74 69 61 |build th|e initia|
|00001ae0| 6c 20 70 61 74 68 20 66 | 69 6c 65 2e 0a 58 09 2d |l path f|ile..X.-|
|00001af0| 20 69 6e 73 65 72 74 20 | 69 6e 74 6f 20 79 6f 75 | insert |into you|
|00001b00| 72 20 63 72 6f 6e 74 61 | 62 20 73 6f 6d 65 74 68 |r cronta|b someth|
|00001b10| 69 6e 67 20 6c 69 6b 65 | 3a 0a 58 09 20 20 20 20 |ing like|:.X. |
|00001b20| 33 30 20 33 20 2a 20 2a | 20 2a 20 2f 62 69 6e 2f |30 3 * *| * /bin/|
|00001b30| 73 75 20 6e 65 77 73 20 | 2d 63 20 22 3c 70 61 74 |su news |-c "<pat|
|00001b40| 68 20 74 6f 20 75 6e 70 | 61 63 6b 6d 61 70 73 3e |h to unp|ackmaps>|
|00001b50| 2f 75 6e 70 61 63 6b 6d | 61 70 73 20 3e 20 2f 64 |/unpackm|aps > /d|
|00001b60| 65 76 2f 6e 75 6c 6c 22 | 0a 58 09 2d 20 69 6e 73 |ev/null"|.X.- ins|
|00001b70| 65 72 74 20 69 6e 74 6f | 20 79 6f 75 72 20 6e 65 |ert into| your ne|
|00001b80| 77 73 20 73 79 73 20 66 | 69 6c 65 20 73 6f 6d 65 |ws sys f|ile some|
|00001b90| 74 68 69 6e 67 20 6c 69 | 6b 65 3a 0a 58 0a 58 09 |thing li|ke:.X.X.|
|00001ba0| 20 20 20 20 28 43 2d 6e | 65 77 73 29 0a 58 0a 58 | (C-n|ews).X.X|
|00001bb0| 09 20 20 20 20 6d 61 70 | 73 3a 63 6f 6d 70 2e 6d |. map|s:comp.m|
|00001bc0| 61 69 6c 2e 6d 61 70 73 | 2f 61 6c 6c 3a 66 3a 2f |ail.maps|/all:f:/|
|00001bd0| 75 73 72 2f 73 70 6f 6f | 6c 2f 6e 65 77 73 2f 6f |usr/spoo|l/news/o|
|00001be0| 75 74 2e 73 70 65 63 69 | 61 6c 2f 6d 61 70 73 0a |ut.speci|al/maps.|
|00001bf0| 58 0a 58 09 20 20 20 20 | 28 42 2d 6e 65 77 73 29 |X.X. |(B-news)|
|00001c00| 0a 58 0a 58 09 20 20 20 | 20 6d 61 70 73 3a 77 6f |.X.X. | maps:wo|
|00001c10| 72 6c 64 2c 63 6f 6d 70 | 2e 6d 61 69 6c 2e 6d 61 |rld,comp|.mail.ma|
|00001c20| 70 73 3a 46 3a 2f 75 73 | 72 2f 73 70 6f 6f 6c 2f |ps:F:/us|r/spool/|
|00001c30| 62 61 74 63 68 2f 6d 61 | 70 73 0a 58 0a 58 09 2d |batch/ma|ps.X.X.-|
|00001c40| 20 63 6f 70 79 20 75 75 | 77 68 65 72 65 20 74 6f | copy uu|where to|
|00001c50| 20 61 6e 20 61 63 63 65 | 73 73 69 62 6c 65 20 62 | an acce|ssible b|
|00001c60| 69 6e 20 64 69 72 65 63 | 74 6f 72 79 20 61 66 74 |in direc|tory aft|
|00001c70| 65 72 20 6d 6f 64 69 66 | 79 69 6e 67 0a 58 09 20 |er modif|ying.X. |
|00001c80| 20 74 68 65 20 63 6f 6e | 66 69 67 75 72 61 74 69 | the con|figurati|
|00001c90| 6f 6e 20 73 65 63 74 69 | 6f 6e 20 61 74 20 74 68 |on secti|on at th|
|00001ca0| 65 20 62 65 67 69 6e 6e | 69 6e 67 2e 0a 58 20 20 |e beginn|ing..X |
|00001cb0| 20 20 0a 58 75 75 77 68 | 65 72 65 20 22 73 69 74 | .Xuuwh|ere "sit|
|00001cc0| 65 6e 61 6d 65 22 20 77 | 69 6c 6c 20 67 69 76 65 |ename" w|ill give|
|00001cd0| 20 79 6f 75 20 74 68 65 | 20 6d 61 70 20 6e 61 6d | you the| map nam|
|00001ce0| 65 20 61 6e 64 20 6c 69 | 6e 65 20 6e 75 6d 62 65 |e and li|ne numbe|
|00001cf0| 72 73 20 77 68 65 72 65 | 0a 58 74 68 65 20 73 69 |rs where|.Xthe si|
|00001d00| 74 65 20 69 73 20 64 65 | 66 69 6e 65 64 20 28 77 |te is de|fined (w|
|00001d10| 69 74 68 20 23 4e 20 63 | 6f 6d 6d 65 6e 74 73 29 |ith #N c|omments)|
|00001d20| 2e 20 20 41 64 64 69 6e | 67 20 61 20 2d 76 20 6f |. Addin|g a -v o|
|00001d30| 70 74 69 6f 6e 20 77 69 | 6c 6c 0a 58 69 6e 76 6f |ption wi|ll.Xinvo|
|00001d40| 6b 65 20 63 6f 6d 70 72 | 65 73 73 20 28 69 66 20 |ke compr|ess (if |
|00001d50| 6e 65 63 65 73 73 61 72 | 79 29 20 61 6e 64 20 73 |necessar|y) and s|
|00001d60| 68 6f 77 20 79 6f 75 20 | 74 68 65 20 6d 61 70 20 |how you |the map |
|00001d70| 65 6e 74 72 79 20 69 74 | 73 65 6c 66 2e 0a 58 54 |entry it|self..XT|
|00001d80| 68 65 20 75 75 77 68 65 | 72 65 20 6d 65 63 68 61 |he uuwhe|re mecha|
|00001d90| 6e 69 73 6d 20 2a 6f 6e | 6c 79 2a 20 77 6f 72 6b |nism *on|ly* work|
|00001da0| 73 20 75 73 69 6e 67 20 | 74 68 65 20 22 23 4e 22 |s using |the "#N"|
|00001db0| 20 65 6e 74 72 69 65 73 | 2c 20 61 6e 64 20 77 69 | entries|, and wi|
|00001dc0| 6c 6c 0a 58 6e 6f 74 20 | 73 65 61 72 63 68 20 66 |ll.Xnot |search f|
|00001dd0| 6f 72 20 6d 61 63 72 6f | 20 72 65 61 73 73 69 67 |or macro| reassig|
|00001de0| 6e 6d 65 6e 74 73 20 61 | 6e 64 20 6f 74 68 65 72 |nments a|nd other|
|00001df0| 20 6e 61 6d 69 6e 67 73 | 2e 20 20 4f 6e 65 20 6f | namings|. One o|
|00001e00| 74 68 65 72 20 64 72 61 | 77 62 61 63 6b 0a 58 69 |ther dra|wback.Xi|
|00001e10| 73 20 74 68 61 74 20 75 | 75 77 68 65 72 65 20 77 |s that u|uwhere w|
|00001e20| 6f 6e 27 74 20 64 69 73 | 70 6c 61 79 20 77 68 6f |on't dis|play who|
|00001e30| 6c 65 20 6d 61 70 20 66 | 69 6c 65 73 20 64 69 72 |le map f|iles dir|
|00001e40| 65 63 74 6c 79 2c 20 62 | 75 74 20 74 68 61 74 20 |ectly, b|ut that |
|00001e50| 77 61 73 0a 58 6e 65 76 | 65 72 20 70 61 72 74 69 |was.Xnev|er parti|
|00001e60| 63 75 6c 61 72 6c 79 20 | 75 73 65 66 75 6c 20 61 |cularly |useful a|
|00001e70| 6e 79 77 61 79 73 2e 0a | 58 0a 58 75 6e 70 61 63 |nyways..|X.Xunpac|
|00001e80| 6b 6d 61 70 73 20 2d 69 | 3a 20 77 69 6c 6c 20 65 |kmaps -i|: will e|
|00001e90| 78 74 72 61 63 74 20 61 | 6c 6c 20 6d 61 70 20 61 |xtract a|ll map a|
|00001ea0| 72 74 69 63 6c 65 73 20 | 69 6e 74 6f 20 74 68 65 |rticles |into the|
|00001eb0| 20 6d 61 70 20 73 70 6f | 6f 6c 20 61 72 65 61 20 | map spo|ol area |
|00001ec0| 2d 20 75 73 65 66 75 6c | 0a 58 66 6f 72 20 74 68 |- useful|.Xfor th|
|00001ed0| 65 20 66 69 72 73 74 20 | 74 69 6d 65 20 79 6f 75 |e first |time you|
|00001ee0| 20 75 73 65 20 69 74 2e | 0a 58 0a 58 75 6e 70 61 | use it.|.X.Xunpa|
|00001ef0| 63 6b 6d 61 70 73 20 2d | 70 3a 20 72 75 6e 73 20 |ckmaps -|p: runs |
|00001f00| 70 61 74 68 61 6c 69 61 | 73 20 65 76 65 6e 20 69 |pathalia|s even i|
|00001f10| 66 20 6e 6f 20 6d 61 70 | 20 61 72 74 69 63 6c 65 |f no map| article|
|00001f20| 73 20 77 65 72 65 20 65 | 78 74 72 61 63 74 65 64 |s were e|xtracted|
|00001f30| 2e 0a 58 0a 58 49 6e 20 | 6f 72 64 65 72 20 74 6f |..X.XIn |order to|
|00001f40| 20 70 75 73 68 20 74 68 | 65 20 70 61 74 68 73 20 | push th|e paths |
|00001f50| 66 69 6c 65 20 69 6e 74 | 6f 20 2f 75 73 72 2f 6c |file int|o /usr/l|
|00001f60| 69 62 2f 75 75 63 70 2c | 20 49 20 63 72 65 61 74 |ib/uucp,| I creat|
|00001f70| 65 64 20 61 20 66 69 6c | 65 20 63 61 6c 6c 65 64 |ed a fil|e called|
|00001f80| 0a 58 70 61 74 68 73 20 | 69 6e 20 2f 75 73 72 2f |.Xpaths |in /usr/|
|00001f90| 6c 69 62 2f 75 75 63 70 | 2c 20 77 69 74 68 20 36 |lib/uucp|, with 6|
|00001fa0| 34 34 20 70 65 72 6d 69 | 73 73 69 6f 6e 73 2c 20 |44 permi|ssions, |
|00001fb0| 6f 77 6e 65 64 20 62 79 | 20 74 68 65 20 75 73 65 |owned by| the use|
|00001fc0| 72 69 64 20 74 68 61 74 | 20 72 75 6e 73 0a 58 75 |rid that| runs.Xu|
|00001fd0| 6e 70 61 63 6b 6d 61 70 | 73 2e 0a 58 0a 58 54 68 |npackmap|s..X.XTh|
|00001fe0| 65 20 70 61 63 6b 61 67 | 65 20 77 69 6c 6c 20 73 |e packag|e will s|
|00001ff0| 65 6e 64 20 6d 61 69 6c | 20 74 6f 20 77 68 6f 20 |end mail| to who |
|00002000| 79 6f 75 20 73 70 65 63 | 69 66 79 20 69 6e 64 69 |you spec|ify indi|
|00002010| 63 61 74 69 6e 67 20 77 | 68 69 63 68 20 6d 61 70 |cating w|hich map|
|00002020| 73 20 77 65 72 65 0a 58 | 75 6e 70 61 63 6b 65 64 |s were.X|unpacked|
|00002030| 2c 20 61 6e 64 20 61 6e | 79 20 65 72 72 6f 72 20 |, and an|y error |
|00002040| 72 65 74 75 72 6e 73 20 | 66 72 6f 6d 20 70 61 74 |returns |from pat|
|00002050| 68 61 6c 69 61 73 2e 0a | 58 0a 58 54 68 65 20 75 |halias..|X.XThe u|
|00002060| 75 77 68 65 72 65 20 64 | 61 74 61 62 61 73 65 20 |uwhere d|atabase |
|00002070| 69 73 20 62 75 69 6c 74 | 20 66 72 6f 6d 20 74 68 |is built| from th|
|00002080| 65 20 6d 61 70 73 20 61 | 73 20 74 68 65 79 20 61 |e maps a|s they a|
|00002090| 72 65 20 75 6e 70 61 63 | 6b 65 64 2e 20 20 41 66 |re unpac|ked. Af|
|000020a0| 74 65 72 0a 58 69 6e 73 | 74 61 6c 6c 61 74 69 6f |ter.Xins|tallatio|
|000020b0| 6e 2c 20 69 74 20 6d 61 | 79 20 74 61 6b 65 20 61 |n, it ma|y take a|
|000020c0| 20 77 68 69 6c 65 20 66 | 6f 72 20 74 68 65 20 77 | while f|or the w|
|000020d0| 68 65 72 65 20 64 61 74 | 61 62 61 73 65 20 74 6f |here dat|abase to|
|000020e0| 20 62 65 20 63 6f 6d 70 | 6c 65 74 65 2e 0a 58 28 | be comp|lete..X(|
|000020f0| 73 61 6d 65 20 61 73 20 | 66 6f 72 20 70 61 74 68 |same as |for path|
|00002100| 20 66 69 6c 65 73 20 74 | 68 65 6d 73 65 6c 76 65 | files t|hemselve|
|00002110| 73 20 74 6f 6f 29 2e 20 | 20 49 20 68 61 76 65 20 |s too). | I have |
|00002120| 69 6d 70 6c 65 6d 65 6e | 74 65 64 20 61 20 62 69 |implemen|ted a bi|
|00002130| 6e 61 72 79 0a 58 73 65 | 61 72 63 68 20 72 6f 75 |nary.Xse|arch rou|
|00002140| 74 69 6e 65 20 74 6f 20 | 6d 61 6b 65 20 75 75 77 |tine to |make uuw|
|00002150| 68 65 72 65 20 67 6f 20 | 66 61 73 74 65 72 2c 20 |here go |faster, |
|00002160| 62 75 74 20 66 72 61 6e | 6b 6c 79 2c 20 74 68 65 |but fran|kly, the|
|00002170| 20 73 65 64 27 73 20 66 | 61 73 74 0a 58 65 6e 6f | sed's f|ast.Xeno|
|00002180| 75 67 68 20 6f 6e 20 61 | 6c 6c 20 62 75 74 20 74 |ugh on a|ll but t|
|00002190| 68 65 20 73 6c 6f 77 65 | 73 74 20 6d 61 63 68 69 |he slowe|st machi|
|000021a0| 6e 65 2e 0a 58 0a 58 4c | 65 74 20 6d 65 20 6b 6e |ne..X.XL|et me kn|
|000021b0| 6f 77 20 6f 66 20 61 6e | 79 20 63 68 61 6e 67 65 |ow of an|y change|
|000021c0| 73 20 79 6f 75 20 6e 65 | 65 64 65 64 20 74 6f 20 |s you ne|eded to |
|000021d0| 6d 61 6b 65 20 74 6f 20 | 67 65 74 20 74 68 69 73 |make to |get this|
|000021e0| 20 74 6f 20 77 6f 72 6b | 2e 0a 58 49 27 6d 20 61 | to work|..XI'm a|
|000021f0| 6c 73 6f 20 6f 70 65 6e | 20 74 6f 20 73 75 67 67 |lso open| to sugg|
|00002200| 65 73 74 69 6f 6e 73 20 | 66 6f 72 20 6e 65 77 20 |estions |for new |
|00002210| 66 65 61 74 75 72 65 73 | 2e 2e 2e 2e 0a 58 2d 2d |features|.....X--|
|00002220| 2d 2d 2d 2d 2d 2d 2d 2d | 0a 58 43 68 72 69 73 20 |--------|.XChris |
|00002230| 4c 65 77 69 73 2c 20 4d | 61 72 6b 68 61 6d 2c 20 |Lewis, M|arkham, |
|00002240| 4f 6e 74 61 72 69 6f 2c | 20 43 61 6e 61 64 61 0a |Ontario,| Canada.|
|00002250| 58 7b 75 75 6e 65 74 21 | 61 74 74 63 61 6e 2c 75 |X{uunet!|attcan,u|
|00002260| 74 67 70 75 2c 79 75 6e | 65 78 75 73 2c 75 74 7a |tgpu,yun|exus,utz|
|00002270| 6f 6f 7d 21 6c 73 75 63 | 21 7b 65 63 69 63 72 6c |oo}!lsuc|!{ecicrl|
|00002280| 7c 65 63 69 33 38 36 7d | 21 63 6c 65 77 69 73 0a ||eci386}|!clewis.|
|00002290| 45 4e 44 5f 4f 46 5f 46 | 49 4c 45 0a 69 66 20 74 |END_OF_F|ILE.if t|
|000022a0| 65 73 74 20 37 34 37 35 | 20 2d 6e 65 20 60 77 63 |est 7475| -ne `wc|
|000022b0| 20 2d 63 20 3c 27 52 45 | 41 44 4d 45 27 60 3b 20 | -c <'RE|ADME'`; |
|000022c0| 74 68 65 6e 0a 20 20 20 | 20 65 63 68 6f 20 73 68 |then. | echo sh|
|000022d0| 61 72 3a 20 5c 22 27 52 | 45 41 44 4d 45 27 5c 22 |ar: \"'R|EADME'\"|
|000022e0| 20 75 6e 70 61 63 6b 65 | 64 20 77 69 74 68 20 77 | unpacke|d with w|
|000022f0| 72 6f 6e 67 20 73 69 7a | 65 21 0a 66 69 0a 23 20 |rong siz|e!.fi.# |
|00002300| 65 6e 64 20 6f 66 20 27 | 52 45 41 44 4d 45 27 0a |end of '|README'.|
|00002310| 66 69 0a 69 66 20 74 65 | 73 74 20 2d 66 20 27 75 |fi.if te|st -f 'u|
|00002320| 6e 70 61 63 6b 6d 61 70 | 73 27 20 2d 61 20 22 24 |npackmap|s' -a "$|
|00002330| 7b 31 7d 22 20 21 3d 20 | 22 2d 63 22 20 3b 20 74 |{1}" != |"-c" ; t|
|00002340| 68 65 6e 20 0a 20 20 65 | 63 68 6f 20 73 68 61 72 |hen . e|cho shar|
|00002350| 3a 20 57 69 6c 6c 20 6e | 6f 74 20 63 6c 6f 62 62 |: Will n|ot clobb|
|00002360| 65 72 20 65 78 69 73 74 | 69 6e 67 20 66 69 6c 65 |er exist|ing file|
|00002370| 20 5c 22 27 75 6e 70 61 | 63 6b 6d 61 70 73 27 5c | \"'unpa|ckmaps'\|
|00002380| 22 0a 65 6c 73 65 0a 65 | 63 68 6f 20 73 68 61 72 |".else.e|cho shar|
|00002390| 3a 20 45 78 74 72 61 63 | 74 69 6e 67 20 5c 22 27 |: Extrac|ting \"'|
|000023a0| 75 6e 70 61 63 6b 6d 61 | 70 73 27 5c 22 20 5c 28 |unpackma|ps'\" \(|
|000023b0| 37 37 33 35 20 63 68 61 | 72 61 63 74 65 72 73 5c |7735 cha|racters\|
|000023c0| 29 0a 73 65 64 20 22 73 | 2f 5e 58 2f 2f 22 20 3e |).sed "s|/^X//" >|
|000023d0| 27 75 6e 70 61 63 6b 6d | 61 70 73 27 20 3c 3c 27 |'unpackm|aps' <<'|
|000023e0| 45 4e 44 5f 4f 46 5f 46 | 49 4c 45 27 0a 58 3a 0a |END_OF_F|ILE'.X:.|
|000023f0| 58 23 09 55 6e 70 61 63 | 6b 6d 61 70 73 20 43 6f |X#.Unpac|kmaps Co|
|00002400| 70 79 72 69 67 68 74 20 | 31 39 39 30 2c 20 43 68 |pyright |1990, Ch|
|00002410| 72 69 73 20 4c 65 77 69 | 73 2c 20 41 6c 6c 20 52 |ris Lewi|s, All R|
|00002420| 69 67 68 74 73 20 52 65 | 73 65 72 76 65 64 0a 58 |ights Re|served.X|
|00002430| 74 72 61 70 20 22 72 6d | 20 2d 66 20 2f 74 6d 70 |trap "rm| -f /tmp|
|00002440| 2f 75 6e 70 3f 24 24 3b | 20 65 78 69 74 22 20 30 |/unp?$$;| exit" 0|
|00002450| 20 31 20 32 20 33 20 31 | 35 0a 58 49 46 53 3d 22 | 1 2 3 1|5.XIFS="|
|00002460| 09 20 0a 58 22 0a 58 65 | 78 70 6f 72 74 20 49 46 |. .X".Xe|xport IF|
|00002470| 53 0a 58 50 41 54 48 3d | 2f 62 69 6e 3a 2f 75 73 |S.XPATH=|/bin:/us|
|00002480| 72 2f 62 69 6e 0a 58 65 | 78 70 6f 72 74 20 50 41 |r/bin.Xe|xport PA|
|00002490| 54 48 0a 58 0a 58 23 09 | 54 68 65 20 6e 61 6d 65 |TH.X.X#.|The name|
|000024a0| 20 6f 66 20 74 68 65 20 | 66 69 6c 65 20 74 68 61 | of the |file tha|
|000024b0| 74 20 79 6f 75 27 76 65 | 20 63 61 75 73 65 64 20 |t you've| caused |
|000024c0| 79 6f 75 72 20 6e 65 77 | 73 20 73 79 73 74 65 6d |your new|s system|
|000024d0| 20 74 6f 0a 58 23 09 62 | 61 74 63 68 20 74 68 65 | to.X#.b|atch the|
|000024e0| 20 66 69 6c 65 20 6e 61 | 6d 65 73 20 6f 66 20 74 | file na|mes of t|
|000024f0| 68 65 20 6d 61 70 20 61 | 72 74 69 63 6c 65 73 2e |he map a|rticles.|
|00002500| 0a 58 23 20 45 67 3a 20 | 43 2d 6e 65 77 73 0a 58 |.X# Eg: |C-news.X|
|00002510| 23 42 41 54 43 48 3d 2f | 75 73 72 2f 6c 69 62 2f |#BATCH=/|usr/lib/|
|00002520| 6e 65 77 73 2f 62 61 74 | 63 68 2f 62 2e 6d 61 70 |news/bat|ch/b.map|
|00002530| 73 2f 74 6f 67 6f 0a 58 | 23 4d 6f 64 65 72 6e 20 |s/togo.X|#Modern |
|00002540| 43 2d 6e 65 77 73 20 28 | 64 69 72 65 63 74 6f 72 |C-news (|director|
|00002550| 79 20 6f 74 68 65 72 20 | 74 68 61 6e 20 2f 75 73 |y other |than /us|
|00002560| 72 2f 73 70 6f 6f 6c 2f | 6e 65 77 73 2f 6f 75 74 |r/spool/|news/out|
|00002570| 2e 67 6f 69 6e 67 29 0a | 58 42 41 54 43 48 3d 2f |.going).|XBATCH=/|
|00002580| 75 73 72 2f 73 70 6f 6f | 6c 2f 6e 65 77 73 2f 6f |usr/spoo|l/news/o|
|00002590| 75 74 2e 73 70 65 63 69 | 61 6c 2f 6d 61 70 73 2f |ut.speci|al/maps/|
|000025a0| 74 6f 67 6f 0a 58 23 20 | 45 67 3a 20 42 2d 6e 65 |togo.X# |Eg: B-ne|
|000025b0| 77 73 0a 58 23 42 41 54 | 43 48 3d 2f 75 73 72 2f |ws.X#BAT|CH=/usr/|
|000025c0| 73 70 6f 6f 6c 2f 62 61 | 74 63 68 2f 6d 61 70 73 |spool/ba|tch/maps|
|000025d0| 0a 58 23 09 4e 65 77 73 | 20 73 70 6f 6f 6c 20 64 |.X#.News| spool d|
|000025e0| 69 72 65 63 74 6f 72 79 | 0a 58 4e 45 57 53 53 50 |irectory|.XNEWSSP|
|000025f0| 4f 4f 4c 3d 2f 75 73 72 | 2f 73 70 6f 6f 6c 2f 6e |OOL=/usr|/spool/n|
|00002600| 65 77 73 0a 58 23 09 57 | 68 65 72 65 20 79 6f 75 |ews.X#.W|here you|
|00002610| 20 77 61 6e 74 20 74 68 | 65 20 6d 61 70 73 20 74 | want th|e maps t|
|00002620| 6f 20 67 6f 2e 0a 58 23 | 09 49 20 6c 69 6b 65 20 |o go..X#|.I like |
|00002630| 75 73 69 6e 67 20 2f 75 | 73 72 2f 73 70 6f 6f 6c |using /u|sr/spool|
|00002640| 2f 6d 61 70 73 2c 20 62 | 75 74 20 6f 6e 20 6f 75 |/maps, b|ut on ou|
|00002650| 72 20 73 79 73 74 65 6d | 2c 20 2f 75 73 72 2f 73 |r system|, /usr/s|
|00002660| 70 6f 6f 6c 2f 6e 65 77 | 73 0a 58 23 09 69 73 20 |pool/new|s.X#.is |
|00002670| 61 20 73 65 70 61 72 61 | 74 65 20 66 69 6c 65 20 |a separa|te file |
|00002680| 73 79 73 74 65 6d 2c 20 | 61 6e 64 20 2f 75 73 72 |system, |and /usr|
|00002690| 20 72 75 6e 73 20 63 6c | 6f 73 65 20 74 6f 20 74 | runs cl|ose to t|
|000026a0| 68 65 20 6c 69 6d 69 74 | 2e 2e 2e 0a 58 4d 41 50 |he limit|....XMAP|
|000026b0| 44 49 52 3d 2f 75 73 72 | 2f 73 70 6f 6f 6c 2f 6e |DIR=/usr|/spool/n|
|000026c0| 65 77 73 2f 6d 61 70 73 | 0a 58 23 09 50 65 72 73 |ews/maps|.X#.Pers|
|000026d0| 6f 6e 20 74 6f 20 73 65 | 6e 64 20 72 65 73 75 6c |on to se|nd resul|
|000026e0| 74 73 20 61 6e 64 20 65 | 72 72 6f 72 20 6d 65 73 |ts and e|rror mes|
|000026f0| 73 61 67 65 73 20 74 6f | 0a 58 4e 4f 54 49 46 59 |sages to|.XNOTIFY|
|00002700| 3d 63 6c 65 77 69 73 0a | 58 23 09 70 61 74 68 61 |=clewis.|X#.patha|
|00002710| 6c 69 61 73 20 62 69 6e | 61 72 79 0a 58 50 41 54 |lias bin|ary.XPAT|
|00002720| 48 41 4c 49 41 53 3d 2f | 75 73 72 2f 6c 62 69 6e |HALIAS=/|usr/lbin|
|00002730| 2f 70 61 74 68 61 6c 69 | 61 73 0a 58 23 09 77 68 |/pathali|as.X#.wh|
|00002740| 65 72 65 20 79 6f 75 20 | 77 61 6e 74 20 74 68 65 |ere you |want the|
|00002750| 20 70 61 74 68 20 66 69 | 6c 65 73 20 74 6f 20 67 | path fi|les to g|
|00002760| 6f 3a 0a 58 23 09 41 20 | 63 6f 6e 76 65 6e 69 65 |o:.X#.A |convenie|
|00002770| 6e 74 20 70 6c 61 63 65 | 20 69 73 20 2f 75 73 72 |nt place| is /usr|
|00002780| 2f 6c 69 62 2f 75 75 63 | 70 2f 70 61 74 68 73 20 |/lib/uuc|p/paths |
|00002790| 77 68 69 63 68 20 69 73 | 20 74 68 65 20 73 6d 61 |which is| the sma|
|000027a0| 69 6c 0a 58 23 09 64 65 | 66 61 75 6c 74 2e 20 20 |il.X#.de|fault. |
|000027b0| 49 66 20 79 6f 75 27 72 | 65 20 67 6f 69 6e 67 20 |If you'r|e going |
|000027c0| 74 6f 20 70 75 74 20 74 | 68 69 73 20 69 6e 20 2f |to put t|his in /|
|000027d0| 75 73 72 2f 6c 69 62 2f | 75 75 63 70 2c 20 49 20 |usr/lib/|uucp, I |
|000027e0| 73 75 67 67 65 73 74 0a | 58 23 09 28 72 61 74 68 |suggest.|X#.(rath|
|000027f0| 65 72 20 74 68 61 6e 20 | 6d 61 6b 65 20 2f 75 73 |er than |make /us|
|00002800| 72 2f 6c 69 62 2f 75 75 | 63 70 20 77 72 69 74 65 |r/lib/uu|cp write|
|00002810| 61 62 6c 65 20 62 79 20 | 65 76 65 72 79 62 6f 64 |able by |everybod|
|00002820| 79 29 2c 20 64 6f 69 6e | 67 0a 58 23 09 74 68 65 |y), doin|g.X#.the|
|00002830| 20 66 6f 6c 6c 6f 77 69 | 6e 67 3a 0a 58 23 09 09 | followi|ng:.X#..|
|00002840| 73 75 20 72 6f 6f 74 0a | 58 23 09 09 63 64 20 2f |su root.|X#..cd /|
|00002850| 75 73 72 2f 6c 69 62 2f | 75 75 63 70 0a 58 23 09 |usr/lib/|uucp.X#.|
|00002860| 09 74 6f 75 63 68 20 70 | 61 74 68 73 0a 58 23 09 |.touch p|aths.X#.|
|00002870| 09 63 68 6f 77 6e 20 6e | 65 77 73 20 70 61 74 68 |.chown n|ews path|
|00002880| 73 09 28 6f 72 20 75 73 | 65 6e 65 74 29 0a 58 23 |s.(or us|enet).X#|
|00002890| 09 09 63 68 6d 6f 64 20 | 36 34 34 20 70 61 74 68 |..chmod |644 path|
|000028a0| 73 0a 58 50 41 54 48 46 | 49 4c 45 3d 2f 75 73 72 |s.XPATHF|ILE=/usr|
|000028b0| 2f 6c 69 62 2f 75 75 63 | 70 2f 70 61 74 68 73 0a |/lib/uuc|p/paths.|
|000028c0| 58 23 09 41 75 78 69 6c | 69 61 72 79 20 6f 70 74 |X#.Auxil|iary opt|
|000028d0| 69 6f 6e 73 20 74 6f 20 | 70 61 74 68 61 6c 69 61 |ions to |pathalia|
|000028e0| 73 2e 20 20 54 75 6e 65 | 20 74 6f 20 6c 6f 63 61 |s. Tune| to loca|
|000028f0| 6c 20 74 61 73 74 65 73 | 2e 2e 2e 2e 0a 58 50 41 |l tastes|.....XPA|
|00002900| 54 48 4f 50 54 53 3d 22 | 2d 64 77 61 74 6d 61 74 |THOPTS="|-dwatmat|
|00002910| 68 22 0a 58 23 09 49 66 | 20 79 6f 75 20 68 61 76 |h".X#.If| you hav|
|00002920| 65 20 61 20 76 65 72 73 | 69 6f 6e 5b 73 5d 20 6f |e a vers|ion[s] o|
|00002930| 66 20 79 6f 75 72 20 6d | 61 63 68 69 6e 65 27 73 |f your m|achine's|
|00002940| 20 6d 61 70 20 65 6e 74 | 72 79 20 74 68 61 74 20 | map ent|ry that |
|00002950| 69 73 20 64 69 66 66 65 | 72 65 6e 74 20 0a 58 23 |is diffe|rent .X#|
|00002960| 09 66 72 6f 6d 20 77 68 | 61 74 27 73 20 70 75 62 |.from wh|at's pub|
|00002970| 6c 69 73 68 65 64 2c 20 | 63 68 61 6e 67 65 20 74 |lished, |change t|
|00002980| 68 69 73 20 76 61 72 69 | 61 62 6c 65 20 74 6f 20 |his vari|able to |
|00002990| 70 6f 69 6e 74 20 61 74 | 20 69 74 2f 74 68 65 6d |point at| it/them|
|000029a0| 2e 0a 58 23 09 28 45 67 | 3a 20 49 20 70 75 62 6c |..X#.(Eg|: I publ|
|000029b0| 69 73 68 20 74 68 65 20 | 66 69 72 73 74 20 65 6e |ish the |first en|
|000029c0| 74 72 79 20 68 65 72 65 | 2c 20 61 6e 64 20 74 68 |try here|, and th|
|000029d0| 65 20 73 65 63 6f 6e 64 | 20 6f 6e 65 20 69 73 20 |e second| one is |
|000029e0| 6c 6f 63 61 6c 20 74 75 | 6e 69 6e 67 0a 58 23 09 |local tu|ning.X#.|
|000029f0| 61 6e 64 20 68 69 64 64 | 65 6e 20 63 6f 6e 6e 65 |and hidd|en conne|
|00002a00| 63 74 69 6f 6e 73 29 0a | 58 50 41 54 48 4c 4f 43 |ctions).|XPATHLOC|
|00002a10| 41 4c 3d 22 2f 75 73 72 | 32 2f 63 6c 65 77 69 73 |AL="/usr|2/clewis|
|00002a20| 2f 6d 61 70 73 2f 70 61 | 74 68 2e 6c 6f 63 61 6c |/maps/pa|th.local|
|00002a30| 20 2f 75 73 72 32 2f 63 | 6c 65 77 69 73 2f 6d 61 | /usr2/c|lewis/ma|
|00002a40| 70 73 2f 70 61 74 68 2e | 6e 6f 6e 70 75 62 6c 69 |ps/path.|nonpubli|
|00002a50| 63 22 0a 58 23 09 49 66 | 20 74 68 69 73 20 76 61 |c".X#.If| this va|
|00002a60| 72 69 61 62 6c 65 20 69 | 73 20 73 65 74 20 74 6f |riable i|s set to|
|00002a70| 20 74 68 65 20 63 6f 6d | 70 72 65 73 73 20 62 69 | the com|press bi|
|00002a80| 6e 61 72 79 2c 20 6d 61 | 70 73 20 77 69 6c 6c 20 |nary, ma|ps will |
|00002a90| 62 65 0a 58 23 09 63 6f | 6d 70 72 65 73 73 65 64 |be.X#.co|mpressed|
|00002aa0| 2e 0a 58 43 4f 4d 50 52 | 45 53 53 3d 2f 75 73 72 |..XCOMPR|ESS=/usr|
|00002ab0| 32 2f 63 6c 65 77 69 73 | 2f 6d 61 70 73 2f 63 6f |2/clewis|/maps/co|
|00002ac0| 6d 70 72 65 73 73 31 32 | 0a 58 23 09 31 20 74 6f |mpress12|.X#.1 to|
|00002ad0| 20 73 74 72 69 70 20 63 | 6f 6d 6d 65 6e 74 73 20 | strip c|omments |
|00002ae0| 66 72 6f 6d 20 6d 61 70 | 73 20 2d 20 64 6f 6e 27 |from map|s - don'|
|00002af0| 74 20 64 6f 20 74 68 69 | 73 20 69 66 20 79 6f 75 |t do thi|s if you|
|00002b00| 20 77 61 6e 74 20 74 6f | 20 75 73 65 0a 58 23 09 | want to| use.X#.|
|00002b10| 75 75 77 68 65 72 65 2e | 20 20 48 6f 77 65 76 65 |uuwhere.| Howeve|
|00002b20| 72 2c 20 74 68 69 73 20 | 69 73 20 61 20 67 72 65 |r, this |is a gre|
|00002b30| 61 74 20 73 70 61 63 65 | 20 73 61 76 65 72 2e 2e |at space| saver..|
|00002b40| 2e 0a 58 4e 4f 43 4f 4d | 4d 45 4e 54 53 3d 30 0a |..XNOCOM|MENTS=0.|
|00002b50| 58 23 09 44 65 66 69 6e | 65 20 74 6f 20 74 68 65 |X#.Defin|e to the|
|00002b60| 20 6e 61 6d 65 20 6f 66 | 20 61 20 66 69 6c 65 20 | name of| a file |
|00002b70| 77 68 65 72 65 20 79 6f | 75 20 77 61 6e 74 20 74 |where yo|u want t|
|00002b80| 68 65 20 77 68 65 72 65 | 20 64 61 74 61 62 61 73 |he where| databas|
|00002b90| 65 0a 58 23 09 74 6f 20 | 62 65 20 6b 65 70 74 2e |e.X#.to |be kept.|
|00002ba0| 20 20 55 6e 64 65 66 20 | 69 66 20 79 6f 75 20 64 | Undef |if you d|
|00002bb0| 6f 6e 27 74 20 77 61 6e | 74 20 75 75 77 68 65 72 |on't wan|t uuwher|
|00002bc0| 65 20 61 74 20 61 6c 6c | 2e 0a 58 57 48 45 52 45 |e at all|..XWHERE|
|00002bd0| 46 49 4c 45 3d 24 4d 41 | 50 44 49 52 2f 77 68 65 |FILE=$MA|PDIR/whe|
|00002be0| 72 65 2e 64 62 0a 58 23 | 09 55 6e 63 6f 6d 6d 65 |re.db.X#|.Uncomme|
|00002bf0| 6e 74 20 74 68 69 73 20 | 69 66 20 79 6f 75 20 77 |nt this |if you w|
|00002c00| 61 6e 74 20 74 68 65 20 | 6d 61 70 20 75 6e 70 61 |ant the |map unpa|
|00002c10| 63 6b 65 72 20 74 6f 20 | 72 65 6d 6f 76 65 20 74 |cker to |remove t|
|00002c20| 68 65 0a 58 23 09 4e 65 | 77 73 20 61 72 74 69 63 |he.X#.Ne|ws artic|
|00002c30| 6c 65 73 20 61 66 74 65 | 72 20 74 68 65 20 6d 61 |les afte|r the ma|
|00002c40| 70 73 20 68 61 76 65 20 | 62 65 65 6e 20 65 78 74 |ps have |been ext|
|00002c50| 72 61 63 74 65 64 20 66 | 72 6f 6d 20 74 68 65 6d |racted f|rom them|
|00002c60| 2e 0a 58 23 09 44 4f 20 | 4e 4f 54 20 44 4f 20 54 |..X#.DO |NOT DO T|
|00002c70| 48 49 53 20 49 46 20 59 | 4f 55 20 46 4f 52 57 41 |HIS IF Y|OU FORWA|
|00002c80| 52 44 20 4d 41 50 20 41 | 52 54 49 43 4c 45 53 20 |RD MAP A|RTICLES |
|00002c90| 54 4f 20 4f 54 48 45 52 | 20 53 49 54 45 53 21 0a |TO OTHER| SITES!.|
|00002ca0| 58 23 09 54 68 69 73 20 | 61 6c 73 6f 20 72 65 6c |X#.This |also rel|
|00002cb0| 69 65 73 20 6f 6e 20 79 | 6f 75 72 20 61 77 6b 20 |ies on y|our awk |
|00002cc0| 72 65 74 75 72 6e 69 6e | 67 20 22 65 78 69 74 22 |returnin|g "exit"|
|00002cd0| 20 63 6f 64 65 73 20 70 | 72 6f 70 65 72 6c 79 2e | codes p|roperly.|
|00002ce0| 0a 58 23 09 59 6f 75 72 | 73 20 6d 61 79 20 6e 6f |.X#.Your|s may no|
|00002cf0| 74 2e 2e 2e 0a 58 23 55 | 4e 4c 49 4e 4b 3d 31 0a |t....X#U|NLINK=1.|
|00002d00| 58 23 09 50 53 3a 20 74 | 68 65 72 65 20 69 73 20 |X#.PS: t|here is |
|00002d10| 2a 6f 6e 65 2a 20 70 6f | 73 73 69 62 6c 65 20 65 |*one* po|ssible e|
|00002d20| 64 69 74 20 74 68 61 74 | 20 79 6f 75 20 6d 69 67 |dit that| you mig|
|00002d30| 68 74 20 77 61 6e 74 20 | 74 6f 20 6d 61 6b 65 0a |ht want |to make.|
|00002d40| 58 23 09 62 65 6c 6f 77 | 20 2d 20 74 68 65 20 6d |X#.below| - the m|
|00002d50| 61 70 73 20 75 73 65 64 | 20 74 6f 20 67 65 6e 65 |aps used| to gene|
|00002d60| 72 61 74 65 20 77 69 65 | 72 64 20 64 6f 6d 61 69 |rate wie|rd domai|
|00002d70| 6e 73 2c 20 62 75 74 20 | 6d 6f 73 74 20 6f 66 20 |ns, but |most of |
|00002d80| 74 68 61 74 0a 58 23 09 | 61 70 70 65 61 72 73 20 |that.X#.|appears |
|00002d90| 74 6f 20 62 65 20 67 6f | 6e 65 20 6e 6f 77 20 28 |to be go|ne now (|
|00002da0| 64 6f 6e 27 74 20 61 73 | 6b 20 6d 65 2c 20 49 20 |don't as|k me, I |
|00002db0| 6e 65 76 65 72 20 70 61 | 72 74 69 63 75 6c 61 72 |never pa|rticular|
|00002dc0| 6c 79 20 75 6e 64 65 72 | 73 74 6f 6f 64 0a 58 23 |ly under|stood.X#|
|00002dd0| 09 69 74 2c 20 62 75 74 | 20 73 69 6e 63 65 20 50 |.it, but| since P|
|00002de0| 65 74 65 72 20 48 6f 6e | 65 79 6d 61 6e 20 72 65 |eter Hon|eyman re|
|00002df0| 63 6f 6d 6d 65 6e 64 65 | 64 20 69 74 2e 2e 2e 29 |commende|d it...)|
|00002e00| 2e 20 20 49 66 20 79 6f | 75 20 6f 62 6a 65 63 74 |. If yo|u object|
|00002e10| 0a 58 23 09 74 6f 20 74 | 68 65 73 65 20 77 69 65 |.X#.to t|hese wie|
|00002e20| 72 64 20 64 6f 6d 61 69 | 6e 73 2c 20 75 6e 63 6f |rd domai|ns, unco|
|00002e30| 6d 6d 65 6e 74 20 74 68 | 65 20 65 67 72 65 70 2e |mment th|e egrep.|
|00002e40| 0a 58 0a 58 23 09 45 64 | 69 74 20 6e 6f 20 6d 6f |.X.X#.Ed|it no mo|
|00002e50| 72 65 2e 2e 2e 2e 0a 58 | 0a 58 75 6d 61 73 6b 20 |re.....X|.Xumask |
|00002e60| 30 32 32 0a 58 0a 58 69 | 66 20 74 65 73 74 20 21 |022.X.Xi|f test !|
|00002e70| 20 2d 64 20 24 4d 41 50 | 44 49 52 20 2d 6f 20 21 | -d $MAP|DIR -o !|
|00002e80| 20 2d 77 20 24 4d 41 50 | 44 49 52 0a 58 74 68 65 | -w $MAP|DIR.Xthe|
|00002e90| 6e 0a 58 20 20 20 20 65 | 63 68 6f 20 22 24 4d 41 |n.X e|cho "$MA|
|00002ea0| 50 44 49 52 20 6d 69 73 | 73 69 6e 67 2c 20 75 6e |PDIR mis|sing, un|
|00002eb0| 77 72 69 74 61 62 6c 65 | 20 6f 72 20 6e 6f 74 20 |writable| or not |
|00002ec0| 61 20 64 69 72 65 63 74 | 6f 72 79 22 20 3e 26 32 |a direct|ory" >&2|
|00002ed0| 0a 58 20 20 20 20 65 78 | 69 74 20 31 0a 58 66 69 |.X ex|it 1.Xfi|
|00002ee0| 0a 58 0a 58 69 66 20 74 | 65 73 74 20 24 23 20 3d |.X.Xif t|est $# =|
|00002ef0| 20 31 0a 58 74 68 65 6e | 0a 58 20 20 20 20 63 61 | 1.Xthen|.X ca|
|00002f00| 73 65 20 24 31 20 69 6e | 0a 58 09 2d 70 29 0a 58 |se $1 in|.X.-p).X|
|00002f10| 09 20 20 20 20 66 6f 72 | 63 65 70 61 74 68 3d 74 |. for|cepath=t|
|00002f20| 72 75 65 0a 58 09 20 20 | 20 20 3b 3b 0a 58 09 2d |rue.X. | ;;.X.-|
|00002f30| 50 29 0a 58 09 20 20 20 | 20 66 6f 72 63 65 70 61 |P).X. | forcepa|
|00002f40| 74 68 3d 66 61 6c 73 65 | 0a 58 09 20 20 20 20 3b |th=false|.X. ;|
|00002f50| 3b 0a 58 09 2d 69 29 0a | 58 09 20 20 20 20 63 64 |;.X.-i).|X. cd|
|00002f60| 20 2f 0a 58 09 20 20 20 | 20 72 6d 20 2d 66 20 24 | /.X. | rm -f $|
|00002f70| 42 41 54 43 48 2e 77 6f | 72 6b 0a 58 09 20 20 20 |BATCH.wo|rk.X. |
|00002f80| 20 23 20 75 73 69 6e 67 | 20 66 69 6e 64 2f 73 6f | # using| find/so|
|00002f90| 72 74 20 69 6e 73 74 65 | 61 64 20 6f 66 20 6c 73 |rt inste|ad of ls|
|00002fa0| 20 6a 75 73 74 20 69 6e | 20 63 61 73 65 20 74 68 | just in| case th|
|00002fb0| 65 72 65 27 73 20 6c 6f | 74 73 20 6f 66 0a 58 09 |ere's lo|ts of.X.|
|00002fc0| 20 20 20 20 23 20 61 72 | 74 69 63 6c 65 73 2e 2e | # ar|ticles..|
|00002fd0| 2e 2e 0a 58 09 20 20 20 | 20 66 69 6e 64 20 24 4e |...X. | find $N|
|00002fe0| 45 57 53 53 50 4f 4f 4c | 2f 63 6f 6d 70 2f 6d 61 |EWSSPOOL|/comp/ma|
|00002ff0| 69 6c 2f 6d 61 70 73 20 | 2d 74 79 70 65 20 66 20 |il/maps |-type f |
|00003000| 2d 70 72 69 6e 74 20 7c | 20 73 6f 72 74 20 3e 20 |-print || sort > |
|00003010| 24 42 41 54 43 48 0a 58 | 09 20 20 20 20 3b 3b 0a |$BATCH.X|. ;;.|
|00003020| 58 09 2a 29 0a 58 09 20 | 20 20 20 65 63 68 6f 20 |X.*).X. | echo |
|00003030| 22 75 73 61 67 65 3a 20 | 75 6e 70 61 63 6b 6d 61 |"usage: |unpackma|
|00003040| 70 73 20 5b 2d 69 5d 20 | 5b 2d 70 5d 22 20 3e 26 |ps [-i] |[-p]" >&|
|00003050| 32 0a 58 09 20 20 20 20 | 65 78 69 74 20 31 0a 58 |2.X. |exit 1.X|
|00003060| 09 20 20 20 20 3b 3b 0a | 58 20 20 20 20 65 73 61 |. ;;.|X esa|
|00003070| 63 0a 58 66 69 0a 58 0a | 58 63 64 20 24 4d 41 50 |c.Xfi.X.|Xcd $MAP|
|00003080| 44 49 52 0a 58 57 48 45 | 52 45 54 4d 50 3d 2f 74 |DIR.XWHE|RETMP=/t|
|00003090| 6d 70 2f 57 48 45 52 45 | 24 24 0a 58 72 6d 20 2d |mp/WHERE|$$.Xrm -|
|000030a0| 66 20 24 57 48 45 52 45 | 54 4d 50 0a 58 09 20 20 |f $WHERE|TMP.X. |
|000030b0| 20 20 0a 58 77 68 69 6c | 65 20 74 65 73 74 20 2d | .Xwhil|e test -|
|000030c0| 66 20 24 42 41 54 43 48 | 20 2d 6f 20 2d 66 20 24 |f $BATCH| -o -f $|
|000030d0| 42 41 54 43 48 2e 77 6f | 72 6b 0a 58 64 6f 0a 58 |BATCH.wo|rk.Xdo.X|
|000030e0| 20 20 20 20 23 20 54 68 | 65 72 65 20 69 73 20 6e | # Th|ere is n|
|000030f0| 6f 20 77 69 6e 64 6f 77 | 20 6f 66 20 76 75 6c 6e |o window| of vuln|
|00003100| 65 72 61 62 69 6c 69 74 | 79 20 68 65 72 65 20 61 |erabilit|y here a|
|00003110| 73 20 6c 6f 6e 67 20 61 | 73 20 6e 6f 6f 6e 65 20 |s long a|s noone |
|00003120| 65 6c 73 65 20 69 73 0a | 58 20 20 20 20 23 20 63 |else is.|X # c|
|00003130| 72 65 61 74 69 6e 67 20 | 24 42 41 54 43 48 2e 77 |reating |$BATCH.w|
|00003140| 6f 72 6b 2e 0a 58 20 20 | 20 20 69 66 20 74 65 73 |ork..X | if tes|
|00003150| 74 20 21 20 2d 66 20 24 | 42 41 54 43 48 2e 77 6f |t ! -f $|BATCH.wo|
|00003160| 72 6b 0a 58 20 20 20 20 | 74 68 65 6e 0a 58 09 6d |rk.X |then.X.m|
|00003170| 76 20 24 42 41 54 43 48 | 20 24 42 41 54 43 48 2e |v $BATCH| $BATCH.|
|00003180| 77 6f 72 6b 0a 58 20 20 | 20 20 66 69 0a 58 0a 58 |work.X | fi.X.X|
|00003190| 20 20 20 20 77 68 69 6c | 65 20 72 65 61 64 20 69 | whil|e read i|
|000031a0| 20 73 74 75 66 66 0a 58 | 20 20 20 20 64 6f 0a 58 | stuff.X| do.X|
|000031b0| 09 23 09 55 73 69 6e 67 | 20 73 74 75 66 66 20 74 |.#.Using| stuff t|
|000031c0| 6f 20 63 61 70 74 75 72 | 65 20 72 65 6d 61 69 6e |o captur|e remain|
|000031d0| 69 6e 67 20 6a 75 6e 6b | 20 6f 6e 20 6c 69 6e 65 |ing junk| on line|
|000031e0| 2e 0a 58 09 23 09 45 67 | 3a 20 43 2d 6e 65 77 73 |..X.#.Eg|: C-news|
|000031f0| 20 61 72 74 69 63 6c 65 | 20 73 69 7a 65 73 2e 0a | article| sizes..|
|00003200| 58 0a 58 09 69 66 20 74 | 65 73 74 20 2d 7a 20 22 |X.X.if t|est -z "|
|00003210| 24 69 22 0a 58 09 74 68 | 65 6e 0a 58 09 20 20 20 |$i".X.th|en.X. |
|00003220| 20 62 72 65 61 6b 0a 58 | 09 66 69 0a 58 0a 58 09 | break.X|.fi.X.X.|
|00003230| 69 66 20 74 65 73 74 20 | 21 20 2d 72 20 24 69 0a |if test |! -r $i.|
|00003240| 58 09 74 68 65 6e 0a 58 | 09 20 20 20 20 65 63 68 |X.then.X|. ech|
|00003250| 6f 20 22 24 69 20 61 70 | 70 61 72 65 6e 74 6c 79 |o "$i ap|parently|
|00003260| 20 73 75 70 65 72 73 65 | 64 65 64 20 6f 72 20 65 | superse|ded or e|
|00003270| 78 70 69 72 65 64 22 0a | 58 09 20 20 20 20 63 6f |xpired".|X. co|
|00003280| 6e 74 69 6e 75 65 0a 58 | 09 66 69 0a 58 0a 58 09 |ntinue.X|.fi.X.X.|
|00003290| 23 20 54 68 69 73 20 61 | 77 6b 20 73 63 72 69 70 |# This a|wk scrip|
|000032a0| 74 20 64 65 70 65 6e 64 | 73 20 6f 6e 20 74 68 65 |t depend|s on the|
|000032b0| 20 66 6f 6c 6c 6f 77 69 | 6e 67 20 6d 61 70 20 61 | followi|ng map a|
|000032c0| 72 74 69 63 6c 65 20 66 | 6f 72 6d 61 74 3a 0a 58 |rticle f|ormat:.X|
|000032d0| 09 23 20 3c 64 6f 6e 27 | 74 20 63 61 72 65 73 3e |.# <don'|t cares>|
|000032e0| 0a 58 09 23 20 63 61 74 | 20 3c 3c 20 27 73 6f 6d |.X.# cat| << 'som|
|000032f0| 65 74 68 69 6e 67 27 20 | 3e 20 66 69 6c 65 6e 61 |ething' |> filena|
|00003300| 6d 65 0a 58 09 23 20 6d | 61 70 20 62 6f 64 79 0a |me.X.# m|ap body.|
|00003310| 58 09 23 20 73 6f 6d 65 | 74 68 69 6e 67 0a 58 09 |X.# some|thing.X.|
|00003320| 23 20 3c 64 6f 6e 27 74 | 20 63 61 72 65 73 3e 0a |# <don't| cares>.|
|00003330| 58 09 23 20 22 73 6f 6d | 65 74 68 69 6e 67 22 20 |X.# "som|ething" |
|00003340| 64 6f 65 73 6e 27 74 20 | 68 61 76 65 20 74 6f 20 |doesn't |have to |
|00003350| 62 65 20 65 6e 63 6c 6f | 73 65 64 20 69 6e 20 71 |be enclo|sed in q|
|00003360| 75 6f 74 65 73 20 69 6e | 20 74 68 65 20 63 61 74 |uotes in| the cat|
|00003370| 20 6c 69 6e 65 2e 0a 58 | 09 23 20 54 68 69 73 20 | line..X|.# This |
|00003380| 69 73 6e 27 74 20 70 61 | 72 74 69 63 75 6c 61 72 |isn't pa|rticular|
|00003390| 6c 79 20 66 61 73 74 20 | 2d 20 63 6f 75 6c 64 20 |ly fast |- could |
|000033a0| 62 65 20 64 72 61 6d 61 | 74 69 63 61 6c 6c 79 20 |be drama|tically |
|000033b0| 73 70 65 65 64 65 64 20 | 75 70 0a 58 09 23 20 69 |speeded |up.X.# i|
|000033c0| 66 20 77 72 69 74 74 65 | 6e 20 69 6e 20 43 2c 20 |f writte|n in C, |
|000033d0| 62 75 74 20 49 20 77 61 | 73 20 74 72 79 69 6e 67 |but I wa|s trying|
|000033e0| 20 74 6f 20 65 6e 73 75 | 72 65 20 74 68 61 74 20 | to ensu|re that |
|000033f0| 74 68 69 73 20 69 73 20 | 61 73 20 73 69 6d 70 6c |this is |as simpl|
|00003400| 65 0a 58 09 23 20 61 6e | 64 20 73 65 6c 66 2d 65 |e.X.# an|d self-e|
|00003410| 76 69 64 65 6e 74 20 61 | 73 20 70 6f 73 73 69 62 |vident a|s possib|
|00003420| 6c 65 2e 0a 58 0a 58 09 | 61 77 6b 20 27 0a 58 09 |le..X.X.|awk '.X.|
|00003430| 42 45 47 49 4e 09 7b 0a | 58 09 09 77 68 65 72 65 |BEGIN.{.|X..where|
|00003440| 20 3d 20 22 27 22 24 57 | 48 45 52 45 46 49 4c 45 | = "'"$W|HEREFILE|
|00003450| 22 27 22 0a 58 09 20 20 | 20 20 7d 0a 58 09 24 31 |"'".X. | }.X.$1|
|00003460| 20 3d 3d 20 22 63 61 74 | 22 20 26 26 20 63 6f 6c | == "cat|" && col|
|00003470| 6c 65 63 74 69 6e 67 20 | 3d 3d 20 30 20 7b 0a 58 |lecting |== 0 {.X|
|00003480| 09 09 72 65 63 6e 6f 20 | 3d 20 31 0a 58 09 09 65 |..recno |= 1.X..e|
|00003490| 6e 64 74 6f 6b 65 6e 3d | 24 33 3b 0a 58 09 09 69 |ndtoken=|$3;.X..i|
|000034a0| 66 20 28 73 75 62 73 74 | 72 28 65 6e 64 74 6f 6b |f (subst|r(endtok|
|000034b0| 65 6e 2c 20 31 2c 20 31 | 29 20 3d 3d 20 22 27 22 |en, 1, 1|) == "'"|
|000034c0| 27 22 27 22 29 0a 58 09 | 09 20 20 20 20 65 6e 64 |'"'").X.|. end|
|000034d0| 74 6f 6b 65 6e 3d 73 75 | 62 73 74 72 28 65 6e 64 |token=su|bstr(end|
|000034e0| 74 6f 6b 65 6e 2c 20 32 | 2c 20 6c 65 6e 67 74 68 |token, 2|, length|
|000034f0| 28 65 6e 64 74 6f 6b 65 | 6e 29 2d 32 29 3b 0a 58 |(endtoke|n)-2);.X|
|00003500| 09 09 63 6f 6c 6c 65 63 | 74 69 6e 67 20 3d 20 31 |..collec|ting = 1|
|00003510| 3b 0a 58 09 09 66 6f 75 | 6e 64 6f 6e 65 20 3d 20 |;.X..fou|ndone = |
|00003520| 31 3b 0a 58 09 09 6e 61 | 6d 65 20 3d 20 24 35 3b |1;.X..na|me = $5;|
|00003530| 0a 58 09 09 69 66 20 28 | 69 6e 64 65 78 28 6e 61 |.X..if (|index(na|
|00003540| 6d 65 2c 20 22 2f 22 29 | 20 21 3d 20 30 29 20 7b |me, "/")| != 0) {|
|00003550| 0a 58 09 09 20 20 20 20 | 70 72 69 6e 74 66 28 22 |.X.. |printf("|
|00003560| 53 65 63 75 72 69 74 79 | 20 76 69 6f 6c 61 74 69 |Security| violati|
|00003570| 6f 6e 20 61 74 74 65 6d | 70 74 20 69 6e 20 25 73 |on attem|pt in %s|
|00003580| 21 5c 6e 22 2c 20 22 27 | 24 69 27 22 29 3b 0a 58 |!\n", "'|$i'");.X|
|00003590| 09 09 20 20 20 20 65 78 | 69 74 20 31 3b 0a 58 09 |.. ex|it 1;.X.|
|000035a0| 09 7d 20 65 6c 73 65 0a | 58 09 09 20 20 20 20 70 |.} else.|X.. p|
|000035b0| 72 69 6e 74 66 28 22 65 | 78 74 72 61 63 74 69 6e |rintf("e|xtractin|
|000035c0| 67 20 25 73 20 66 72 6f | 6d 20 25 73 5c 6e 22 2c |g %s fro|m %s\n",|
|000035d0| 20 6e 61 6d 65 2c 20 22 | 27 24 69 27 22 29 3b 0a | name, "|'$i'");.|
|000035e0| 58 09 09 6e 65 78 74 3b | 0a 58 09 20 20 20 20 7d |X..next;|.X. }|
|000035f0| 0a 58 0a 58 09 20 20 20 | 20 7b 0a 58 09 09 69 66 |.X.X. | {.X..if|
|00003600| 20 28 21 63 6f 6c 6c 65 | 63 74 69 6e 67 29 0a 58 | (!colle|cting).X|
|00003610| 09 09 20 20 20 20 6e 65 | 78 74 3b 0a 58 09 09 69 |.. ne|xt;.X..i|
|00003620| 66 20 28 24 31 20 3d 3d | 20 65 6e 64 74 6f 6b 65 |f ($1 ==| endtoke|
|00003630| 6e 29 20 7b 0a 58 09 09 | 20 20 20 20 6c 69 6e 65 |n) {.X..| line|
|00003640| 20 3d 20 22 72 6d 20 2d | 66 20 22 20 6e 61 6d 65 | = "rm -|f " name|
|00003650| 20 22 2e 5a 22 0a 58 09 | 09 20 20 20 20 70 72 69 | ".Z".X.|. pri|
|00003660| 6e 74 20 22 22 20 7c 20 | 6c 69 6e 65 0a 58 09 09 |nt "" | |line.X..|
|00003670| 20 20 20 20 63 6f 6c 6c | 65 63 74 69 6e 67 20 3d | coll|ecting =|
|00003680| 20 30 3b 0a 58 09 09 20 | 20 20 20 6e 65 78 74 0a | 0;.X.. | next.|
|00003690| 58 09 09 7d 0a 58 09 09 | 69 66 20 28 24 31 20 7e |X..}.X..|if ($1 ~|
|000036a0| 20 2f 5e 23 4e 2f 20 26 | 26 20 77 68 65 72 65 29 | /^#N/ &|& where)|
|000036b0| 20 7b 0a 58 09 09 20 20 | 20 20 66 6f 72 20 28 69 | {.X.. | for (i|
|000036c0| 20 3d 20 32 3b 20 69 20 | 3c 3d 20 4e 46 3b 20 69 | = 2; i |<= NF; i|
|000036d0| 2b 2b 29 20 7b 0a 58 09 | 09 09 73 6e 61 6d 65 20 |++) {.X.|..sname |
|000036e0| 3d 20 24 69 0a 58 09 09 | 09 69 66 20 28 70 20 3d |= $i.X..|.if (p =|
|000036f0| 20 69 6e 64 65 78 28 73 | 6e 61 6d 65 2c 20 22 2c | index(s|name, ",|
|00003700| 22 29 29 0a 58 09 09 09 | 20 20 20 20 73 6e 61 6d |")).X...| snam|
|00003710| 65 20 3d 20 73 75 62 73 | 74 72 28 73 6e 61 6d 65 |e = subs|tr(sname|
|00003720| 2c 20 31 2c 20 70 2d 31 | 29 0a 58 09 09 09 70 72 |, 1, p-1|).X...pr|
|00003730| 69 6e 74 66 20 22 40 25 | 73 20 25 73 20 25 64 5c |intf "@%|s %s %d\|
|00003740| 6e 22 2c 20 73 6e 61 6d | 65 2c 20 6e 61 6d 65 2c |n", snam|e, name,|
|00003750| 20 72 65 63 6e 6f 20 3e | 3e 20 5c 0a 58 09 09 09 | recno >|> \.X...|
|00003760| 20 20 20 20 22 27 24 57 | 48 45 52 45 54 4d 50 27 | "'$W|HERETMP'|
|00003770| 22 3b 0a 58 09 09 20 20 | 20 20 7d 0a 58 09 09 7d |";.X.. | }.X..}|
|00003780| 0a 58 09 09 69 66 20 28 | 22 27 24 4e 4f 43 4f 4d |.X..if (|"'$NOCOM|
|00003790| 4d 45 4e 54 53 27 22 20 | 3d 3d 20 31 20 26 26 20 |MENTS'" |== 1 && |
|000037a0| 24 30 20 7e 20 2f 23 2f | 29 0a 58 09 09 20 20 20 |$0 ~ /#/|).X.. |
|000037b0| 20 70 72 69 6e 74 20 73 | 75 62 73 74 72 28 24 30 | print s|ubstr($0|
|000037c0| 2c 20 31 2c 20 69 6e 64 | 65 78 28 24 30 2c 20 22 |, 1, ind|ex($0, "|
|000037d0| 23 22 29 29 20 3e 20 6e | 61 6d 65 0a 58 09 09 65 |#")) > n|ame.X..e|
|000037e0| 6c 73 65 20 7b 0a 58 09 | 09 20 20 20 20 70 72 69 |lse {.X.|. pri|
|000037f0| 6e 74 20 24 30 20 3e 20 | 6e 61 6d 65 0a 58 09 09 |nt $0 > |name.X..|
|00003800| 7d 0a 58 09 09 72 65 63 | 6e 6f 2b 2b 0a 58 09 20 |}.X..rec|no++.X. |
|00003810| 20 20 20 7d 0a 58 09 20 | 20 20 20 0a 58 09 20 20 | }.X. | .X. |
|00003820| 20 20 45 4e 44 20 7b 0a | 58 09 09 69 66 20 28 63 | END {.|X..if (c|
|00003830| 6f 6c 6c 65 63 74 69 6e | 67 29 20 7b 0a 58 09 09 |ollectin|g) {.X..|
|00003840| 20 20 20 20 70 72 69 6e | 74 66 28 22 4e 6f 6e 2d | prin|tf("Non-|
|00003850| 74 65 72 6d 69 6e 61 74 | 65 64 20 6d 61 70 20 69 |terminat|ed map i|
|00003860| 6e 20 25 73 5c 6e 22 2c | 20 22 27 24 69 27 22 29 |n %s\n",| "'$i'")|
|00003870| 3b 0a 58 09 09 20 20 20 | 20 65 78 69 74 20 31 3b |;.X.. | exit 1;|
|00003880| 0a 58 09 09 7d 0a 58 09 | 09 69 66 20 28 21 66 6f |.X..}.X.|.if (!fo|
|00003890| 75 6e 64 6f 6e 65 29 20 | 7b 0a 58 09 09 20 20 20 |undone) |{.X.. |
|000038a0| 20 70 72 69 6e 74 66 28 | 22 25 73 20 64 6f 65 73 | printf(|"%s does|
|000038b0| 20 6e 6f 74 20 63 6f 6e | 74 61 69 6e 20 61 20 70 | not con|tain a p|
|000038c0| 72 6f 70 65 72 6c 79 20 | 66 6f 72 6d 65 64 20 6d |roperly |formed m|
|000038d0| 61 70 5c 6e 22 2c 20 22 | 27 24 69 27 22 29 3b 0a |ap\n", "|'$i'");.|
|000038e0| 58 09 09 20 20 20 20 65 | 78 69 74 20 31 3b 0a 58 |X.. e|xit 1;.X|
|000038f0| 09 09 7d 0a 58 09 20 20 | 20 20 7d 27 20 24 69 0a |..}.X. | }' $i.|
|00003900| 58 0a 58 09 69 66 20 74 | 65 73 74 20 24 3f 20 3d |X.X.if t|est $? =|
|00003910| 20 30 20 2d 61 20 2d 6e | 20 22 24 55 4e 4c 49 4e | 0 -a -n| "$UNLIN|
|00003920| 4b 22 0a 58 09 74 68 65 | 6e 0a 58 09 20 20 20 20 |K".X.the|n.X. |
|00003930| 72 6d 20 2d 66 20 24 69 | 0a 58 09 64 6f 6e 65 0a |rm -f $i|.X.done.|
|00003940| 58 0a 58 20 20 20 20 64 | 6f 6e 65 20 3c 20 24 42 |X.X d|one < $B|
|00003950| 41 54 43 48 2e 77 6f 72 | 6b 0a 58 20 20 20 20 72 |ATCH.wor|k.X r|
|00003960| 6d 20 24 42 41 54 43 48 | 2e 77 6f 72 6b 0a 58 64 |m $BATCH|.work.Xd|
|00003970| 6f 6e 65 20 3e 20 2f 74 | 6d 70 2f 75 6e 70 41 24 |one > /t|mp/unpA$|
|00003980| 24 20 32 3e 26 31 0a 58 | 0a 58 69 66 20 74 65 73 |$ 2>&1.X|.Xif tes|
|00003990| 74 20 2d 6e 20 22 24 43 | 4f 4d 50 52 45 53 53 22 |t -n "$C|OMPRESS"|
|000039a0| 0a 58 74 68 65 6e 0a 58 | 20 20 20 20 66 69 6c 65 |.Xthen.X| file|
|000039b0| 73 3d 60 6c 73 20 3f 2e | 2a 20 7c 20 73 65 64 20 |s=`ls ?.|* | sed |
|000039c0| 2d 65 20 27 2f 5c 2e 5a | 24 2f 64 27 60 0a 58 20 |-e '/\.Z|$/d'`.X |
|000039d0| 20 20 20 69 66 20 74 65 | 73 74 20 2d 6e 20 22 24 | if te|st -n "$|
|000039e0| 66 69 6c 65 73 22 0a 58 | 20 20 20 20 74 68 65 6e |files".X| then|
|000039f0| 0a 58 09 24 43 4f 4d 50 | 52 45 53 53 20 2d 66 20 |.X.$COMP|RESS -f |
|00003a00| 24 66 69 6c 65 73 0a 58 | 20 20 20 20 66 69 0a 58 |$files.X| fi.X|
|00003a10| 66 69 0a 58 0a 58 69 66 | 20 74 65 73 74 20 2d 66 |fi.X.Xif| test -f|
|00003a20| 20 22 24 50 41 54 48 41 | 4c 49 41 53 22 20 2d 61 | "$PATHA|LIAS" -a|
|00003a30| 20 22 24 66 6f 72 63 65 | 70 61 74 68 22 20 21 3d | "$force|path" !=|
|00003a40| 20 66 61 6c 73 65 0a 58 | 74 68 65 6e 0a 58 20 20 | false.X|then.X |
|00003a50| 20 20 69 66 20 74 65 73 | 74 20 2d 73 20 2f 74 6d | if tes|t -s /tm|
|00003a60| 70 2f 75 6e 70 41 24 24 | 20 2d 6f 20 22 24 66 6f |p/unpA$$| -o "$fo|
|00003a70| 72 63 65 70 61 74 68 22 | 20 3d 20 74 72 75 65 0a |rcepath"| = true.|
|00003a80| 58 20 20 20 20 74 68 65 | 6e 0a 58 09 63 64 20 24 |X the|n.X.cd $|
|00003a90| 4d 41 50 44 49 52 0a 58 | 0a 58 09 28 0a 58 09 69 |MAPDIR.X|.X.(.X.i|
|00003aa0| 66 20 74 65 73 74 20 2d | 6e 20 22 24 43 4f 4d 50 |f test -|n "$COMP|
|00003ab0| 52 45 53 53 22 0a 58 09 | 74 68 65 6e 0a 58 09 20 |RESS".X.|then.X. |
|00003ac0| 20 20 20 24 43 4f 4d 50 | 52 45 53 53 20 2d 64 63 | $COMP|RESS -dc|
|00003ad0| 20 5b 75 64 5d 2e 2a 2e | 5a 20 7c 20 63 61 74 20 | [ud].*.|Z | cat |
|00003ae0| 2d 20 24 50 41 54 48 4c | 4f 43 41 4c 0a 58 09 65 |- $PATHL|OCAL.X.e|
|00003af0| 6c 73 65 0a 58 09 20 20 | 20 20 63 61 74 20 5b 75 |lse.X. | cat [u|
|00003b00| 64 5d 2e 2a 20 24 50 41 | 54 48 4c 4f 43 41 4c 0a |d].* $PA|THLOCAL.|
|00003b10| 58 09 66 69 20 7c 0a 58 | 0a 58 09 24 50 41 54 48 |X.fi |.X|.X.$PATH|
|00003b20| 41 4c 49 41 53 20 2d 66 | 20 24 50 41 54 48 4f 50 |ALIAS -f| $PATHOP|
|00003b30| 54 53 20 7c 0a 58 0a 58 | 09 23 20 66 6f 72 6d 61 |TS |.X.X|.# forma|
|00003b40| 74 20 6f 66 20 74 68 65 | 20 70 61 74 68 61 6c 69 |t of the| pathali|
|00003b50| 61 73 20 2d 66 20 6f 75 | 74 70 75 74 20 69 73 0a |as -f ou|tput is.|
|00003b60| 58 09 23 20 63 6f 73 74 | 09 68 6f 73 74 09 72 6f |X.# cost|.host.ro|
|00003b70| 75 74 65 0a 58 09 23 0a | 58 09 23 20 66 6f 72 6d |ute.X.#.|X.# form|
|00003b80| 61 74 20 6f 66 20 61 20 | 27 70 61 74 68 73 27 20 |at of a |'paths' |
|00003b90| 66 69 6c 65 20 66 6f 72 | 20 73 6d 61 69 6c 20 69 |file for| smail i|
|00003ba0| 73 0a 58 09 23 20 68 6f | 73 74 09 72 6f 75 74 65 |s.X.# ho|st.route|
|00003bb0| 09 66 69 72 73 74 5f 68 | 6f 70 5f 63 6f 73 74 0a |.first_h|op_cost.|
|00003bc0| 58 09 23 0a 58 09 23 20 | 6d 6f 76 65 20 63 6f 73 |X.#.X.# |move cos|
|00003bd0| 74 20 66 69 65 6c 64 20 | 74 6f 20 65 6e 64 20 6f |t field |to end o|
|00003be0| 66 20 6c 69 6e 65 3a 0a | 58 0a 58 09 73 65 64 20 |f line:.|X.X.sed |
|00003bf0| 27 73 2f 5c 28 2e 2a 5c | 29 09 5c 28 2e 2a 5c 29 |'s/\(.*\|).\(.*\)|
|00003c00| 09 5c 28 2e 2a 5c 29 2f | 5c 32 09 5c 33 09 5c 31 |.\(.*\)/|\2.\3.\1|
|00003c10| 2f 27 20 7c 0a 58 0a 58 | 09 23 20 63 6f 6e 76 65 |/' |.X.X|.# conve|
|00003c20| 72 74 20 74 61 72 67 65 | 74 20 64 6f 6d 61 69 6e |rt targe|t domain|
|00003c30| 2f 68 6f 73 74 20 74 6f | 20 6c 6f 77 65 72 20 63 |/host to| lower c|
|00003c40| 61 73 65 3a 0a 58 0a 58 | 09 23 6c 63 61 73 65 70 |ase:.X.X|.#lcasep|
|00003c50| 20 7c 0a 58 09 0a 58 09 | 23 20 72 65 6d 6f 76 65 | |.X..X.|# remove|
|00003c60| 20 73 6f 6d 65 20 61 64 | 64 69 74 69 6f 6e 61 6c | some ad|ditional|
|00003c70| 20 77 69 65 72 64 6e 65 | 73 73 65 73 20 28 70 65 | wierdne|sses (pe|
|00003c80| 72 20 50 65 74 65 72 20 | 48 6f 6e 65 79 6d 61 6e |r Peter |Honeyman|
|00003c90| 29 3a 0a 58 09 23 20 59 | 6f 75 20 63 61 6e 20 6c |):.X.# Y|ou can l|
|00003ca0| 65 61 76 65 20 69 74 20 | 69 6e 20 6f 72 20 6e 6f |eave it |in or no|
|00003cb0| 74 2e 0a 58 0a 58 09 23 | 20 65 67 72 65 70 20 2d |t..X.X.#| egrep -|
|00003cc0| 76 20 27 28 5c 2e 28 63 | 6f 6d 7c 65 64 75 7c 6d |v '(\.(c|om|edu|m|
|00003cd0| 69 6c 7c 67 6f 76 7c 6e | 65 74 7c 6f 72 67 7c 61 |il|gov|n|et|org|a|
|00003ce0| 72 70 61 7c 5b 61 2d 7a | 5d 5b 61 2d 7a 5d 29 09 |rpa|[a-z|][a-z]).|
|00003cf0| 2e 2a 21 2e 2a 21 29 7c | 28 2e 5c 2e 28 63 6f 6d |.*!.*!)||(.\.(com|
|00003d00| 7c 65 64 75 7c 6d 69 6c | 7c 67 6f 76 7c 6e 65 74 ||edu|mil||gov|net|
|00003d10| 7c 6f 72 67 7c 61 72 70 | 61 7c 5b 61 2d 7a 5d 5b ||org|arp|a|[a-z][|
|00003d20| 61 2d 7a 5d 29 09 29 27 | 20 7c 0a 58 0a 58 09 23 |a-z]).)'| |.X.X.#|
|00003d30| 20 73 6f 72 74 20 74 68 | 65 20 73 74 72 65 61 6d | sort th|e stream|
|00003d40| 3a 0a 58 09 0a 58 09 73 | 6f 72 74 20 3e 20 2f 74 |:.X..X.s|ort > /t|
|00003d50| 6d 70 2f 70 61 74 68 73 | 20 29 20 3e 20 2f 74 6d |mp/paths| ) > /tm|
|00003d60| 70 2f 75 6e 70 42 24 24 | 20 32 3e 26 31 0a 58 0a |p/unpB$$| 2>&1.X.|
|00003d70| 58 09 69 66 20 74 65 73 | 74 20 21 20 2d 73 20 2f |X.if tes|t ! -s /|
|00003d80| 74 6d 70 2f 70 61 74 68 | 73 0a 58 09 74 68 65 6e |tmp/path|s.X.then|
|00003d90| 0a 58 09 20 20 20 20 65 | 63 68 6f 20 22 50 61 74 |.X. e|cho "Pat|
|00003da0| 68 61 6c 69 61 73 20 66 | 61 69 6c 65 64 20 6e 6f |halias f|ailed no|
|00003db0| 20 6d 61 70 20 66 69 6c | 65 20 63 72 65 61 74 65 | map fil|e create|
|00003dc0| 64 22 20 3e 3e 20 2f 74 | 6d 70 2f 75 6e 70 42 24 |d" >> /t|mp/unpB$|
|00003dd0| 24 0a 58 09 65 6c 73 65 | 0a 58 09 20 20 20 20 63 |$.X.else|.X. c|
|00003de0| 61 74 20 2f 74 6d 70 2f | 70 61 74 68 73 20 3e 20 |at /tmp/|paths > |
|00003df0| 24 50 41 54 48 46 49 4c | 45 20 32 3e 3e 20 2f 74 |$PATHFIL|E 2>> /t|
|00003e00| 6d 70 2f 75 6e 70 42 24 | 24 0a 58 09 20 20 20 20 |mp/unpB$|$.X. |
|00003e10| 69 66 20 74 65 73 74 20 | 24 3f 20 21 3d 20 30 0a |if test |$? != 0.|
|00003e20| 58 09 20 20 20 20 74 68 | 65 6e 0a 58 09 09 65 63 |X. th|en.X..ec|
|00003e30| 68 6f 20 22 43 6f 70 79 | 20 74 6f 20 24 50 41 54 |ho "Copy| to $PAT|
|00003e40| 48 46 49 4c 45 20 66 61 | 69 6c 65 64 22 20 3e 3e |HFILE fa|iled" >>|
|00003e50| 20 2f 74 6d 70 2f 75 6e | 70 42 24 24 0a 58 09 20 | /tmp/un|pB$$.X. |
|00003e60| 20 20 20 65 6c 73 65 0a | 58 09 09 72 6d 20 2f 74 | else.|X..rm /t|
|00003e70| 6d 70 2f 70 61 74 68 73 | 0a 58 09 20 20 20 20 66 |mp/paths|.X. f|
|00003e80| 69 0a 58 09 20 20 20 20 | 65 63 68 6f 20 22 4d 61 |i.X. |echo "Ma|
|00003e90| 70 20 72 65 6d 61 64 65 | 22 20 3e 3e 20 2f 74 6d |p remade|" >> /tm|
|00003ea0| 70 2f 75 6e 70 42 24 24 | 0a 58 09 20 20 20 20 6c |p/unpB$$|.X. l|
|00003eb0| 73 20 2d 6c 20 24 50 41 | 54 48 46 49 4c 45 20 3e |s -l $PA|THFILE >|
|00003ec0| 3e 20 2f 74 6d 70 2f 75 | 6e 70 42 24 24 0a 58 09 |> /tmp/u|npB$$.X.|
|00003ed0| 66 69 0a 58 0a 58 09 69 | 66 20 74 65 73 74 20 2d |fi.X.X.i|f test -|
|00003ee0| 73 20 2f 74 6d 70 2f 75 | 6e 70 42 24 24 0a 58 09 |s /tmp/u|npB$$.X.|
|00003ef0| 74 68 65 6e 0a 58 09 20 | 20 20 20 65 63 68 6f 20 |then.X. | echo |
|00003f00| 22 50 61 74 68 61 6c 69 | 61 73 20 6f 75 74 70 75 |"Pathali|as outpu|
|00003f10| 74 3a 22 20 3e 3e 20 2f | 74 6d 70 2f 75 6e 70 41 |t:" >> /|tmp/unpA|
|00003f20| 24 24 0a 58 09 20 20 20 | 20 63 61 74 20 2f 74 6d |$$.X. | cat /tm|
|00003f30| 70 2f 75 6e 70 42 24 24 | 20 3e 3e 20 2f 74 6d 70 |p/unpB$$| >> /tmp|
|00003f40| 2f 75 6e 70 41 24 24 0a | 58 09 66 69 0a 58 20 20 |/unpA$$.|X.fi.X |
|00003f50| 20 20 66 69 0a 58 66 69 | 0a 58 0a 58 69 66 20 74 | fi.Xfi|.X.Xif t|
|00003f60| 65 73 74 20 2d 6e 20 22 | 24 57 48 45 52 45 46 49 |est -n "|$WHEREFI|
|00003f70| 4c 45 22 20 2d 61 20 2d | 73 20 24 57 48 45 52 45 |LE" -a -|s $WHERE|
|00003f80| 54 4d 50 0a 58 74 68 65 | 6e 0a 58 20 20 20 20 69 |TMP.Xthe|n.X i|
|00003f90| 66 20 74 65 73 74 20 21 | 20 2d 66 20 24 57 48 45 |f test !| -f $WHE|
|00003fa0| 52 45 46 49 4c 45 0a 58 | 20 20 20 20 74 68 65 6e |REFILE.X| then|
|00003fb0| 0a 58 09 74 6f 75 63 68 | 20 24 57 48 45 52 45 46 |.X.touch| $WHEREF|
|00003fc0| 49 4c 45 0a 58 20 20 20 | 20 66 69 0a 58 0a 58 20 |ILE.X | fi.X.X |
|00003fd0| 20 20 20 23 20 46 69 72 | 73 74 20 61 77 6b 3a 20 | # Fir|st awk: |
|00003fe0| 74 68 72 6f 77 73 20 61 | 77 61 79 20 57 48 45 52 |throws a|way WHER|
|00003ff0| 45 20 72 65 66 65 72 65 | 6e 63 65 73 20 69 6e 20 |E refere|nces in |
|00004000| 24 57 48 45 52 45 46 49 | 4c 45 20 74 68 61 74 0a |$WHEREFI|LE that.|
|00004010| 58 20 20 20 20 23 09 61 | 72 65 20 6e 6f 77 20 69 |X #.a|re now i|
|00004020| 6e 20 24 57 48 45 52 45 | 54 4d 50 0a 58 20 20 20 |n $WHERE|TMP.X |
|00004030| 20 23 20 53 6f 72 74 3a | 20 73 6f 72 74 20 62 79 | # Sort:| sort by|
|00004040| 20 73 69 74 65 20 6e 61 | 6d 65 0a 58 20 20 20 20 | site na|me.X |
|00004050| 23 20 53 65 63 6f 6e 64 | 20 61 77 6b 3a 20 63 6f |# Second| awk: co|
|00004060| 61 6c 65 73 63 65 20 72 | 65 66 65 72 65 6e 63 65 |alesce r|eference|
|00004070| 73 20 74 6f 20 73 61 6d | 65 20 73 69 74 65 2f 66 |s to sam|e site/f|
|00004080| 69 6c 65 20 74 6f 20 6f | 6e 65 20 6c 69 6e 65 2e |ile to o|ne line.|
|00004090| 0a 58 20 20 20 20 61 77 | 6b 20 27 0a 58 09 42 45 |.X aw|k '.X.BE|
|000040a0| 47 49 4e 20 7b 0a 58 09 | 20 20 20 20 6d 61 70 73 |GIN {.X.| maps|
|000040b0| 65 65 6e 5b 22 22 5d 20 | 3d 20 31 0a 58 09 7d 0a |een[""] |= 1.X.}.|
|000040c0| 58 09 24 31 20 7e 20 2f | 5e 40 2f 20 7b 0a 58 09 |X.$1 ~ /|^@/ {.X.|
|000040d0| 20 20 20 20 70 72 69 6e | 74 66 28 22 25 73 20 25 | prin|tf("%s %|
|000040e0| 73 20 25 73 5c 6e 22 2c | 20 73 75 62 73 74 72 28 |s %s\n",| substr(|
|000040f0| 24 31 2c 20 32 29 2c 20 | 24 32 2c 20 24 33 29 3b |$1, 2), |$2, $3);|
|00004100| 0a 58 09 20 20 20 20 6d | 61 70 73 65 65 6e 5b 24 |.X. m|apseen[$|
|00004110| 32 5d 20 3d 20 31 0a 58 | 09 20 20 20 20 6e 65 78 |2] = 1.X|. nex|
|00004120| 74 3b 0a 58 09 7d 0a 58 | 09 7b 0a 58 09 20 20 20 |t;.X.}.X|.{.X. |
|00004130| 20 69 66 20 28 6d 61 70 | 73 65 65 6e 5b 24 32 5d | if (map|seen[$2]|
|00004140| 29 0a 58 09 09 6e 65 78 | 74 0a 58 09 20 20 20 20 |).X..nex|t.X. |
|00004150| 70 72 69 6e 74 66 28 22 | 25 73 20 25 73 20 25 73 |printf("|%s %s %s|
|00004160| 5c 6e 22 2c 20 24 31 2c | 20 24 32 2c 20 24 33 29 |\n", $1,| $2, $3)|
|00004170| 3b 0a 58 09 7d 27 20 24 | 57 48 45 52 45 54 4d 50 |;.X.}' $|WHERETMP|
|00004180| 20 24 57 48 45 52 45 46 | 49 4c 45 20 7c 20 0a 58 | $WHEREF|ILE | .X|
|00004190| 09 73 6f 72 74 20 7c 20 | 0a 58 09 61 77 6b 20 27 |.sort | |.X.awk '|
|000041a0| 0a 58 09 7b 0a 58 09 20 | 20 20 20 69 66 20 28 73 |.X.{.X. | if (s|
|000041b0| 69 74 65 20 21 3d 20 24 | 31 20 7c 7c 20 6d 61 70 |ite != $|1 || map|
|000041c0| 20 21 3d 20 24 32 29 20 | 7b 0a 58 09 09 69 66 20 | != $2) |{.X..if |
|000041d0| 28 73 69 74 65 29 0a 58 | 09 09 20 20 20 20 70 72 |(site).X|.. pr|
|000041e0| 69 6e 74 66 28 22 5c 6e | 22 29 3b 0a 58 09 09 73 |intf("\n|");.X..s|
|000041f0| 69 74 65 20 3d 20 24 31 | 0a 58 09 09 6d 61 70 20 |ite = $1|.X..map |
|00004200| 3d 20 24 32 0a 58 09 09 | 70 72 69 6e 74 66 28 22 |= $2.X..|printf("|
|00004210| 25 73 20 25 73 20 25 73 | 22 2c 20 24 31 2c 20 24 |%s %s %s|", $1, $|
|00004220| 32 2c 20 24 33 29 3b 0a | 58 09 20 20 20 20 7d 20 |2, $3);.|X. } |
|00004230| 65 6c 73 65 0a 58 09 09 | 70 72 69 6e 74 66 28 22 |else.X..|printf("|
|00004240| 2c 25 73 22 2c 20 24 33 | 29 3b 0a 58 09 7d 0a 58 |,%s", $3|);.X.}.X|
|00004250| 09 45 4e 44 20 7b 0a 58 | 09 20 20 20 20 70 72 69 |.END {.X|. pri|
|00004260| 6e 74 66 28 22 5c 6e 22 | 29 3b 0a 58 09 7d 27 20 |ntf("\n"|);.X.}' |
|00004270| 3e 20 2f 74 6d 70 2f 54 | 4d 50 32 0a 58 20 20 20 |> /tmp/T|MP2.X |
|00004280| 20 0a 58 20 20 20 20 69 | 66 20 74 65 73 74 20 2d | .X i|f test -|
|00004290| 73 20 2f 74 6d 70 2f 54 | 4d 50 32 0a 58 20 20 20 |s /tmp/T|MP2.X |
|000042a0| 20 74 68 65 6e 0a 58 09 | 63 61 74 20 2f 74 6d 70 | then.X.|cat /tmp|
|000042b0| 2f 54 4d 50 32 20 3e 20 | 24 57 48 45 52 45 46 49 |/TMP2 > |$WHEREFI|
|000042c0| 4c 45 0a 58 20 20 20 20 | 66 69 0a 58 20 20 20 20 |LE.X |fi.X |
|000042d0| 65 63 68 6f 20 22 57 68 | 65 72 65 20 64 61 74 61 |echo "Wh|ere data|
|000042e0| 62 61 73 65 20 28 24 57 | 48 45 52 45 46 49 4c 45 |base ($W|HEREFILE|
|000042f0| 29 20 72 65 62 75 69 6c | 74 22 20 3e 3e 20 2f 74 |) rebuil|t" >> /t|
|00004300| 6d 70 2f 75 6e 70 41 24 | 24 0a 58 66 69 0a 58 72 |mp/unpA$|$.Xfi.Xr|
|00004310| 6d 20 2d 66 20 2f 74 6d | 70 2f 54 4d 50 32 20 24 |m -f /tm|p/TMP2 $|
|00004320| 57 48 45 52 45 54 4d 50 | 0a 58 0a 58 69 66 20 74 |WHERETMP|.X.Xif t|
|00004330| 65 73 74 20 2d 73 20 2f | 74 6d 70 2f 75 6e 70 41 |est -s /|tmp/unpA|
|00004340| 24 24 0a 58 74 68 65 6e | 0a 58 20 20 20 20 6d 61 |$$.Xthen|.X ma|
|00004350| 69 6c 20 24 4e 4f 54 49 | 46 59 20 3c 20 2f 74 6d |il $NOTI|FY < /tm|
|00004360| 70 2f 75 6e 70 41 24 24 | 0a 58 66 69 0a 45 4e 44 |p/unpA$$|.Xfi.END|
|00004370| 5f 4f 46 5f 46 49 4c 45 | 0a 69 66 20 74 65 73 74 |_OF_FILE|.if test|
|00004380| 20 37 37 33 35 20 2d 6e | 65 20 60 77 63 20 2d 63 | 7735 -n|e `wc -c|
|00004390| 20 3c 27 75 6e 70 61 63 | 6b 6d 61 70 73 27 60 3b | <'unpac|kmaps'`;|
|000043a0| 20 74 68 65 6e 0a 20 20 | 20 20 65 63 68 6f 20 73 | then. | echo s|
|000043b0| 68 61 72 3a 20 5c 22 27 | 75 6e 70 61 63 6b 6d 61 |har: \"'|unpackma|
|000043c0| 70 73 27 5c 22 20 75 6e | 70 61 63 6b 65 64 20 77 |ps'\" un|packed w|
|000043d0| 69 74 68 20 77 72 6f 6e | 67 20 73 69 7a 65 21 0a |ith wron|g size!.|
|000043e0| 66 69 0a 63 68 6d 6f 64 | 20 2b 78 20 27 75 6e 70 |fi.chmod| +x 'unp|
|000043f0| 61 63 6b 6d 61 70 73 27 | 0a 23 20 65 6e 64 20 6f |ackmaps'|.# end o|
|00004400| 66 20 27 75 6e 70 61 63 | 6b 6d 61 70 73 27 0a 66 |f 'unpac|kmaps'.f|
|00004410| 69 0a 69 66 20 74 65 73 | 74 20 2d 66 20 27 75 75 |i.if tes|t -f 'uu|
|00004420| 77 68 65 72 65 27 20 2d | 61 20 22 24 7b 31 7d 22 |where' -|a "${1}"|
|00004430| 20 21 3d 20 22 2d 63 22 | 20 3b 20 74 68 65 6e 20 | != "-c"| ; then |
|00004440| 0a 20 20 65 63 68 6f 20 | 73 68 61 72 3a 20 57 69 |. echo |shar: Wi|
|00004450| 6c 6c 20 6e 6f 74 20 63 | 6c 6f 62 62 65 72 20 65 |ll not c|lobber e|
|00004460| 78 69 73 74 69 6e 67 20 | 66 69 6c 65 20 5c 22 27 |xisting |file \"'|
|00004470| 75 75 77 68 65 72 65 27 | 5c 22 0a 65 6c 73 65 0a |uuwhere'|\".else.|
|00004480| 65 63 68 6f 20 73 68 61 | 72 3a 20 45 78 74 72 61 |echo sha|r: Extra|
|00004490| 63 74 69 6e 67 20 5c 22 | 27 75 75 77 68 65 72 65 |cting \"|'uuwhere|
|000044a0| 27 5c 22 20 5c 28 38 35 | 32 20 63 68 61 72 61 63 |'\" \(85|2 charac|
|000044b0| 74 65 72 73 5c 29 0a 73 | 65 64 20 22 73 2f 5e 58 |ters\).s|ed "s/^X|
|000044c0| 2f 2f 22 20 3e 27 75 75 | 77 68 65 72 65 27 20 3c |//" >'uu|where' <|
|000044d0| 3c 27 45 4e 44 5f 4f 46 | 5f 46 49 4c 45 27 0a 58 |<'END_OF|_FILE'.X|
|000044e0| 3a 0a 58 23 09 43 6f 70 | 79 72 69 67 68 74 20 31 |:.X#.Cop|yright 1|
|000044f0| 39 39 30 2c 20 43 68 72 | 69 73 20 4c 65 77 69 73 |990, Chr|is Lewis|
|00004500| 2c 20 41 6c 6c 20 52 69 | 67 68 74 73 20 52 65 73 |, All Ri|ghts Res|
|00004510| 65 72 76 65 64 0a 58 4d | 41 50 44 49 52 3d 2f 75 |erved.XM|APDIR=/u|
|00004520| 73 72 2f 73 70 6f 6f 6c | 2f 6e 65 77 73 2f 6d 61 |sr/spool|/news/ma|
|00004530| 70 73 0a 58 57 48 45 52 | 45 46 49 4c 45 3d 24 4d |ps.XWHER|EFILE=$M|
|00004540| 41 50 44 49 52 2f 77 68 | 65 72 65 2e 64 62 0a 58 |APDIR/wh|ere.db.X|
|00004550| 43 4f 4d 50 52 45 53 53 | 3d 2f 75 73 72 32 2f 63 |COMPRESS|=/usr2/c|
|00004560| 6c 65 77 69 73 2f 6d 61 | 70 73 2f 63 6f 6d 70 72 |lewis/ma|ps/compr|
|00004570| 65 73 73 31 32 0a 58 0a | 58 69 66 20 5b 20 24 31 |ess12.X.|Xif [ $1|
|00004580| 20 3d 20 22 2d 76 22 20 | 5d 0a 58 74 68 65 6e 0a | = "-v" |].Xthen.|
|00004590| 58 20 20 20 20 76 65 72 | 62 6f 73 65 3d 31 0a 58 |X ver|bose=1.X|
|000045a0| 20 20 20 20 73 68 69 66 | 74 0a 58 66 69 0a 58 66 | shif|t.Xfi.Xf|
|000045b0| 6f 72 20 69 0a 58 64 6f | 0a 58 20 20 20 20 65 63 |or i.Xdo|.X ec|
|000045c0| 68 6f 20 53 65 61 72 63 | 68 69 6e 67 20 66 6f 72 |ho Searc|hing for|
|000045d0| 20 24 69 0a 58 20 20 20 | 20 69 66 20 5b 20 2d 6e | $i.X | if [ -n|
|000045e0| 20 22 24 76 65 72 62 6f | 73 65 22 20 5d 0a 58 20 | "$verbo|se" ].X |
|000045f0| 20 20 20 74 68 65 6e 0a | 58 09 6c 69 73 74 3d 60 | then.|X.list=`|
|00004600| 73 65 64 20 2d 6e 20 2d | 65 20 22 2f 5e 24 69 2f |sed -n -|e "/^$i/|
|00004610| 73 2f 5b 20 09 5d 5b 20 | 09 5d 2a 2f 3a 2f 67 70 |s/[ .][ |.]*/:/gp|
|00004620| 22 20 24 57 48 45 52 45 | 46 49 4c 45 60 0a 58 09 |" $WHERE|FILE`.X.|
|00004630| 66 6f 72 20 6a 20 69 6e | 20 24 6c 69 73 74 0a 58 |for j in| $list.X|
|00004640| 09 64 6f 0a 58 09 20 20 | 20 20 65 76 61 6c 20 60 |.do.X. | eval `|
|00004650| 65 63 68 6f 20 24 6a 20 | 7c 20 73 65 64 20 2d 65 |echo $j || sed -e|
|00004660| 20 27 73 2f 5c 28 5b 5e | 3a 5d 2a 5c 29 3a 5c 28 | 's/\([^|:]*\):\(|
|00004670| 5b 5e 3a 5d 2a 5c 29 3a | 5c 28 2e 2a 5c 29 2f 73 |[^:]*\):|\(.*\)/s|
|00004680| 3d 5c 31 20 66 3d 5c 32 | 20 6c 3d 5c 33 2f 70 27 |=\1 f=\2| l=\3/p'|
|00004690| 60 0a 58 09 20 20 20 20 | 65 63 68 6f 20 24 73 20 |`.X. |echo $s |
|000046a0| 24 66 20 24 6c 0a 58 09 | 20 20 20 20 6e 75 6d 6c |$f $l.X.| numl|
|000046b0| 69 73 74 3d 60 65 63 68 | 6f 20 24 6c 20 7c 20 73 |ist=`ech|o $l | s|
|000046c0| 65 64 20 2d 65 20 27 73 | 2f 5b 2c 20 5d 5b 2c 20 |ed -e 's|/[, ][, |
|000046d0| 5d 2a 2f 20 2f 67 27 60 | 0a 58 09 20 20 20 20 66 |]*/ /g'`|.X. f|
|000046e0| 6f 72 20 6c 20 69 6e 20 | 24 6e 75 6d 6c 69 73 74 |or l in |$numlist|
|000046f0| 0a 58 09 20 20 20 20 64 | 6f 0a 58 09 09 65 63 68 |.X. d|o.X..ech|
|00004700| 6f 20 22 46 6f 75 6e 64 | 20 24 73 20 69 6e 20 24 |o "Found| $s in $|
|00004710| 66 20 61 74 20 6c 69 6e | 65 20 24 6c 22 0a 58 09 |f at lin|e $l".X.|
|00004720| 09 69 66 20 5b 20 2d 6e | 20 22 24 66 22 20 2d 61 |.if [ -n| "$f" -a|
|00004730| 20 2d 6e 20 22 24 6c 22 | 20 5d 0a 58 09 09 74 68 | -n "$l"| ].X..th|
|00004740| 65 6e 0a 58 09 09 20 20 | 20 20 69 66 20 5b 20 2d |en.X.. | if [ -|
|00004750| 72 20 24 4d 41 50 44 49 | 52 2f 24 66 20 5d 0a 58 |r $MAPDI|R/$f ].X|
|00004760| 09 09 20 20 20 20 74 68 | 65 6e 0a 58 09 09 09 63 |.. th|en.X...c|
|00004770| 61 74 20 24 4d 41 50 44 | 49 52 2f 24 66 0a 58 09 |at $MAPD|IR/$f.X.|
|00004780| 09 20 20 20 20 65 6c 69 | 66 20 5b 20 2d 72 20 24 |. eli|f [ -r $|
|00004790| 4d 41 50 44 49 52 2f 24 | 66 2e 5a 20 5d 0a 58 09 |MAPDIR/$|f.Z ].X.|
|000047a0| 09 20 20 20 20 74 68 65 | 6e 0a 58 09 09 09 24 43 |. the|n.X...$C|
|000047b0| 4f 4d 50 52 45 53 53 20 | 2d 64 63 20 24 4d 41 50 |OMPRESS |-dc $MAP|
|000047c0| 44 49 52 2f 24 66 2e 5a | 0a 58 09 09 20 20 20 20 |DIR/$f.Z|.X.. |
|000047d0| 65 6c 73 65 0a 58 09 09 | 09 65 63 68 6f 20 22 4e |else.X..|.echo "N|
|000047e0| 6f 20 73 75 63 68 20 66 | 69 6c 65 20 24 66 22 20 |o such f|ile $f" |
|000047f0| 3e 26 32 0a 58 09 09 20 | 20 20 20 66 69 20 7c 20 |>&2.X.. | fi | |
|00004800| 73 65 64 20 2d 6e 20 2d | 65 20 22 24 6c 2c 2f 5e |sed -n -|e "$l,/^|
|00004810| 23 4e 2f 70 22 0a 58 09 | 09 66 69 0a 58 09 20 20 |#N/p".X.|.fi.X. |
|00004820| 20 20 64 6f 6e 65 0a 58 | 09 64 6f 6e 65 0a 58 20 | done.X|.done.X |
|00004830| 20 20 20 65 6c 73 65 0a | 58 09 67 72 65 70 20 22 | else.|X.grep "|
|00004840| 5e 24 69 22 20 24 57 48 | 45 52 45 46 49 4c 45 0a |^$i" $WH|EREFILE.|
|00004850| 58 20 20 20 20 66 69 0a | 58 64 6f 6e 65 0a 45 4e |X fi.|Xdone.EN|
|00004860| 44 5f 4f 46 5f 46 49 4c | 45 0a 69 66 20 74 65 73 |D_OF_FIL|E.if tes|
|00004870| 74 20 38 35 32 20 2d 6e | 65 20 60 77 63 20 2d 63 |t 852 -n|e `wc -c|
|00004880| 20 3c 27 75 75 77 68 65 | 72 65 27 60 3b 20 74 68 | <'uuwhe|re'`; th|
|00004890| 65 6e 0a 20 20 20 20 65 | 63 68 6f 20 73 68 61 72 |en. e|cho shar|
|000048a0| 3a 20 5c 22 27 75 75 77 | 68 65 72 65 27 5c 22 20 |: \"'uuw|here'\" |
|000048b0| 75 6e 70 61 63 6b 65 64 | 20 77 69 74 68 20 77 72 |unpacked| with wr|
|000048c0| 6f 6e 67 20 73 69 7a 65 | 21 0a 66 69 0a 63 68 6d |ong size|!.fi.chm|
|000048d0| 6f 64 20 2b 78 20 27 75 | 75 77 68 65 72 65 27 0a |od +x 'u|uwhere'.|
|000048e0| 23 20 65 6e 64 20 6f 66 | 20 27 75 75 77 68 65 72 |# end of| 'uuwher|
|000048f0| 65 27 0a 66 69 0a 65 63 | 68 6f 20 73 68 61 72 3a |e'.fi.ec|ho shar:|
|00004900| 20 45 6e 64 20 6f 66 20 | 61 72 63 68 69 76 65 20 | End of |archive |
|00004910| 31 20 5c 28 6f 66 20 31 | 5c 29 2e 0a 63 70 20 2f |1 \(of 1|\)..cp /|
|00004920| 64 65 76 2f 6e 75 6c 6c | 20 61 72 6b 31 69 73 64 |dev/null| ark1isd|
|00004930| 6f 6e 65 0a 4d 49 53 53 | 49 4e 47 3d 22 22 0a 66 |one.MISS|ING="".f|
|00004940| 6f 72 20 49 20 69 6e 20 | 31 20 3b 20 64 6f 0a 20 |or I in |1 ; do. |
|00004950| 20 20 20 69 66 20 74 65 | 73 74 20 21 20 2d 66 20 | if te|st ! -f |
|00004960| 61 72 6b 24 7b 49 7d 69 | 73 64 6f 6e 65 20 3b 20 |ark${I}i|sdone ; |
|00004970| 74 68 65 6e 0a 09 4d 49 | 53 53 49 4e 47 3d 22 24 |then..MI|SSING="$|
|00004980| 7b 4d 49 53 53 49 4e 47 | 7d 20 24 7b 49 7d 22 0a |{MISSING|} ${I}".|
|00004990| 20 20 20 20 66 69 0a 64 | 6f 6e 65 0a 69 66 20 74 | fi.d|one.if t|
|000049a0| 65 73 74 20 22 24 7b 4d | 49 53 53 49 4e 47 7d 22 |est "${M|ISSING}"|
|000049b0| 20 3d 20 22 22 20 3b 20 | 74 68 65 6e 0a 20 20 20 | = "" ; |then. |
|000049c0| 20 65 63 68 6f 20 59 6f | 75 20 68 61 76 65 20 74 | echo Yo|u have t|
|000049d0| 68 65 20 61 72 63 68 69 | 76 65 2e 0a 20 20 20 20 |he archi|ve.. |
|000049e0| 72 6d 20 2d 66 20 61 72 | 6b 5b 31 2d 39 5d 69 73 |rm -f ar|k[1-9]is|
|000049f0| 64 6f 6e 65 0a 65 6c 73 | 65 0a 20 20 20 20 65 63 |done.els|e. ec|
|00004a00| 68 6f 20 59 6f 75 20 73 | 74 69 6c 6c 20 6e 65 65 |ho You s|till nee|
|00004a10| 64 20 74 6f 20 75 6e 70 | 61 63 6b 20 74 68 65 20 |d to unp|ack the |
|00004a20| 66 6f 6c 6c 6f 77 69 6e | 67 20 61 72 63 68 69 76 |followin|g archiv|
|00004a30| 65 73 3a 0a 20 20 20 20 | 65 63 68 6f 20 22 20 20 |es:. |echo " |
|00004a40| 20 20 20 20 20 20 22 20 | 24 7b 4d 49 53 53 49 4e | " |${MISSIN|
|00004a50| 47 7d 0a 66 69 0a 23 23 | 20 20 45 6e 64 20 6f 66 |G}.fi.##| End of|
|00004a60| 20 73 68 65 6c 6c 20 61 | 72 63 68 69 76 65 2e 0a | shell a|rchive..|
|00004a70| 65 78 69 74 20 30 0a 0a | 2d 2d 20 0a 43 68 72 69 |exit 0..|-- .Chri|
|00004a80| 73 20 4c 65 77 69 73 2c | 20 45 6c 65 67 61 6e 74 |s Lewis,| Elegant|
|00004a90| 20 43 6f 6d 6d 75 6e 69 | 63 61 74 69 6f 6e 73 20 | Communi|cations |
|00004aa0| 49 6e 63 2c 20 7b 75 75 | 6e 65 74 21 61 74 74 63 |Inc, {uu|net!attc|
|00004ab0| 61 6e 2c 75 74 7a 6f 6f | 7d 21 6c 73 75 63 21 65 |an,utzoo|}!lsuc!e|
|00004ac0| 63 69 33 38 36 21 63 6c | 65 77 69 73 0a 46 65 72 |ci386!cl|ewis.Fer|
|00004ad0| 72 65 74 20 6d 61 69 6c | 69 6e 67 20 6c 69 73 74 |ret mail|ing list|
|00004ae0| 3a 20 65 63 69 33 38 36 | 21 66 65 72 72 65 74 2d |: eci386|!ferret-|
|00004af0| 6c 69 73 74 2c 20 70 73 | 72 6f 66 66 20 6d 61 69 |list, ps|roff mai|
|00004b00| 6c 69 6e 67 20 6c 69 73 | 74 3a 20 65 63 69 33 38 |ling lis|t: eci38|
|00004b10| 36 21 70 73 72 6f 66 66 | 2d 6c 69 73 74 0a 0a |6!psroff|-list.. |
+--------+-------------------------+-------------------------+--------+--------+