home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / altsrcs / 1 / 1492 < prev    next >
SHell self-extracting ARchive  |  1990-12-28  |  5.0 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

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

You can browse this item here: 1492

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Newsgroup Content (archive/news) magic Supported
100% dexvert SHell self-extracting ARchive (archive/shar) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file news or mail, ASCII text default
100% TrID E-Mail message (Var. 2) default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/329 Shell Archive Format default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime message/rfc822 default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 46 72 6f 6d 3a 20 63 68 | 69 70 40 74 63 74 2e 75 |From: ch|ip@tct.u|
|00000010| 75 63 70 20 28 43 68 69 | 70 20 53 61 6c 7a 65 6e |ucp (Chi|p Salzen|
|00000020| 62 65 72 67 29 0a 4e 65 | 77 73 67 72 6f 75 70 73 |berg).Ne|wsgroups|
|00000030| 3a 20 61 6c 74 2e 63 6f | 6e 66 69 67 2c 61 6c 74 |: alt.co|nfig,alt|
|00000040| 2e 73 6f 75 72 63 65 73 | 0a 53 75 62 6a 65 63 74 |.sources|.Subject|
|00000050| 3a 20 4d 61 6e 75 61 6c | 20 6e 65 77 73 67 72 6f |: Manual| newsgro|
|00000060| 75 70 20 63 72 65 61 74 | 69 6f 6e 2f 72 65 6d 6f |up creat|ion/remo|
|00000070| 76 61 6c 20 73 63 72 69 | 70 74 73 20 66 6f 72 20 |val scri|pts for |
|00000080| 43 20 4e 65 77 73 0a 4d | 65 73 73 61 67 65 2d 49 |C News.M|essage-I|
|00000090| 44 3a 20 3c 32 36 37 46 | 45 41 33 30 2e 31 43 36 |D: <267F|EA30.1C6|
|000000a0| 40 74 63 74 2e 75 75 63 | 70 3e 0a 44 61 74 65 3a |@tct.uuc|p>.Date:|
|000000b0| 20 32 30 20 4a 75 6e 20 | 39 30 20 32 31 3a 32 37 | 20 Jun |90 21:27|
|000000c0| 3a 31 31 20 47 4d 54 0a | 0a 41 63 63 6f 72 64 69 |:11 GMT.|.Accordi|
|000000d0| 6e 67 20 74 6f 20 62 64 | 62 40 62 65 63 6b 65 72 |ng to bd|b@becker|
|000000e0| 2e 55 55 43 50 20 28 42 | 72 75 63 65 20 42 65 63 |.UUCP (B|ruce Bec|
|000000f0| 6b 65 72 29 3a 0a 3e 49 | 6e 20 61 72 74 69 63 6c |ker):.>I|n articl|
|00000100| 65 20 3c 31 31 34 37 35 | 40 68 6f 70 74 6f 61 64 |e <11475|@hoptoad|
|00000110| 2e 75 75 63 70 3e 20 67 | 6e 75 40 68 6f 70 74 6f |.uucp> g|nu@hopto|
|00000120| 61 64 2e 75 75 63 70 20 | 28 4a 6f 68 6e 20 47 69 |ad.uucp |(John Gi|
|00000130| 6c 6d 6f 72 65 29 20 77 | 72 69 74 65 73 3a 0a 3e |lmore) w|rites:.>|
|00000140| 3e 49 20 66 69 6e 61 6c | 6c 79 20 66 6f 75 6e 64 |>I final|ly found|
|00000150| 20 74 68 65 20 74 69 6d | 65 20 74 6f 20 64 6f 20 | the tim|e to do |
|00000160| 73 6f 6d 65 20 6f 66 20 | 74 68 65 20 61 6c 74 20 |some of |the alt |
|00000170| 6e 65 77 73 67 72 6f 75 | 70 20 63 6c 65 61 6e 75 |newsgrou|p cleanu|
|00000180| 70 20 49 20 70 72 6f 6d | 69 73 65 64 20 0a 3e 3e |p I prom|ised .>>|
|00000190| 61 20 66 65 77 20 77 65 | 65 6b 73 20 61 67 6f 2e |a few we|eks ago.|
|000001a0| 0a 3e 0a 3e 57 68 61 74 | 20 61 20 6a 65 72 6b 20 |.>.>What| a jerk |
|000001b0| 79 6f 75 20 61 72 65 2e | 0a 3e 49 74 20 69 73 20 |you are.|.>It is |
|000001c0| 65 6e 74 69 72 65 6c 79 | 20 73 74 75 70 69 64 20 |entirely| stupid |
|000001d0| 66 6f 72 20 79 6f 75 20 | 74 6f 20 68 61 76 65 20 |for you |to have |
|000001e0| 64 6f 6e 65 20 74 68 69 | 73 2c 0a 3e 74 72 79 69 |done thi|s,.>tryi|
|000001f0| 6e 67 20 74 6f 20 65 6e | 66 6f 72 63 65 20 79 6f |ng to en|force yo|
|00000200| 75 72 20 6e 61 72 72 6f | 77 20 69 64 65 61 20 6f |ur narro|w idea o|
|00000210| 66 20 75 73 65 66 75 6c | 6e 65 73 73 0a 3e 6f 6e |f useful|ness.>on|
|00000220| 74 6f 20 74 68 65 20 61 | 6c 74 20 6e 65 74 2e 20 |to the a|lt net. |
|00000230| 59 6f 75 72 20 61 63 74 | 69 6f 6e 73 20 61 72 65 |Your act|ions are|
|00000240| 20 22 74 72 61 73 68 22 | 2e 2e 2e 0a 0a 50 6f 74 | "trash"|.....Pot|
|00000250| 2e 20 20 4b 65 74 74 6c | 65 2e 20 20 42 61 6e 67 |. Kettl|e. Bang|
|00000260| 2e 0a 0a 49 6e 20 63 61 | 73 65 20 61 6e 79 6f 6e |...In ca|se anyon|
|00000270| 65 20 64 69 64 6e 27 74 | 20 63 61 74 63 68 20 74 |e didn't| catch t|
|00000280| 68 65 6d 20 6f 6e 20 61 | 6c 74 2e 63 6f 6e 66 69 |hem on a|lt.confi|
|00000290| 67 2c 20 62 65 6c 6f 77 | 20 61 72 65 20 6d 79 0a |g, below| are my.|
|000002a0| 6e 65 77 67 72 6f 75 70 | 20 61 6e 64 20 72 6d 67 |newgroup| and rmg|
|000002b0| 72 6f 75 70 20 73 63 72 | 69 70 74 73 20 66 6f 72 |roup scr|ipts for|
|000002c0| 20 43 20 4e 65 77 73 2e | 20 20 54 68 65 79 20 73 | C News.| They s|
|000002d0| 65 6e 64 20 45 2d 4d 61 | 69 6c 2c 20 61 6e 64 0a |end E-Ma|il, and.|
|000002e0| 74 68 61 74 27 73 20 61 | 6c 6c 20 74 68 65 79 20 |that's a|ll they |
|000002f0| 64 6f 2e 20 20 54 68 65 | 69 72 20 6f 74 68 65 72 |do. The|ir other|
|00000300| 20 6e 69 63 65 20 66 65 | 61 74 75 72 65 20 69 73 | nice fe|ature is|
|00000310| 20 74 68 61 74 20 74 68 | 65 79 20 64 6f 6e 27 74 | that th|ey don't|
|00000320| 0a 73 65 6e 64 20 6d 61 | 69 6c 20 69 66 20 79 6f |.send ma|il if yo|
|00000330| 75 20 61 6c 72 65 61 64 | 79 20 68 61 76 65 20 63 |u alread|y have c|
|00000340| 72 65 61 74 65 64 2f 72 | 65 6d 6f 76 65 64 20 74 |reated/r|emoved t|
|00000350| 68 65 20 67 72 6f 75 70 | 20 69 6e 0a 71 75 65 73 |he group| in.ques|
|00000360| 74 69 6f 6e 2e 0a 0a 49 | 27 76 65 20 69 6e 73 74 |tion...I|'ve inst|
|00000370| 61 6c 6c 65 64 20 74 68 | 65 73 65 20 73 63 72 69 |alled th|ese scri|
|00000380| 70 74 73 20 69 6e 20 2f | 75 73 72 2f 6c 69 62 2f |pts in /|usr/lib/|
|00000390| 6e 65 77 73 2f 62 69 6e | 2c 20 77 68 69 63 68 20 |news/bin|, which |
|000003a0| 6d 65 61 6e 73 20 74 68 | 61 74 0a 66 72 65 73 68 |means th|at.fresh|
|000003b0| 20 43 20 4e 65 77 73 20 | 69 6e 73 74 61 6c 6c 61 | C News |installa|
|000003c0| 74 69 6f 6e 73 20 77 6f | 6e 27 74 20 6f 76 65 72 |tions wo|n't over|
|000003d0| 77 72 69 74 65 20 74 68 | 65 6d 2e 0a 0a 4e 6f 74 |write th|em...Not|
|000003e0| 65 20 74 68 61 74 20 69 | 66 20 79 6f 75 72 20 22 |e that i|f your "|
|000003f0| 6d 61 69 6c 22 20 63 6f | 6d 6d 61 6e 64 20 64 6f |mail" co|mmand do|
|00000400| 65 73 6e 27 74 20 73 75 | 70 70 6f 72 74 20 74 68 |esn't su|pport th|
|00000410| 65 20 22 2d 73 22 20 66 | 6c 61 67 20 66 6f 72 0a |e "-s" f|lag for.|
|00000420| 73 75 62 6a 65 63 74 2c | 20 74 68 65 6e 20 79 6f |subject,| then yo|
|00000430| 75 27 6c 6c 20 68 61 76 | 65 20 74 6f 20 63 68 61 |u'll hav|e to cha|
|00000440| 6e 67 65 20 74 68 65 20 | 6c 61 73 74 20 6c 69 6e |nge the |last lin|
|00000450| 65 20 6f 66 20 65 61 63 | 68 20 73 63 72 69 70 74 |e of eac|h script|
|00000460| 2e 0a 0a 23 21 20 2f 62 | 69 6e 2f 73 68 0a 23 20 |...#! /b|in/sh.# |
|00000470| 54 68 69 73 20 69 73 20 | 61 20 73 68 65 6c 6c 20 |This is |a shell |
|00000480| 61 72 63 68 69 76 65 2e | 20 20 52 65 6d 6f 76 65 |archive.| Remove|
|00000490| 20 61 6e 79 74 68 69 6e | 67 20 62 65 66 6f 72 65 | anythin|g before|
|000004a0| 20 74 68 69 73 20 6c 69 | 6e 65 2c 20 74 68 65 6e | this li|ne, then|
|000004b0| 20 75 6e 70 61 63 6b 0a | 23 20 69 74 20 62 79 20 | unpack.|# it by |
|000004c0| 73 61 76 69 6e 67 20 69 | 74 20 69 6e 74 6f 20 61 |saving i|t into a|
|000004d0| 20 66 69 6c 65 20 61 6e | 64 20 74 79 70 69 6e 67 | file an|d typing|
|000004e0| 20 22 73 68 20 66 69 6c | 65 22 2e 20 20 54 6f 20 | "sh fil|e". To |
|000004f0| 6f 76 65 72 77 72 69 74 | 65 20 65 78 69 73 74 69 |overwrit|e existi|
|00000500| 6e 67 0a 23 20 66 69 6c | 65 73 2c 20 74 79 70 65 |ng.# fil|es, type|
|00000510| 20 22 73 68 20 66 69 6c | 65 20 2d 63 22 2e 20 20 | "sh fil|e -c". |
|00000520| 59 6f 75 20 63 61 6e 20 | 61 6c 73 6f 20 66 65 65 |You can |also fee|
|00000530| 64 20 74 68 69 73 20 61 | 73 20 73 74 61 6e 64 61 |d this a|s standa|
|00000540| 72 64 20 69 6e 70 75 74 | 20 76 69 61 0a 23 20 75 |rd input| via.# u|
|00000550| 6e 73 68 61 72 2c 20 6f | 72 20 62 79 20 74 79 70 |nshar, o|r by typ|
|00000560| 69 6e 67 20 22 73 68 20 | 3c 66 69 6c 65 22 2c 20 |ing "sh |<file", |
|00000570| 65 2e 67 2e 2e 20 20 49 | 66 20 74 68 69 73 20 61 |e.g.. I|f this a|
|00000580| 72 63 68 69 76 65 20 69 | 73 20 63 6f 6d 70 6c 65 |rchive i|s comple|
|00000590| 74 65 2c 20 79 6f 75 0a | 23 20 77 69 6c 6c 20 73 |te, you.|# will s|
|000005a0| 65 65 20 74 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |ee the f|ollowing|
|000005b0| 20 6d 65 73 73 61 67 65 | 20 61 74 20 74 68 65 20 | message| at the |
|000005c0| 65 6e 64 3a 0a 23 09 09 | 22 45 6e 64 20 6f 66 20 |end:.#..|"End of |
|000005d0| 73 68 65 6c 6c 20 61 72 | 63 68 69 76 65 2e 22 0a |shell ar|chive.".|
|000005e0| 23 20 43 6f 6e 74 65 6e | 74 73 3a 20 20 6e 65 77 |# Conten|ts: new|
|000005f0| 67 72 6f 75 70 20 72 6d | 67 72 6f 75 70 0a 23 20 |group rm|group.# |
|00000600| 57 72 61 70 70 65 64 20 | 62 79 20 6e 65 77 73 40 |Wrapped |by news@|
|00000610| 74 63 74 20 6f 6e 20 54 | 68 75 20 4a 75 6e 20 20 |tct on T|hu Jun |
|00000620| 37 20 31 31 3a 33 30 3a | 31 33 20 31 39 39 30 0a |7 11:30:|13 1990.|
|00000630| 50 41 54 48 3d 2f 62 69 | 6e 3a 2f 75 73 72 2f 62 |PATH=/bi|n:/usr/b|
|00000640| 69 6e 3a 2f 75 73 72 2f | 75 63 62 20 3b 20 65 78 |in:/usr/|ucb ; ex|
|00000650| 70 6f 72 74 20 50 41 54 | 48 0a 69 66 20 74 65 73 |port PAT|H.if tes|
|00000660| 74 20 2d 66 20 27 6e 65 | 77 67 72 6f 75 70 27 20 |t -f 'ne|wgroup' |
|00000670| 2d 61 20 22 24 7b 31 7d | 22 20 21 3d 20 22 2d 63 |-a "${1}|" != "-c|
|00000680| 22 20 3b 20 74 68 65 6e | 20 0a 20 20 65 63 68 6f |" ; then| . echo|
|00000690| 20 73 68 61 72 3a 20 57 | 69 6c 6c 20 6e 6f 74 20 | shar: W|ill not |
|000006a0| 63 6c 6f 62 62 65 72 20 | 65 78 69 73 74 69 6e 67 |clobber |existing|
|000006b0| 20 66 69 6c 65 20 5c 22 | 27 6e 65 77 67 72 6f 75 | file \"|'newgrou|
|000006c0| 70 27 5c 22 0a 65 6c 73 | 65 0a 65 63 68 6f 20 73 |p'\".els|e.echo s|
|000006d0| 68 61 72 3a 20 45 78 74 | 72 61 63 74 69 6e 67 20 |har: Ext|racting |
|000006e0| 5c 22 27 6e 65 77 67 72 | 6f 75 70 27 5c 22 20 5c |\"'newgr|oup'\" \|
|000006f0| 28 31 34 32 34 20 63 68 | 61 72 61 63 74 65 72 73 |(1424 ch|aracters|
|00000700| 5c 29 0a 73 65 64 20 22 | 73 2f 5e 58 2f 2f 22 20 |\).sed "|s/^X//" |
|00000710| 3e 27 6e 65 77 67 72 6f | 75 70 27 20 3c 3c 27 45 |>'newgro|up' <<'E|
|00000720| 4e 44 5f 4f 46 5f 46 49 | 4c 45 27 0a 58 23 21 20 |ND_OF_FI|LE'.X#! |
|00000730| 2f 62 69 6e 2f 73 68 0a | 58 23 20 6e 65 77 67 72 |/bin/sh.|X# newgr|
|00000740| 6f 75 70 20 67 72 6f 75 | 70 20 66 6c 61 67 0a 58 |oup grou|p flag.X|
|00000750| 23 09 73 75 62 6a 65 63 | 74 20 74 6f 20 6f 75 72 |#.subjec|t to our|
|00000760| 20 73 79 73 20 66 69 6c | 65 20 67 72 6f 75 70 20 | sys fil|e group |
|00000770| 70 61 74 74 65 72 6e 0a | 58 23 0a 58 23 20 4d 6f |pattern.|X#.X# Mo|
|00000780| 64 69 66 69 65 64 20 62 | 79 20 43 68 69 70 20 53 |dified b|y Chip S|
|00000790| 61 6c 7a 65 6e 62 65 72 | 67 2c 20 37 20 4a 75 6e |alzenber|g, 7 Jun|
|000007a0| 65 20 31 39 39 30 2e 0a | 58 23 20 53 65 6e 64 20 |e 1990..|X# Send |
|000007b0| 6d 61 69 6c 20 74 6f 20 | 55 73 65 6e 65 74 20 61 |mail to |Usenet a|
|000007c0| 64 6d 69 6e 69 73 74 72 | 61 74 6f 72 20 64 65 73 |dministr|ator des|
|000007d0| 63 72 69 62 69 6e 67 20 | 74 68 65 20 6e 65 77 67 |cribing |the newg|
|000007e0| 72 6f 75 70 20 72 65 71 | 75 65 73 74 2e 0a 58 23 |roup req|uest..X#|
|000007f0| 20 42 75 74 20 69 66 20 | 67 72 6f 75 70 20 61 6c | But if |group al|
|00000800| 72 65 61 64 79 20 65 78 | 69 73 74 73 20 77 69 74 |ready ex|ists wit|
|00000810| 68 20 63 6f 72 72 65 63 | 74 20 74 79 70 65 2c 20 |h correc|t type, |
|00000820| 64 6f 6e 27 74 20 62 6f | 74 68 65 72 2e 0a 58 0a |don't bo|ther..X.|
|00000830| 58 23 20 3d 28 29 3c 2e | 20 24 7b 4e 45 57 53 43 |X# =()<.| ${NEWSC|
|00000840| 4f 4e 46 49 47 2d 40 3c | 4e 45 57 53 43 4f 4e 46 |ONFIG-@<|NEWSCONF|
|00000850| 49 47 3e 40 7d 3e 28 29 | 3d 0a 58 2e 20 24 7b 4e |IG>@}>()|=.X. ${N|
|00000860| 45 57 53 43 4f 4e 46 49 | 47 2d 2f 75 73 72 2f 6c |EWSCONFI|G-/usr/l|
|00000870| 69 62 2f 6e 65 77 73 2f | 62 69 6e 2f 63 6f 6e 66 |ib/news/|bin/conf|
|00000880| 69 67 7d 0a 58 65 78 70 | 6f 72 74 20 4e 45 57 53 |ig}.Xexp|ort NEWS|
|00000890| 43 54 4c 20 4e 45 57 53 | 42 49 4e 20 4e 45 57 53 |CTL NEWS|BIN NEWS|
|000008a0| 41 52 54 53 0a 58 50 41 | 54 48 3d 24 4e 45 57 53 |ARTS.XPA|TH=$NEWS|
|000008b0| 43 54 4c 2f 62 69 6e 3a | 24 4e 45 57 53 42 49 4e |CTL/bin:|$NEWSBIN|
|000008c0| 2f 72 65 6c 61 79 3a 24 | 4e 45 57 53 42 49 4e 3a |/relay:$|NEWSBIN:|
|000008d0| 24 4e 45 57 53 50 41 54 | 48 20 3b 20 65 78 70 6f |$NEWSPAT|H ; expo|
|000008e0| 72 74 20 50 41 54 48 20 | 23 20 69 6e 63 6c 75 64 |rt PATH |# includ|
|000008f0| 65 20 6d 6b 70 64 69 72 | 0a 58 75 6d 61 73 6b 20 |e mkpdir|.Xumask |
|00000900| 24 4e 45 57 53 55 4d 41 | 53 4b 0a 58 0a 58 61 66 |$NEWSUMA|SK.X.Xaf|
|00000910| 69 6c 65 3d 2f 74 6d 70 | 2f 6e 63 64 0a 58 61 66 |ile=/tmp|/ncd.Xaf|
|00000920| 69 6c 65 68 64 72 3d 2f | 74 6d 70 2f 6e 63 64 68 |ilehdr=/|tmp/ncdh|
|00000930| 64 72 0a 58 61 66 69 6c | 65 62 6f 64 79 3d 2f 74 |dr.Xafil|ebody=/t|
|00000940| 6d 70 2f 6e 63 64 62 6f | 64 79 0a 58 68 64 72 3d |mp/ncdbo|dy.Xhdr=|
|00000950| 2f 74 6d 70 2f 6e 63 24 | 24 0a 58 0a 58 74 72 61 |/tmp/nc$|$.X.Xtra|
|00000960| 70 20 22 65 78 69 74 20 | 31 22 20 31 20 32 20 33 |p "exit |1" 1 2 3|
|00000970| 20 31 33 20 31 35 0a 58 | 74 72 61 70 20 22 72 6d | 13 15.X|trap "rm|
|00000980| 20 2d 66 20 24 68 64 72 | 20 24 61 66 69 6c 65 20 | -f $hdr| $afile |
|00000990| 24 61 66 69 6c 65 68 64 | 72 20 24 61 66 69 6c 65 |$afilehd|r $afile|
|000009a0| 62 6f 64 79 3b 20 65 78 | 69 74 20 30 22 20 30 0a |body; ex|it 0" 0.|
|000009b0| 58 0a 58 24 4e 45 57 53 | 42 49 4e 2f 69 6e 6a 65 |X.X$NEWS|BIN/inje|
|000009c0| 63 74 2f 74 65 61 72 20 | 24 61 66 69 6c 65 0a 58 |ct/tear |$afile.X|
|000009d0| 24 4e 45 57 53 42 49 4e | 2f 63 61 6e 6f 6e 68 64 |$NEWSBIN|/canonhd|
|000009e0| 72 20 3c 24 61 66 69 6c | 65 68 64 72 20 3e 24 68 |r <$afil|ehdr >$h|
|000009f0| 64 72 0a 58 0a 58 23 20 | 75 6e 61 70 70 72 6f 76 |dr.X.X# |unapprov|
|00000a00| 65 64 20 63 74 6c 20 6d | 73 67 3f 20 74 68 65 6e |ed ctl m|sg? then|
|00000a10| 20 71 75 69 74 0a 58 67 | 72 65 70 20 2d 73 20 27 | quit.Xg|rep -s '|
|00000a20| 5e 41 70 70 72 6f 76 65 | 64 3a 27 20 24 68 64 72 |^Approve|d:' $hdr|
|00000a30| 20 3e 2f 64 65 76 2f 6e | 75 6c 6c 20 7c 7c 20 7b | >/dev/n|ull || {|
|00000a40| 20 72 6d 20 2d 66 20 24 | 68 64 72 3b 20 65 78 69 | rm -f $|hdr; exi|
|00000a50| 74 20 30 3b 20 7d 0a 58 | 0a 58 23 20 71 75 69 74 |t 0; }.X|.X# quit|
|00000a60| 20 69 66 20 74 68 65 20 | 67 72 6f 75 70 20 61 6c | if the |group al|
|00000a70| 72 65 61 64 79 20 65 78 | 69 73 74 73 20 69 6e 20 |ready ex|ists in |
|00000a80| 74 68 65 20 66 6f 72 6d | 20 72 65 71 75 65 73 74 |the form| request|
|00000a90| 65 64 0a 58 70 61 74 3d | 22 5e 60 65 63 68 6f 20 |ed.Xpat=|"^`echo |
|00000aa0| 24 31 20 7c 20 73 65 64 | 20 27 73 2f 5c 2e 2f 5c |$1 | sed| 's/\./\|
|00000ab0| 5c 5c 5c 2e 2f 67 27 60 | 20 22 0a 58 63 61 73 65 |\\\./g'`| ".Xcase|
|00000ac0| 20 60 61 77 6b 20 22 2f | 24 70 61 74 2f 20 7b 20 | `awk "/|$pat/ { |
|00000ad0| 70 72 69 6e 74 20 5c 5c | 24 34 3b 20 65 78 69 74 |print \\|$4; exit|
|00000ae0| 20 7d 22 20 24 4e 45 57 | 53 43 54 4c 2f 61 63 74 | }" $NEW|SCTL/act|
|00000af0| 69 76 65 60 20 69 6e 0a | 58 78 7c 3d 2a 29 09 65 |ive` in.|Xx|=*).e|
|00000b00| 78 69 74 20 30 20 3b 3b | 0a 58 79 29 09 74 65 73 |xit 0 ;;|.Xy).tes|
|00000b10| 74 20 22 22 20 3d 20 22 | 24 32 22 20 26 26 20 65 |t "" = "|$2" && e|
|00000b20| 78 69 74 20 30 20 3b 3b | 0a 58 6d 29 09 74 65 73 |xit 0 ;;|.Xm).tes|
|00000b30| 74 20 22 6d 6f 64 65 72 | 61 74 65 64 22 20 3d 20 |t "moder|ated" = |
|00000b40| 22 24 32 22 20 26 26 20 | 65 78 69 74 20 30 20 3b |"$2" && |exit 0 ;|
|00000b50| 3b 0a 58 65 73 61 63 0a | 58 0a 58 53 45 4e 44 45 |;.Xesac.|X.XSENDE|
|00000b60| 52 3d 22 60 67 72 65 70 | 20 27 5e 53 65 6e 64 65 |R="`grep| '^Sende|
|00000b70| 72 3a 27 20 24 68 64 72 | 20 7c 20 73 65 64 20 27 |r:' $hdr| | sed '|
|00000b80| 73 2f 5e 5b 5e 3a 5d 2a | 3a 20 2a 2f 2f 27 60 22 |s/^[^:]*|: *//'`"|
|00000b90| 0a 58 63 61 73 65 20 22 | 24 53 45 4e 44 45 52 22 |.Xcase "|$SENDER"|
|00000ba0| 20 69 6e 0a 58 22 22 29 | 09 53 45 4e 44 45 52 3d | in.X"")|.SENDER=|
|00000bb0| 22 60 67 72 65 70 20 27 | 5e 46 72 6f 6d 3a 27 20 |"`grep '|^From:' |
|00000bc0| 24 68 64 72 20 7c 20 73 | 65 64 20 27 73 2f 5e 5b |$hdr | s|ed 's/^[|
|00000bd0| 5e 3a 5d 2a 3a 20 2a 2f | 2f 27 20 60 22 20 3b 3b |^:]*: */|/' `" ;;|
|00000be0| 0a 58 65 73 61 63 0a 58 | 0a 58 23 20 74 65 6c 6c |.Xesac.X|.X# tell|
|00000bf0| 20 74 68 65 20 6c 6f 63 | 61 6c 20 75 73 65 6e 65 | the loc|al usene|
|00000c00| 74 20 61 64 6d 69 6e 69 | 73 74 72 61 74 6f 72 20 |t admini|strator |
|00000c10| 74 6f 20 64 6f 20 69 74 | 20 62 79 20 68 61 6e 64 |to do it| by hand|
|00000c20| 0a 58 63 61 73 65 20 22 | 24 32 22 20 69 6e 0a 58 |.Xcase "|$2" in.X|
|00000c30| 22 22 29 09 47 3d 22 24 | 31 22 20 3b 3b 0a 58 2a |"").G="$|1" ;;.X*|
|00000c40| 29 09 47 3d 22 24 31 20 | 24 32 22 20 3b 3b 0a 58 |).G="$1 |$2" ;;.X|
|00000c50| 65 73 61 63 0a 58 28 20 | 65 63 68 6f 20 22 24 53 |esac.X( |echo "$S|
|00000c60| 45 4e 44 45 52 20 73 61 | 79 73 22 0a 58 20 20 65 |ENDER sa|ys".X e|
|00000c70| 63 68 6f 20 22 74 6f 20 | 63 72 65 61 74 65 20 74 |cho "to |create t|
|00000c80| 68 65 20 67 72 6f 75 70 | 20 27 24 47 27 2c 22 0a |he group| '$G',".|
|00000c90| 58 20 20 65 63 68 6f 20 | 22 61 6e 64 20 61 64 64 |X echo |"and add|
|00000ca0| 73 20 74 68 69 73 20 63 | 6f 6d 6d 65 6e 74 3a 22 |s this c|omment:"|
|00000cb0| 3b 0a 58 20 20 63 61 74 | 20 24 61 66 69 6c 65 62 |;.X cat| $afileb|
|00000cc0| 6f 64 79 20 29 20 7c 0a | 58 20 20 20 20 6d 61 69 |ody ) |.|X mai|
|00000cd0| 6c 20 2d 73 20 22 6e 65 | 77 67 72 6f 75 70 20 24 |l -s "ne|wgroup $|
|00000ce0| 47 22 20 24 4e 45 57 53 | 4d 41 53 54 45 52 0a 45 |G" $NEWS|MASTER.E|
|00000cf0| 4e 44 5f 4f 46 5f 46 49 | 4c 45 0a 69 66 20 74 65 |ND_OF_FI|LE.if te|
|00000d00| 73 74 20 31 34 32 34 20 | 2d 6e 65 20 60 77 63 20 |st 1424 |-ne `wc |
|00000d10| 2d 63 20 3c 27 6e 65 77 | 67 72 6f 75 70 27 60 3b |-c <'new|group'`;|
|00000d20| 20 74 68 65 6e 0a 20 20 | 20 20 65 63 68 6f 20 73 | then. | echo s|
|00000d30| 68 61 72 3a 20 5c 22 27 | 6e 65 77 67 72 6f 75 70 |har: \"'|newgroup|
|00000d40| 27 5c 22 20 75 6e 70 61 | 63 6b 65 64 20 77 69 74 |'\" unpa|cked wit|
|00000d50| 68 20 77 72 6f 6e 67 20 | 73 69 7a 65 21 0a 66 69 |h wrong |size!.fi|
|00000d60| 0a 63 68 6d 6f 64 20 2b | 78 20 27 6e 65 77 67 72 |.chmod +|x 'newgr|
|00000d70| 6f 75 70 27 0a 23 20 65 | 6e 64 20 6f 66 20 27 6e |oup'.# e|nd of 'n|
|00000d80| 65 77 67 72 6f 75 70 27 | 0a 66 69 0a 69 66 20 74 |ewgroup'|.fi.if t|
|00000d90| 65 73 74 20 2d 66 20 27 | 72 6d 67 72 6f 75 70 27 |est -f '|rmgroup'|
|00000da0| 20 2d 61 20 22 24 7b 31 | 7d 22 20 21 3d 20 22 2d | -a "${1|}" != "-|
|00000db0| 63 22 20 3b 20 74 68 65 | 6e 20 0a 20 20 65 63 68 |c" ; the|n . ech|
|00000dc0| 6f 20 73 68 61 72 3a 20 | 57 69 6c 6c 20 6e 6f 74 |o shar: |Will not|
|00000dd0| 20 63 6c 6f 62 62 65 72 | 20 65 78 69 73 74 69 6e | clobber| existin|
|00000de0| 67 20 66 69 6c 65 20 5c | 22 27 72 6d 67 72 6f 75 |g file \|"'rmgrou|
|00000df0| 70 27 5c 22 0a 65 6c 73 | 65 0a 65 63 68 6f 20 73 |p'\".els|e.echo s|
|00000e00| 68 61 72 3a 20 45 78 74 | 72 61 63 74 69 6e 67 20 |har: Ext|racting |
|00000e10| 5c 22 27 72 6d 67 72 6f | 75 70 27 5c 22 20 5c 28 |\"'rmgro|up'\" \(|
|00000e20| 31 31 34 30 20 63 68 61 | 72 61 63 74 65 72 73 5c |1140 cha|racters\|
|00000e30| 29 0a 73 65 64 20 22 73 | 2f 5e 58 2f 2f 22 20 3e |).sed "s|/^X//" >|
|00000e40| 27 72 6d 67 72 6f 75 70 | 27 20 3c 3c 27 45 4e 44 |'rmgroup|' <<'END|
|00000e50| 5f 4f 46 5f 46 49 4c 45 | 27 0a 58 23 21 20 2f 62 |_OF_FILE|'.X#! /b|
|00000e60| 69 6e 2f 73 68 0a 58 23 | 20 72 6d 67 72 6f 75 70 |in/sh.X#| rmgroup|
|00000e70| 20 67 72 6f 75 70 0a 58 | 23 0a 58 23 20 4d 6f 64 | group.X|#.X# Mod|
|00000e80| 69 66 69 65 64 20 62 79 | 20 43 68 69 70 20 53 61 |ified by| Chip Sa|
|00000e90| 6c 7a 65 6e 62 65 72 67 | 2c 20 37 20 4a 75 6e 65 |lzenberg|, 7 June|
|00000ea0| 20 31 39 39 30 2e 0a 58 | 23 20 53 65 6e 64 20 6d | 1990..X|# Send m|
|00000eb0| 61 69 6c 20 74 6f 20 55 | 73 65 6e 65 74 20 61 64 |ail to U|senet ad|
|00000ec0| 6d 69 6e 69 73 74 72 61 | 74 6f 72 20 64 65 73 63 |ministra|tor desc|
|00000ed0| 72 69 62 69 6e 67 20 74 | 68 65 20 72 6d 67 72 6f |ribing t|he rmgro|
|00000ee0| 75 70 20 72 65 71 75 65 | 73 74 2e 0a 58 23 20 42 |up reque|st..X# B|
|00000ef0| 75 74 20 69 66 20 67 72 | 6f 75 70 20 64 6f 65 73 |ut if gr|oup does|
|00000f00| 6e 27 74 20 65 78 69 73 | 74 2c 20 64 6f 6e 27 74 |n't exis|t, don't|
|00000f10| 20 62 6f 74 68 65 72 2e | 0a 58 0a 58 23 20 3d 28 | bother.|.X.X# =(|
|00000f20| 29 3c 2e 20 24 7b 4e 45 | 57 53 43 4f 4e 46 49 47 |)<. ${NE|WSCONFIG|
|00000f30| 2d 40 3c 4e 45 57 53 43 | 4f 4e 46 49 47 3e 40 7d |-@<NEWSC|ONFIG>@}|
|00000f40| 3e 28 29 3d 0a 58 2e 20 | 24 7b 4e 45 57 53 43 4f |>()=.X. |${NEWSCO|
|00000f50| 4e 46 49 47 2d 2f 75 73 | 72 2f 6c 69 62 2f 6e 65 |NFIG-/us|r/lib/ne|
|00000f60| 77 73 2f 62 69 6e 2f 63 | 6f 6e 66 69 67 7d 0a 58 |ws/bin/c|onfig}.X|
|00000f70| 65 78 70 6f 72 74 20 4e | 45 57 53 43 54 4c 20 4e |export N|EWSCTL N|
|00000f80| 45 57 53 42 49 4e 20 4e | 45 57 53 41 52 54 53 0a |EWSBIN N|EWSARTS.|
|00000f90| 58 50 41 54 48 3d 24 4e | 45 57 53 43 54 4c 2f 62 |XPATH=$N|EWSCTL/b|
|00000fa0| 69 6e 3a 24 4e 45 57 53 | 42 49 4e 3a 24 4e 45 57 |in:$NEWS|BIN:$NEW|
|00000fb0| 53 50 41 54 48 20 3b 20 | 65 78 70 6f 72 74 20 50 |SPATH ; |export P|
|00000fc0| 41 54 48 0a 58 75 6d 61 | 73 6b 20 24 4e 45 57 53 |ATH.Xuma|sk $NEWS|
|00000fd0| 55 4d 41 53 4b 0a 58 0a | 58 61 66 69 6c 65 3d 2f |UMASK.X.|Xafile=/|
|00000fe0| 74 6d 70 2f 6e 63 64 0a | 58 61 66 69 6c 65 68 64 |tmp/ncd.|Xafilehd|
|00000ff0| 72 3d 2f 74 6d 70 2f 6e | 63 64 68 64 72 0a 58 61 |r=/tmp/n|cdhdr.Xa|
|00001000| 66 69 6c 65 62 6f 64 79 | 3d 2f 74 6d 70 2f 6e 63 |filebody|=/tmp/nc|
|00001010| 64 62 6f 64 79 0a 58 68 | 64 72 3d 2f 74 6d 70 2f |dbody.Xh|dr=/tmp/|
|00001020| 6e 63 24 24 0a 58 0a 58 | 74 72 61 70 20 22 65 78 |nc$$.X.X|trap "ex|
|00001030| 69 74 20 31 22 20 31 20 | 32 20 33 20 31 33 20 31 |it 1" 1 |2 3 13 1|
|00001040| 35 0a 58 74 72 61 70 20 | 22 72 6d 20 2d 66 20 24 |5.Xtrap |"rm -f $|
|00001050| 68 64 72 20 24 61 66 69 | 6c 65 20 24 61 66 69 6c |hdr $afi|le $afil|
|00001060| 65 68 64 72 20 24 61 66 | 69 6c 65 62 6f 64 79 3b |ehdr $af|ilebody;|
|00001070| 20 65 78 69 74 20 30 22 | 20 30 0a 58 0a 58 24 4e | exit 0"| 0.X.X$N|
|00001080| 45 57 53 42 49 4e 2f 69 | 6e 6a 65 63 74 2f 74 65 |EWSBIN/i|nject/te|
|00001090| 61 72 20 24 61 66 69 6c | 65 0a 58 24 4e 45 57 53 |ar $afil|e.X$NEWS|
|000010a0| 42 49 4e 2f 63 61 6e 6f | 6e 68 64 72 20 3c 24 61 |BIN/cano|nhdr <$a|
|000010b0| 66 69 6c 65 68 64 72 20 | 3e 24 68 64 72 0a 58 0a |filehdr |>$hdr.X.|
|000010c0| 58 23 20 75 6e 61 70 70 | 72 6f 76 65 64 20 63 74 |X# unapp|roved ct|
|000010d0| 6c 20 6d 73 67 3f 20 74 | 68 65 6e 20 71 75 69 74 |l msg? t|hen quit|
|000010e0| 0a 58 65 67 72 65 70 20 | 27 5e 41 70 70 72 6f 76 |.Xegrep |'^Approv|
|000010f0| 65 64 3a 27 20 24 68 64 | 72 20 3e 2f 64 65 76 2f |ed:' $hd|r >/dev/|
|00001100| 6e 75 6c 6c 20 7c 7c 20 | 7b 20 72 6d 20 2d 66 20 |null || |{ rm -f |
|00001110| 24 61 66 69 6c 65 2a 3b | 20 65 78 69 74 20 30 3b |$afile*;| exit 0;|
|00001120| 20 7d 0a 58 0a 58 23 20 | 71 75 69 74 20 69 66 20 | }.X.X# |quit if |
|00001130| 6e 6f 20 61 63 74 69 76 | 65 20 65 6e 74 72 79 0a |no activ|e entry.|
|00001140| 58 65 67 72 65 70 20 22 | 5e 60 65 63 68 6f 20 24 |Xegrep "|^`echo $|
|00001150| 31 20 7c 20 73 65 64 20 | 27 73 2f 5c 2e 2f 5c 5c |1 | sed |'s/\./\\|
|00001160| 5c 5c 2e 2f 67 27 60 20 | 22 20 24 4e 45 57 53 43 |\\./g'` |" $NEWSC|
|00001170| 54 4c 2f 61 63 74 69 76 | 65 20 3e 2f 64 65 76 2f |TL/activ|e >/dev/|
|00001180| 6e 75 6c 6c 20 7c 7c 20 | 65 78 69 74 20 30 0a 58 |null || |exit 0.X|
|00001190| 0a 58 53 45 4e 44 45 52 | 3d 22 60 67 72 65 70 20 |.XSENDER|="`grep |
|000011a0| 27 5e 53 65 6e 64 65 72 | 3a 27 20 24 68 64 72 20 |'^Sender|:' $hdr |
|000011b0| 7c 20 73 65 64 20 27 73 | 2f 5e 5b 5e 3a 5d 2a 3a || sed 's|/^[^:]*:|
|000011c0| 20 2a 2f 2f 27 60 22 0a | 58 63 61 73 65 20 22 24 | *//'`".|Xcase "$|
|000011d0| 53 45 4e 44 45 52 22 20 | 69 6e 0a 58 22 22 29 09 |SENDER" |in.X"").|
|000011e0| 53 45 4e 44 45 52 3d 22 | 60 67 72 65 70 20 27 5e |SENDER="|`grep '^|
|000011f0| 46 72 6f 6d 3a 27 20 24 | 68 64 72 20 7c 20 73 65 |From:' $|hdr | se|
|00001200| 64 20 27 73 2f 5e 5b 5e | 3a 5d 2a 3a 20 2a 2f 2f |d 's/^[^|:]*: *//|
|00001210| 27 60 22 20 3b 3b 0a 58 | 65 73 61 63 0a 58 0a 58 |'`" ;;.X|esac.X.X|
|00001220| 23 20 74 65 6c 6c 20 74 | 68 65 20 6c 6f 63 61 6c |# tell t|he local|
|00001230| 20 75 73 65 6e 65 74 20 | 61 64 6d 69 6e 69 73 74 | usenet |administ|
|00001240| 72 61 74 6f 72 20 74 6f | 20 64 6f 20 69 74 20 62 |rator to| do it b|
|00001250| 79 20 68 61 6e 64 0a 58 | 47 3d 22 24 31 22 0a 58 |y hand.X|G="$1".X|
|00001260| 28 20 65 63 68 6f 20 22 | 24 53 45 4e 44 45 52 20 |( echo "|$SENDER |
|00001270| 73 61 79 73 22 0a 58 20 | 20 65 63 68 6f 20 22 74 |says".X | echo "t|
|00001280| 6f 20 72 65 6d 6f 76 65 | 20 74 68 65 20 67 72 6f |o remove| the gro|
|00001290| 75 70 20 27 24 47 27 2c | 22 0a 58 20 20 65 63 68 |up '$G',|".X ech|
|000012a0| 6f 20 22 61 6e 64 20 61 | 64 64 73 20 74 68 69 73 |o "and a|dds this|
|000012b0| 20 63 6f 6d 6d 65 6e 74 | 3a 22 3b 0a 58 20 20 63 | comment|:";.X c|
|000012c0| 61 74 20 24 61 66 69 6c | 65 62 6f 64 79 20 29 20 |at $afil|ebody ) |
|000012d0| 7c 0a 58 20 20 20 20 6d | 61 69 6c 20 2d 73 20 22 ||.X m|ail -s "|
|000012e0| 72 6d 67 72 6f 75 70 20 | 24 47 22 20 24 4e 45 57 |rmgroup |$G" $NEW|
|000012f0| 53 4d 41 53 54 45 52 0a | 45 4e 44 5f 4f 46 5f 46 |SMASTER.|END_OF_F|
|00001300| 49 4c 45 0a 69 66 20 74 | 65 73 74 20 31 31 34 30 |ILE.if t|est 1140|
|00001310| 20 2d 6e 65 20 60 77 63 | 20 2d 63 20 3c 27 72 6d | -ne `wc| -c <'rm|
|00001320| 67 72 6f 75 70 27 60 3b | 20 74 68 65 6e 0a 20 20 |group'`;| then. |
|00001330| 20 20 65 63 68 6f 20 73 | 68 61 72 3a 20 5c 22 27 | echo s|har: \"'|
|00001340| 72 6d 67 72 6f 75 70 27 | 5c 22 20 75 6e 70 61 63 |rmgroup'|\" unpac|
|00001350| 6b 65 64 20 77 69 74 68 | 20 77 72 6f 6e 67 20 73 |ked with| wrong s|
|00001360| 69 7a 65 21 0a 66 69 0a | 63 68 6d 6f 64 20 2b 78 |ize!.fi.|chmod +x|
|00001370| 20 27 72 6d 67 72 6f 75 | 70 27 0a 23 20 65 6e 64 | 'rmgrou|p'.# end|
|00001380| 20 6f 66 20 27 72 6d 67 | 72 6f 75 70 27 0a 66 69 | of 'rmg|roup'.fi|
|00001390| 0a 65 63 68 6f 20 73 68 | 61 72 3a 20 45 6e 64 20 |.echo sh|ar: End |
|000013a0| 6f 66 20 73 68 65 6c 6c | 20 61 72 63 68 69 76 65 |of shell| archive|
|000013b0| 2e 0a 65 78 69 74 20 30 | 0a 2d 2d 20 0a 43 68 69 |..exit 0|.-- .Chi|
|000013c0| 70 20 53 61 6c 7a 65 6e | 62 65 72 67 20 61 74 20 |p Salzen|berg at |
|000013d0| 43 6f 6d 44 65 76 2f 54 | 43 54 20 20 20 20 20 3c |ComDev/T|CT <|
|000013e0| 63 68 69 70 40 74 63 74 | 2e 75 75 63 70 3e 2c 20 |chip@tct|.uucp>, |
|000013f0| 3c 75 75 6e 65 74 21 61 | 74 65 6e 67 21 74 63 74 |<uunet!a|teng!tct|
|00001400| 21 63 68 69 70 3e 0a | |!chip>. | |
+--------+-------------------------+-------------------------+--------+--------+