home *** CD-ROM | disk | FTP | other *** search
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: 3996
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
| C source, 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 61 6c 74 2e |Newsgrou|ps: alt.|
|00000010| 73 6f 75 72 63 65 73 0a | 50 61 74 68 3a 20 77 75 |sources.|Path: wu|
|00000020| 70 6f 73 74 21 7a 61 70 | 68 6f 64 2e 6d 70 73 2e |post!zap|hod.mps.|
|00000030| 6f 68 69 6f 2d 73 74 61 | 74 65 2e 65 64 75 21 63 |ohio-sta|te.edu!c|
|00000040| 61 73 62 61 68 2e 61 63 | 6e 73 2e 6e 77 75 2e 65 |asbah.ac|ns.nwu.e|
|00000050| 64 75 21 6e 75 63 73 72 | 6c 21 64 64 73 77 31 21 |du!nucsr|l!ddsw1!|
|00000060| 7a 61 6e 65 0a 46 72 6f | 6d 3a 20 7a 61 6e 65 40 |zane.Fro|m: zane@|
|00000070| 64 64 73 77 31 2e 4d 43 | 53 2e 43 4f 4d 20 28 53 |ddsw1.MC|S.COM (S|
|00000080| 61 6d 65 65 72 20 50 61 | 72 65 6b 68 29 0a 53 75 |ameer Pa|rekh).Su|
|00000090| 62 6a 65 63 74 3a 20 50 | 53 70 65 61 6b 0a 4d 65 |bject: P|Speak.Me|
|000000a0| 73 73 61 67 65 2d 49 44 | 3a 20 3c 31 39 39 31 53 |ssage-ID|: <1991S|
|000000b0| 65 70 30 35 2e 32 33 33 | 30 34 32 2e 32 33 36 36 |ep05.233|042.2366|
|000000c0| 36 40 64 64 73 77 31 2e | 4d 43 53 2e 43 4f 4d 3e |6@ddsw1.|MCS.COM>|
|000000d0| 0a 4f 72 67 61 6e 69 7a | 61 74 69 6f 6e 3a 20 64 |.Organiz|ation: d|
|000000e0| 64 73 77 31 2e 4d 43 53 | 2e 43 4f 4d 20 43 6f 6e |dsw1.MCS|.COM Con|
|000000f0| 74 72 69 62 75 74 6f 72 | 2c 20 43 68 69 63 61 67 |tributor|, Chicag|
|00000100| 6f 2c 20 49 4c 0a 44 61 | 74 65 3a 20 54 68 75 2c |o, IL.Da|te: Thu,|
|00000110| 20 30 35 20 53 65 70 20 | 39 31 20 32 33 3a 33 30 | 05 Sep |91 23:30|
|00000120| 3a 34 32 20 47 4d 54 0a | 4c 69 6e 65 73 3a 20 31 |:42 GMT.|Lines: 1|
|00000130| 32 39 0a 0a 0a 23 21 20 | 2f 62 69 6e 2f 73 68 0a |29...#! |/bin/sh.|
|00000140| 23 20 54 68 69 73 20 69 | 73 20 61 20 73 68 65 6c |# This i|s a shel|
|00000150| 6c 20 61 72 63 68 69 76 | 65 2e 20 20 52 65 6d 6f |l archiv|e. Remo|
|00000160| 76 65 20 61 6e 79 74 68 | 69 6e 67 20 62 65 66 6f |ve anyth|ing befo|
|00000170| 72 65 20 74 68 69 73 20 | 6c 69 6e 65 2c 20 74 68 |re this |line, th|
|00000180| 65 6e 20 75 6e 70 61 63 | 6b 0a 23 20 69 74 20 62 |en unpac|k.# it b|
|00000190| 79 20 73 61 76 69 6e 67 | 20 69 74 20 69 6e 74 6f |y saving| it into|
|000001a0| 20 61 20 66 69 6c 65 20 | 61 6e 64 20 74 79 70 69 | a file |and typi|
|000001b0| 6e 67 20 22 73 68 20 66 | 69 6c 65 22 2e 20 20 54 |ng "sh f|ile". T|
|000001c0| 6f 20 6f 76 65 72 77 72 | 69 74 65 20 65 78 69 73 |o overwr|ite exis|
|000001d0| 74 69 6e 67 0a 23 20 66 | 69 6c 65 73 2c 20 74 79 |ting.# f|iles, ty|
|000001e0| 70 65 20 22 73 68 20 66 | 69 6c 65 20 2d 63 22 2e |pe "sh f|ile -c".|
|000001f0| 20 20 59 6f 75 20 63 61 | 6e 20 61 6c 73 6f 20 66 | You ca|n also f|
|00000200| 65 65 64 20 74 68 69 73 | 20 61 73 20 73 74 61 6e |eed this| as stan|
|00000210| 64 61 72 64 20 69 6e 70 | 75 74 20 76 69 61 0a 23 |dard inp|ut via.#|
|00000220| 20 75 6e 73 68 61 72 2c | 20 6f 72 20 62 79 20 74 | unshar,| or by t|
|00000230| 79 70 69 6e 67 20 22 73 | 68 20 3c 66 69 6c 65 22 |yping "s|h <file"|
|00000240| 2c 20 65 2e 67 2e 2e 20 | 20 49 66 20 74 68 69 73 |, e.g.. | If this|
|00000250| 20 61 72 63 68 69 76 65 | 20 69 73 20 63 6f 6d 70 | archive| is comp|
|00000260| 6c 65 74 65 2c 20 79 6f | 75 0a 23 20 77 69 6c 6c |lete, yo|u.# will|
|00000270| 20 73 65 65 20 74 68 65 | 20 66 6f 6c 6c 6f 77 69 | see the| followi|
|00000280| 6e 67 20 6d 65 73 73 61 | 67 65 20 61 74 20 74 68 |ng messa|ge at th|
|00000290| 65 20 65 6e 64 3a 0a 23 | 09 09 22 45 6e 64 20 6f |e end:.#|.."End o|
|000002a0| 66 20 73 68 65 6c 6c 20 | 61 72 63 68 69 76 65 2e |f shell |archive.|
|000002b0| 22 0a 23 20 43 6f 6e 74 | 65 6e 74 73 3a 20 20 52 |".# Cont|ents: R|
|000002c0| 45 41 44 4d 45 20 70 73 | 70 65 61 6b 2e 63 20 74 |EADME ps|peak.c t|
|000002d0| 65 73 74 0a 23 20 57 72 | 61 70 70 65 64 20 62 79 |est.# Wr|apped by|
|000002e0| 20 7a 61 6e 65 40 64 64 | 73 77 31 20 6f 6e 20 54 | zane@dd|sw1 on T|
|000002f0| 68 75 20 53 65 70 20 20 | 35 20 31 38 3a 32 39 3a |hu Sep |5 18:29:|
|00000300| 32 36 20 31 39 39 31 0a | 50 41 54 48 3d 2f 62 69 |26 1991.|PATH=/bi|
|00000310| 6e 3a 2f 75 73 72 2f 62 | 69 6e 3a 2f 75 73 72 2f |n:/usr/b|in:/usr/|
|00000320| 75 63 62 20 3b 20 65 78 | 70 6f 72 74 20 50 41 54 |ucb ; ex|port PAT|
|00000330| 48 0a 69 66 20 74 65 73 | 74 20 2d 66 20 27 52 45 |H.if tes|t -f 'RE|
|00000340| 41 44 4d 45 27 20 2d 61 | 20 22 24 7b 31 7d 22 20 |ADME' -a| "${1}" |
|00000350| 21 3d 20 22 2d 63 22 20 | 3b 20 74 68 65 6e 20 0a |!= "-c" |; then .|
|00000360| 20 20 65 63 68 6f 20 73 | 68 61 72 3a 20 57 69 6c | echo s|har: Wil|
|00000370| 6c 20 6e 6f 74 20 63 6c | 6f 62 62 65 72 20 65 78 |l not cl|obber ex|
|00000380| 69 73 74 69 6e 67 20 66 | 69 6c 65 20 5c 22 27 52 |isting f|ile \"'R|
|00000390| 45 41 44 4d 45 27 5c 22 | 0a 65 6c 73 65 0a 65 63 |EADME'\"|.else.ec|
|000003a0| 68 6f 20 73 68 61 72 3a | 20 45 78 74 72 61 63 74 |ho shar:| Extract|
|000003b0| 69 6e 67 20 5c 22 27 52 | 45 41 44 4d 45 27 5c 22 |ing \"'R|EADME'\"|
|000003c0| 20 5c 28 39 39 30 20 63 | 68 61 72 61 63 74 65 72 | \(990 c|haracter|
|000003d0| 73 5c 29 0a 73 65 64 20 | 22 73 2f 5e 58 2f 2f 22 |s\).sed |"s/^X//"|
|000003e0| 20 3e 27 52 45 41 44 4d | 45 27 20 3c 3c 27 45 4e | >'READM|E' <<'EN|
|000003f0| 44 5f 4f 46 5f 46 49 4c | 45 27 0a 58 09 54 68 69 |D_OF_FIL|E'.X.Thi|
|00000400| 73 20 70 72 6f 67 72 61 | 6d 20 69 73 20 6e 65 61 |s progra|m is nea|
|00000410| 74 2c 20 77 68 61 74 20 | 79 6f 75 20 64 6f 20 69 |t, what |you do i|
|00000420| 73 20 72 6f 75 74 65 20 | 74 6f 20 73 74 64 69 6e |s route |to stdin|
|00000430| 20 61 6e 20 69 6e 70 75 | 74 20 74 68 61 74 0a 68 | an inpu|t that.h|
|00000440| 61 73 20 61 20 6c 69 6e | 65 20 62 65 67 69 6e 6e |as a lin|e beginn|
|00000450| 69 6e 67 20 77 69 74 68 | 20 61 6e 20 27 2a 27 20 |ing with| an '*' |
|00000460| 61 6e 64 20 61 6e 20 73 | 70 61 63 65 2e 0a 58 09 |and an s|pace..X.|
|00000470| 54 68 65 6e 2c 20 69 6e | 20 63 61 70 69 74 61 6c |Then, in| capital|
|00000480| 20 6c 65 74 74 65 72 73 | 2c 20 79 6f 75 20 77 72 | letters|, you wr|
|00000490| 69 74 65 20 74 68 65 20 | 6d 65 73 73 61 67 65 20 |ite the |message |
|000004a0| 79 6f 75 27 64 20 6c 69 | 6b 65 20 74 6f 20 67 65 |you'd li|ke to ge|
|000004b0| 74 0a 61 63 72 6f 73 73 | 2e 0a 58 09 54 68 65 6e |t.across|..X.Then|
|000004c0| 20 79 6f 75 20 65 6e 74 | 65 72 20 74 68 65 20 27 | you ent|er the '|
|000004d0| 66 61 6b 65 20 6d 65 73 | 73 61 67 65 27 2e 20 20 |fake mes|sage'. |
|000004e0| 49 66 20 79 6f 75 20 65 | 6e 74 65 72 65 64 20 74 |If you e|ntered t|
|000004f0| 68 65 20 70 72 6f 70 65 | 72 0a 62 6f 6c 64 66 61 |he prope|r.boldfa|
|00000500| 63 65 20 63 6f 64 65 73 | 20 61 74 20 63 6f 6d 70 |ce codes| at comp|
|00000510| 69 6c 65 2d 74 69 6d 65 | 2c 20 77 68 65 6e 20 79 |ile-time|, when y|
|00000520| 6f 75 20 70 72 69 6e 74 | 20 74 68 65 20 6f 75 74 |ou print| the out|
|00000530| 70 75 74 2c 20 74 68 65 | 20 6c 65 74 74 65 72 73 |put, the| letters|
|00000540| 20 69 6e 0a 79 6f 75 72 | 20 66 61 6b 65 20 6d 65 | in.your| fake me|
|00000550| 73 73 61 67 65 20 77 68 | 69 63 68 20 63 6f 72 72 |ssage wh|ich corr|
|00000560| 65 73 70 6f 6e 64 20 77 | 69 74 68 20 74 68 65 20 |espond w|ith the |
|00000570| 66 69 72 73 74 20 6c 69 | 6e 65 20 6d 65 73 73 61 |first li|ne messa|
|00000580| 67 65 20 61 72 65 0a 62 | 6f 6c 64 66 61 63 65 64 |ge are.b|oldfaced|
|00000590| 2e 20 20 59 6f 75 20 63 | 61 6e 20 65 6e 74 65 72 |. You c|an enter|
|000005a0| 20 77 68 61 74 65 76 65 | 72 20 63 6f 64 65 73 20 | whateve|r codes |
|000005b0| 79 6f 75 20 6c 69 6b 65 | 20 72 65 61 6c 6c 79 2c |you like| really,|
|000005c0| 20 75 6e 64 65 72 6c 69 | 6e 65 2c 0a 69 74 61 6c | underli|ne,.ital|
|000005d0| 69 63 73 2c 20 6f 72 20 | 77 68 61 74 65 76 65 72 |ics, or |whatever|
|000005e0| 2e 0a 58 09 2d 2d 20 53 | 61 6d 65 65 72 20 50 61 |..X.-- S|ameer Pa|
|000005f0| 72 65 6b 68 0a 58 09 20 | 53 65 70 74 65 6d 62 65 |rekh.X. |Septembe|
|00000600| 72 20 34 74 68 2c 20 31 | 39 39 31 0a 58 09 20 7a |r 4th, 1|991.X. z|
|00000610| 61 6e 65 40 64 64 73 77 | 31 2e 4d 43 53 2e 43 4f |ane@ddsw|1.MCS.CO|
|00000620| 4d 0a 58 0a 58 09 20 49 | 20 77 72 6f 74 65 20 74 |M.X.X. I| wrote t|
|00000630| 68 69 73 20 70 72 6f 67 | 72 61 6d 20 77 69 74 68 |his prog|ram with|
|00000640| 20 74 68 65 20 65 6e 63 | 69 74 65 6d 65 6e 74 20 | the enc|itement |
|00000650| 6f 66 20 41 61 72 6f 6e | 20 53 69 6c 76 65 72 74 |of Aaron| Silvert|
|00000660| 6f 6e 2c 20 73 6f 6f 6e | 0a 74 6f 20 68 61 76 65 |on, soon|.to have|
|00000670| 20 61 20 6e 65 74 20 61 | 64 64 72 65 73 73 2e 20 | a net a|ddress. |
|00000680| 20 49 20 70 6c 61 63 65 | 20 74 68 69 73 20 69 6e | I place| this in|
|00000690| 20 74 68 65 20 70 75 62 | 6c 69 63 20 64 6f 6d 61 | the pub|lic doma|
|000006a0| 69 6e 2e 0a 58 09 4f 68 | 2c 20 61 6e 64 20 49 20 |in..X.Oh|, and I |
|000006b0| 67 6f 74 20 74 68 65 20 | 6e 61 6d 65 20 6f 66 20 |got the |name of |
|000006c0| 74 68 65 20 70 72 6f 67 | 72 61 6d 20 66 72 6f 6d |the prog|ram from|
|000006d0| 20 61 20 70 72 6f 67 72 | 61 6d 20 70 6f 73 74 65 | a progr|am poste|
|000006e0| 64 20 6f 6e 20 74 68 65 | 0a 6e 65 74 2e 20 20 28 |d on the|.net. (|
|000006f0| 49 20 74 68 69 6e 6b 20 | 69 74 20 77 61 73 20 61 |I think |it was a|
|00000700| 6c 74 2e 68 61 63 6b 65 | 72 73 2d 2d 6d 61 79 62 |lt.hacke|rs--mayb|
|00000710| 65 20 61 6c 74 2e 73 6f | 75 72 63 65 73 29 20 49 |e alt.so|urces) I|
|00000720| 20 64 6f 6e 27 74 20 6b | 6e 6f 77 20 74 68 65 20 | don't k|now the |
|00000730| 6e 61 6d 65 0a 6f 66 20 | 74 68 65 20 61 75 74 68 |name.of |the auth|
|00000740| 6f 72 2c 20 62 75 74 20 | 74 68 61 6e 6b 73 20 74 |or, but |thanks t|
|00000750| 6f 20 68 69 6d 2f 68 65 | 72 20 74 6f 6f 2e 20 20 |o him/he|r too. |
|00000760| 49 74 20 77 61 73 20 61 | 20 73 69 6d 69 6c 61 72 |It was a| similar|
|00000770| 20 70 72 6f 67 72 61 6d | 2c 20 62 75 74 20 49 0a | program|, but I.|
|00000780| 64 65 6c 65 74 65 64 20 | 69 74 20 66 72 6f 6d 20 |deleted |it from |
|00000790| 6d 79 20 73 79 73 74 65 | 6d 2c 20 73 6f 20 49 20 |my syste|m, so I |
|000007a0| 68 61 64 20 74 6f 20 77 | 72 69 74 65 20 74 68 69 |had to w|rite thi|
|000007b0| 73 2e 20 20 28 42 75 74 | 20 49 20 6c 69 6b 65 20 |s. (But| I like |
|000007c0| 6d 79 20 70 72 6f 67 72 | 61 6d 0a 62 65 74 74 65 |my progr|am.bette|
|000007d0| 72 2c 20 6f 66 20 63 6f | 75 72 73 65 2e 20 3a 2d |r, of co|urse. :-|
|000007e0| 29 0a 45 4e 44 5f 4f 46 | 5f 46 49 4c 45 0a 69 66 |).END_OF|_FILE.if|
|000007f0| 20 74 65 73 74 20 39 39 | 30 20 2d 6e 65 20 60 77 | test 99|0 -ne `w|
|00000800| 63 20 2d 63 20 3c 27 52 | 45 41 44 4d 45 27 60 3b |c -c <'R|EADME'`;|
|00000810| 20 74 68 65 6e 0a 20 20 | 20 20 65 63 68 6f 20 73 | then. | echo s|
|00000820| 68 61 72 3a 20 5c 22 27 | 52 45 41 44 4d 45 27 5c |har: \"'|README'\|
|00000830| 22 20 75 6e 70 61 63 6b | 65 64 20 77 69 74 68 20 |" unpack|ed with |
|00000840| 77 72 6f 6e 67 20 73 69 | 7a 65 21 0a 66 69 0a 23 |wrong si|ze!.fi.#|
|00000850| 20 65 6e 64 20 6f 66 20 | 27 52 45 41 44 4d 45 27 | end of |'README'|
|00000860| 0a 66 69 0a 69 66 20 74 | 65 73 74 20 2d 66 20 27 |.fi.if t|est -f '|
|00000870| 70 73 70 65 61 6b 2e 63 | 27 20 2d 61 20 22 24 7b |pspeak.c|' -a "${|
|00000880| 31 7d 22 20 21 3d 20 22 | 2d 63 22 20 3b 20 74 68 |1}" != "|-c" ; th|
|00000890| 65 6e 20 0a 20 20 65 63 | 68 6f 20 73 68 61 72 3a |en . ec|ho shar:|
|000008a0| 20 57 69 6c 6c 20 6e 6f | 74 20 63 6c 6f 62 62 65 | Will no|t clobbe|
|000008b0| 72 20 65 78 69 73 74 69 | 6e 67 20 66 69 6c 65 20 |r existi|ng file |
|000008c0| 5c 22 27 70 73 70 65 61 | 6b 2e 63 27 5c 22 0a 65 |\"'pspea|k.c'\".e|
|000008d0| 6c 73 65 0a 65 63 68 6f | 20 73 68 61 72 3a 20 45 |lse.echo| shar: E|
|000008e0| 78 74 72 61 63 74 69 6e | 67 20 5c 22 27 70 73 70 |xtractin|g \"'psp|
|000008f0| 65 61 6b 2e 63 27 5c 22 | 20 5c 28 31 30 31 30 20 |eak.c'\"| \(1010 |
|00000900| 63 68 61 72 61 63 74 65 | 72 73 5c 29 0a 73 65 64 |characte|rs\).sed|
|00000910| 20 22 73 2f 5e 58 2f 2f | 22 20 3e 27 70 73 70 65 | "s/^X//|" >'pspe|
|00000920| 61 6b 2e 63 27 20 3c 3c | 27 45 4e 44 5f 4f 46 5f |ak.c' <<|'END_OF_|
|00000930| 46 49 4c 45 27 0a 58 2f | 2a 20 50 72 6f 70 61 67 |FILE'.X/|* Propag|
|00000940| 61 6e 64 61 20 53 70 65 | 61 6b 20 2d 2d 20 4d 59 |anda Spe|ak -- MY|
|00000950| 20 56 45 52 53 49 4f 4e | 21 20 2a 2f 0a 58 23 69 | VERSION|! */.X#i|
|00000960| 6e 63 6c 75 64 65 3c 73 | 74 64 69 6f 2e 68 3e 0a |nclude<s|tdio.h>.|
|00000970| 58 0a 58 23 64 65 66 69 | 6e 65 09 42 4f 4c 44 5f |X.X#defi|ne.BOLD_|
|00000980| 4f 4e 09 09 22 5c 30 33 | 33 5c 30 34 31 22 09 2f |ON.."\03|3\041"./|
|00000990| 2a 20 54 68 69 73 20 69 | 73 20 74 68 65 20 73 74 |* This i|s the st|
|000009a0| 72 69 6e 67 20 74 68 61 | 74 20 70 72 65 63 65 64 |ring tha|t preced|
|000009b0| 65 73 20 22 62 6f 6c 64 | 22 20 6c 65 74 74 65 72 |es "bold|" letter|
|000009c0| 73 20 2a 2f 0a 58 23 64 | 65 66 69 6e 65 09 42 4f |s */.X#d|efine.BO|
|000009d0| 4c 44 5f 4f 46 46 09 22 | 5c 30 33 33 5c 30 34 32 |LD_OFF."|\033\042|
|000009e0| 22 0a 58 0a 58 0a 58 0a | 58 0a 69 6e 74 20 6d 61 |".X.X.X.|X.int ma|
|000009f0| 69 6e 28 29 20 7b 0a 58 | 09 63 68 61 72 20 2a 73 |in() {.X|.char *s|
|00000a00| 74 72 69 6e 67 3b 0a 58 | 09 69 6e 74 20 63 6f 75 |tring;.X|.int cou|
|00000a10| 6e 74 65 72 3b 0a 58 09 | 63 68 61 72 20 2a 62 75 |nter;.X.|char *bu|
|00000a20| 66 66 65 72 3b 0a 58 0a | 58 09 2f 2a 20 4e 6f 77 |ffer;.X.|X./* Now|
|00000a30| 20 77 65 20 72 65 61 64 | 20 69 6e 20 74 68 65 20 | we read| in the |
|00000a40| 27 73 74 72 69 6e 67 27 | 20 6c 69 6e 65 20 2a 2f |'string'| line */|
|00000a50| 0a 58 09 2f 2a 20 57 65 | 20 61 72 65 20 61 6c 6c |.X./* We| are all|
|00000a60| 6f 77 65 64 20 32 30 2c | 30 30 30 20 63 68 61 72 |owed 20,|000 char|
|00000a70| 61 63 74 65 72 73 20 2a | 2f 0a 58 0a 58 09 73 74 |acters *|/.X.X.st|
|00000a80| 72 69 6e 67 20 3d 20 28 | 63 68 61 72 20 2a 29 20 |ring = (|char *) |
|00000a90| 6d 61 6c 6c 6f 63 28 32 | 30 30 30 30 29 3b 0a 58 |malloc(2|0000);.X|
|00000aa0| 0a 58 0a 58 09 2f 2a 20 | 49 6e 69 74 69 61 6c 69 |.X.X./* |Initiali|
|00000ab0| 7a 65 20 74 68 65 6d 20 | 61 6c 6c 20 2a 2f 0a 58 |ze them |all */.X|
|00000ac0| 0a 58 0a 58 09 2f 2a 20 | 52 65 61 64 20 74 68 65 |.X.X./* |Read the|
|00000ad0| 6d 20 69 6e 20 66 72 6f | 6d 20 73 74 64 69 6e 2d |m in fro|m stdin-|
|00000ae0| 2d 70 72 65 63 65 64 65 | 64 20 62 79 20 61 20 27 |-precede|d by a '|
|00000af0| 2a 27 20 2a 2f 0a 58 09 | 67 65 74 73 28 73 74 72 |*' */.X.|gets(str|
|00000b00| 69 6e 67 29 3b 0a 58 0a | 58 09 69 66 28 73 74 72 |ing);.X.|X.if(str|
|00000b10| 69 6e 67 5b 30 5d 20 3d | 3d 20 27 2a 27 29 0a 58 |ing[0] =|= '*').X|
|00000b20| 09 09 73 74 72 69 6e 67 | 20 2b 3d 20 32 3b 20 20 |..string| += 2; |
|00000b30| 2f 2a 20 47 65 74 20 72 | 69 64 20 6f 66 20 74 68 |/* Get r|id of th|
|00000b40| 65 20 2a 20 61 6e 64 20 | 73 70 61 63 65 20 2a 2f |e * and |space */|
|00000b50| 0a 58 09 65 6c 73 65 20 | 7b 0a 58 09 09 70 75 74 |.X.else |{.X..put|
|00000b60| 73 28 22 45 72 72 6f 72 | 2c 20 6e 6f 74 20 61 20 |s("Error|, not a |
|00000b70| 70 73 70 65 61 6b 2d 75 | 73 61 62 6c 65 20 66 69 |pspeak-u|sable fi|
|00000b80| 6c 65 22 29 3b 0a 58 09 | 09 65 78 69 74 28 31 29 |le");.X.|.exit(1)|
|00000b90| 3b 0a 58 09 7d 0a 58 09 | 0a 58 09 2f 2a 20 4e 6f |;.X.}.X.|.X./* No|
|00000ba0| 77 20 62 65 67 69 6e 20 | 2a 2f 0a 58 0a 58 09 63 |w begin |*/.X.X.c|
|00000bb0| 6f 75 6e 74 65 72 20 3d | 20 30 3b 0a 58 09 77 68 |ounter =| 0;.X.wh|
|00000bc0| 69 6c 65 28 31 29 20 7b | 0a 58 09 09 69 66 28 73 |ile(1) {|.X..if(s|
|00000bd0| 74 72 69 6e 67 5b 63 6f | 75 6e 74 65 72 5d 20 3d |tring[co|unter] =|
|00000be0| 3d 20 27 20 27 29 20 2f | 2a 20 41 76 6f 69 64 20 |= ' ') /|* Avoid |
|00000bf0| 73 70 61 63 65 73 20 2a | 2f 0a 58 09 09 09 63 6f |spaces *|/.X...co|
|00000c00| 75 6e 74 65 72 2b 2b 3b | 0a 58 09 09 63 68 61 72 |unter++;|.X..char|
|00000c10| 20 6f 75 74 63 68 61 72 | 3b 0a 58 09 09 6f 75 74 | outchar|;.X..out|
|00000c20| 63 68 61 72 20 3d 20 67 | 65 74 63 68 61 72 28 29 |char = g|etchar()|
|00000c30| 3b 0a 58 09 09 69 66 28 | 6f 75 74 63 68 61 72 20 |;.X..if(|outchar |
|00000c40| 3d 3d 20 45 4f 46 29 0a | 58 09 09 09 62 72 65 61 |== EOF).|X...brea|
|00000c50| 6b 3b 09 2f 2a 20 45 6e | 64 20 6f 66 20 66 69 6c |k;./* En|d of fil|
|00000c60| 65 20 2a 2f 0a 58 09 09 | 69 66 28 28 6f 75 74 63 |e */.X..|if((outc|
|00000c70| 68 61 72 20 26 20 7e 30 | 78 32 30 29 20 3d 3d 20 |har & ~0|x20) == |
|00000c80| 73 74 72 69 6e 67 5b 63 | 6f 75 6e 74 65 72 5d 29 |string[c|ounter])|
|00000c90| 20 7b 09 2f 2a 20 54 75 | 72 6e 20 6f 66 66 20 74 | {./* Tu|rn off t|
|00000ca0| 68 65 20 23 35 20 62 69 | 74 20 2a 2f 0a 58 09 09 |he #5 bi|t */.X..|
|00000cb0| 09 70 72 69 6e 74 66 28 | 42 4f 4c 44 5f 4f 4e 29 |.printf(|BOLD_ON)|
|00000cc0| 3b 0a 58 09 09 09 70 75 | 74 63 68 61 72 28 6f 75 |;.X...pu|tchar(ou|
|00000cd0| 74 63 68 61 72 29 3b 0a | 58 09 09 09 70 72 69 6e |tchar);.|X...prin|
|00000ce0| 74 66 28 42 4f 4c 44 5f | 4f 46 46 29 3b 0a 58 09 |tf(BOLD_|OFF);.X.|
|00000cf0| 09 09 63 6f 75 6e 74 65 | 72 2b 2b 3b 0a 58 09 09 |..counte|r++;.X..|
|00000d00| 09 69 66 28 63 6f 75 6e | 74 65 72 20 3e 20 73 74 |.if(coun|ter > st|
|00000d10| 72 6c 65 6e 28 73 74 72 | 69 6e 67 29 29 0a 58 09 |rlen(str|ing)).X.|
|00000d20| 09 09 09 63 6f 75 6e 74 | 65 72 20 3d 20 30 3b 0a |...count|er = 0;.|
|00000d30| 58 09 09 7d 20 65 6c 73 | 65 20 7b 0a 58 09 09 09 |X..} els|e {.X...|
|00000d40| 70 75 74 63 68 61 72 28 | 6f 75 74 63 68 61 72 29 |putchar(|outchar)|
|00000d50| 3b 0a 58 09 09 7d 0a 58 | 09 7d 0a 58 7d 0a 45 4e |;.X..}.X|.}.X}.EN|
|00000d60| 44 5f 4f 46 5f 46 49 4c | 45 0a 69 66 20 74 65 73 |D_OF_FIL|E.if tes|
|00000d70| 74 20 31 30 31 30 20 2d | 6e 65 20 60 77 63 20 2d |t 1010 -|ne `wc -|
|00000d80| 63 20 3c 27 70 73 70 65 | 61 6b 2e 63 27 60 3b 20 |c <'pspe|ak.c'`; |
|00000d90| 74 68 65 6e 0a 20 20 20 | 20 65 63 68 6f 20 73 68 |then. | echo sh|
|00000da0| 61 72 3a 20 5c 22 27 70 | 73 70 65 61 6b 2e 63 27 |ar: \"'p|speak.c'|
|00000db0| 5c 22 20 75 6e 70 61 63 | 6b 65 64 20 77 69 74 68 |\" unpac|ked with|
|00000dc0| 20 77 72 6f 6e 67 20 73 | 69 7a 65 21 0a 66 69 0a | wrong s|ize!.fi.|
|00000dd0| 23 20 65 6e 64 20 6f 66 | 20 27 70 73 70 65 61 6b |# end of| 'pspeak|
|00000de0| 2e 63 27 0a 66 69 0a 69 | 66 20 74 65 73 74 20 2d |.c'.fi.i|f test -|
|00000df0| 66 20 27 74 65 73 74 27 | 20 2d 61 20 22 24 7b 31 |f 'test'| -a "${1|
|00000e00| 7d 22 20 21 3d 20 22 2d | 63 22 20 3b 20 74 68 65 |}" != "-|c" ; the|
|00000e10| 6e 20 0a 20 20 65 63 68 | 6f 20 73 68 61 72 3a 20 |n . ech|o shar: |
|00000e20| 57 69 6c 6c 20 6e 6f 74 | 20 63 6c 6f 62 62 65 72 |Will not| clobber|
|00000e30| 20 65 78 69 73 74 69 6e | 67 20 66 69 6c 65 20 5c | existin|g file \|
|00000e40| 22 27 74 65 73 74 27 5c | 22 0a 65 6c 73 65 0a 65 |"'test'\|".else.e|
|00000e50| 63 68 6f 20 73 68 61 72 | 3a 20 45 78 74 72 61 63 |cho shar|: Extrac|
|00000e60| 74 69 6e 67 20 5c 22 27 | 74 65 73 74 27 5c 22 20 |ting \"'|test'\" |
|00000e70| 5c 28 38 35 20 63 68 61 | 72 61 63 74 65 72 73 5c |\(85 cha|racters\|
|00000e80| 29 0a 73 65 64 20 22 73 | 2f 5e 58 2f 2f 22 20 3e |).sed "s|/^X//" >|
|00000e90| 27 74 65 73 74 27 20 3c | 3c 27 45 4e 44 5f 4f 46 |'test' <|<'END_OF|
|00000ea0| 5f 46 49 4c 45 27 0a 58 | 2a 20 54 48 49 53 20 49 |_FILE'.X|* THIS I|
|00000eb0| 53 20 41 4e 20 45 58 41 | 4d 50 4c 45 20 4f 46 20 |S AN EXA|MPLE OF |
|00000ec0| 50 53 50 45 41 4b 0a 58 | 0a 58 09 54 68 65 20 65 |PSPEAK.X|.X.The e|
|00000ed0| 78 61 6d 70 6c 65 20 6f | 66 20 70 73 70 65 61 6b |xample o|f pspeak|
|00000ee0| 20 73 68 6f 77 6e 20 68 | 65 72 65 20 69 73 20 76 | shown h|ere is v|
|00000ef0| 65 72 79 20 77 65 6c 6c | 20 64 6f 6e 65 2e 0a 45 |ery well| done..E|
|00000f00| 4e 44 5f 4f 46 5f 46 49 | 4c 45 0a 69 66 20 74 65 |ND_OF_FI|LE.if te|
|00000f10| 73 74 20 38 35 20 2d 6e | 65 20 60 77 63 20 2d 63 |st 85 -n|e `wc -c|
|00000f20| 20 3c 27 74 65 73 74 27 | 60 3b 20 74 68 65 6e 0a | <'test'|`; then.|
|00000f30| 20 20 20 20 65 63 68 6f | 20 73 68 61 72 3a 20 5c | echo| shar: \|
|00000f40| 22 27 74 65 73 74 27 5c | 22 20 75 6e 70 61 63 6b |"'test'\|" unpack|
|00000f50| 65 64 20 77 69 74 68 20 | 77 72 6f 6e 67 20 73 69 |ed with |wrong si|
|00000f60| 7a 65 21 0a 66 69 0a 23 | 20 65 6e 64 20 6f 66 20 |ze!.fi.#| end of |
|00000f70| 27 74 65 73 74 27 0a 66 | 69 0a 65 63 68 6f 20 73 |'test'.f|i.echo s|
|00000f80| 68 61 72 3a 20 45 6e 64 | 20 6f 66 20 73 68 65 6c |har: End| of shel|
|00000f90| 6c 20 61 72 63 68 69 76 | 65 2e 0a 65 78 69 74 20 |l archiv|e..exit |
|00000fa0| 30 0a 2d 2d 20 0a 53 61 | 6d 65 65 72 20 50 61 72 |0.-- .Sa|meer Par|
|00000fb0| 65 6b 68 20 2d 2d 20 7a | 61 6e 65 40 64 64 73 77 |ekh -- z|ane@ddsw|
|00000fc0| 31 2e 4d 43 53 2e 43 4f | 4d 20 20 7a 61 6e 65 40 |1.MCS.CO|M zane@|
|00000fd0| 69 6e 66 6f 70 6c 73 2e | 63 68 69 2e 69 6c 2e 75 |infopls.|chi.il.u|
|00000fe0| 73 0a 41 73 6b 20 6d 65 | 20 61 62 6f 75 74 20 74 |s.Ask me| about t|
|00000ff0| 68 65 20 4d 61 69 6c 20 | 59 6f 75 72 20 43 6f 6e |he Mail |Your Con|
|00001000| 67 72 65 73 73 70 65 72 | 73 6f 6e 20 54 68 72 6f |gressper|son Thro|
|00001010| 75 67 68 20 74 68 65 20 | 4e 65 74 20 70 72 6f 6a |ugh the |Net proj|
|00001020| 65 63 74 62 0a 41 70 70 | 6c 65 20 49 49 47 53 20 |ectb.App|le IIGS |
|00001030| 46 6f 72 65 76 65 72 21 | 20 20 41 73 6b 20 6d 65 |Forever!| Ask me|
|00001040| 20 61 62 6f 75 74 20 74 | 68 65 20 47 4e 4f 6d 75 | about t|he GNOmu|
|00001050| 6c 74 69 74 61 73 6b 69 | 6e 67 20 70 72 6f 6a 65 |ltitaski|ng proje|
|00001060| 63 74 21 0a 0a | |ct!.. | |
+--------+-------------------------+-------------------------+--------+--------+