home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1989 …il & Dave's Excellent CD / Excellent CD HFS.raw / Moof / Goodies / DTS Goodies / Obfuscated_C / README next >
Text File  |  1989-04-13  |  7.9 KB  |  [TEXT/MPS ]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was processed as: Text File (text/txt).

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert Text File (text/txt) fallback Supported
100% file ASCII text, with CR line terminators default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% siegfried x-fmt/111 Plain Text File default
100% detectItEasy Format: plain text[CR] default (weak)


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[MPS ]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 54 | | T|
|00000010| 68 65 20 49 6e 74 65 72 | 6e 61 74 69 6f 6e 61 6c |he Inter|national|
|00000020| 20 4f 62 66 75 73 63 61 | 74 65 64 20 43 20 43 6f | Obfusca|ted C Co|
|00000030| 64 65 20 43 6f 6e 74 65 | 73 74 0d 20 0d 20 0d 4f |de Conte|st. . .O|
|00000040| 62 66 75 73 63 61 74 65 | 3a 20 20 74 72 2e 76 2e |bfuscate|: tr.v.|
|00000050| 20 20 2d 63 61 74 65 64 | 2c 20 2d 63 61 74 69 6e | -cated|, -catin|
|00000060| 67 2c 20 2d 63 61 74 65 | 73 2e 20 20 31 2e 20 61 |g, -cate|s. 1. a|
|00000070| 2e 20 20 54 6f 20 72 65 | 6e 64 65 72 20 6f 62 73 |. To re|nder obs|
|00000080| 63 75 72 65 2e 0d 20 20 | 20 20 20 20 20 20 62 2e |cure.. | b.|
|00000090| 20 20 54 6f 20 64 61 72 | 6b 65 6e 2e 20 20 32 2e | To dar|ken. 2.|
|000000a0| 20 54 6f 20 63 6f 6e 66 | 75 73 65 3a 20 20 48 69 | To conf|use: Hi|
|000000b0| 73 20 65 6d 6f 74 69 6f | 6e 73 20 6f 62 66 75 73 |s emotio|ns obfus|
|000000c0| 63 61 74 65 64 20 68 69 | 73 0d 20 20 20 20 20 20 |cated hi|s. |
|000000d0| 20 20 6a 75 64 67 65 6d | 65 6e 74 2e 20 20 5b 4c | judgem|ent. [L|
|000000e0| 4c 61 74 2e 20 6f 62 66 | 75 73 63 61 72 65 2c 20 |Lat. obf|uscare, |
|000000f0| 74 6f 20 64 61 72 6b 65 | 6e 20 3a 20 6f 62 28 69 |to darke|n : ob(i|
|00000100| 6e 74 65 6e 73 69 76 65 | 29 20 2b 0d 20 20 20 20 |ntensive|) +. |
|00000110| 20 20 20 20 4c 61 74 2e | 20 66 75 73 63 61 72 65 | Lat.| fuscare|
|00000120| 2c 20 74 6f 20 64 61 72 | 6b 65 6e 20 3c 20 66 75 |, to dar|ken < fu|
|00000130| 73 63 75 73 2c 20 64 61 | 72 6b 2e 5d 20 2d 6f 62 |scus, da|rk.] -ob|
|00000140| 66 75 73 63 61 74 69 6f | 6e 20 6e 2e 0d 20 20 20 |fuscatio|n n.. |
|00000150| 20 20 20 20 20 6f 62 66 | 75 73 63 61 74 6f 72 79 | obf|uscatory|
|00000160| 20 61 64 6a 2e 0d 0d 0d | 0d 48 6f 77 20 69 74 20 | adj....|.How it |
|00000170| 77 61 73 20 73 74 61 72 | 74 65 64 3a 0d 0d 54 68 |was star|ted:..Th|
|00000180| 65 20 6f 72 69 67 69 6e | 61 6c 20 69 6e 73 70 69 |e origin|al inspi|
|00000190| 72 61 74 69 6f 6e 20 6f | 66 20 74 68 65 20 49 6e |ration o|f the In|
|000001a0| 74 65 72 6e 61 74 69 6f | 6e 61 6c 20 4f 62 66 75 |ternatio|nal Obfu|
|000001b0| 73 63 61 74 65 64 20 43 | 20 43 6f 64 65 0d 43 6f |scated C| Code.Co|
|000001c0| 6e 74 65 73 74 20 63 61 | 6d 65 20 66 72 6f 6d 20 |ntest ca|me from |
|000001d0| 74 68 65 20 42 6f 75 72 | 6e 65 20 53 68 65 6c 6c |the Bour|ne Shell|
|000001e0| 20 73 6f 75 72 63 65 20 | 61 6e 64 20 74 68 65 20 | source |and the |
|000001f0| 66 69 6e 67 65 72 20 63 | 6f 6d 6d 61 6e 64 20 61 |finger c|ommand a|
|00000200| 73 0d 64 69 73 74 72 69 | 62 75 74 65 64 20 69 6e |s.distri|buted in|
|00000210| 20 34 2e 32 42 53 44 2e | 20 20 49 66 20 74 68 69 | 4.2BSD.| If thi|
|00000220| 73 20 69 73 20 77 68 61 | 74 20 63 6f 75 6c 64 20 |s is wha|t could |
|00000230| 72 65 73 75 6c 74 20 66 | 72 6f 6d 20 77 68 61 74 |result f|rom what|
|00000240| 20 73 6f 6d 65 0d 70 65 | 6f 70 6c 65 20 63 6c 61 | some.pe|ople cla|
|00000250| 69 6d 20 69 73 20 72 65 | 61 73 6f 6e 61 62 6c 65 |im is re|asonable|
|00000260| 20 70 72 6f 67 72 61 6d | 6d 69 6e 67 20 70 72 61 | program|ming pra|
|00000270| 63 74 69 63 65 2c 20 74 | 68 65 6e 20 74 6f 20 77 |ctice, t|hen to w|
|00000280| 68 61 74 20 64 65 70 74 | 68 73 0d 6d 69 67 68 74 |hat dept|hs.might|
|00000290| 20 71 75 61 6c 69 74 79 | 20 73 69 6e 6b 20 69 66 | quality| sink if|
|000002a0| 20 70 65 6f 70 6c 65 20 | 72 65 61 6c 6c 79 20 74 | people |really t|
|000002b0| 72 69 65 64 20 74 6f 20 | 77 72 69 74 65 20 70 6f |ried to |write po|
|000002c0| 6f 72 20 63 6f 64 65 3f | 0d 0d 49 20 70 75 74 20 |or code?|..I put |
|000002d0| 74 68 61 74 20 71 75 65 | 73 74 69 6f 6e 20 74 6f |that que|stion to|
|000002e0| 20 74 68 65 20 55 53 45 | 4e 45 54 20 6e 65 77 73 | the USE|NET news|
|000002f0| 20 67 72 6f 75 70 73 20 | 6e 65 74 2e 6c 61 6e 67 | groups |net.lang|
|00000300| 2e 63 20 61 6e 64 0d 6e | 65 74 2e 75 6e 69 78 2d |.c and.n|et.unix-|
|00000310| 77 69 7a 61 72 64 73 20 | 69 6e 20 74 68 65 20 66 |wizards |in the f|
|00000320| 6f 72 6d 20 6f 66 20 61 | 20 63 6f 6e 74 65 73 74 |orm of a| contest|
|00000330| 2e 20 20 49 20 73 65 6c | 65 63 74 65 64 20 61 20 |. I sel|ected a |
|00000340| 66 6f 72 6d 20 73 69 6d | 69 6c 61 72 0d 74 6f 20 |form sim|ilar.to |
|00000350| 74 68 65 20 63 6f 6e 74 | 65 73 74 20 28 42 75 6c |the cont|est (Bul|
|00000360| 77 65 72 2d 4c 79 74 74 | 6f 6e 29 20 74 68 61 74 |wer-Lytt|on) that|
|00000370| 20 61 73 6b 73 20 70 65 | 6f 70 6c 65 20 74 6f 20 | asks pe|ople to |
|00000380| 63 72 65 61 74 65 20 74 | 68 65 20 77 6f 72 73 74 |create t|he worst|
|00000390| 0d 6f 70 65 6e 69 6e 67 | 20 6c 69 6e 65 20 74 6f |.opening| line to|
|000003a0| 20 61 20 6e 6f 76 65 6c | 2e 20 20 28 74 68 61 74 | a novel|. (that|
|000003b0| 20 63 6f 6e 74 65 73 74 | 20 69 6e 20 74 75 72 6e | contest| in turn|
|000003c0| 20 77 61 73 20 69 6e 73 | 70 69 72 65 64 20 62 79 | was ins|pired by|
|000003d0| 20 64 69 73 67 75 73 74 | 0d 6f 76 65 72 20 61 20 | disgust|.over a |
|000003e0| 6e 6f 76 65 6c 20 74 68 | 61 74 20 6f 70 65 6e 65 |novel th|at opene|
|000003f0| 64 20 77 69 74 68 20 74 | 68 65 20 6c 69 6e 65 20 |d with t|he line |
|00000400| 22 49 74 20 77 61 73 20 | 61 20 64 61 72 6b 20 61 |"It was |a dark a|
|00000410| 6e 64 20 73 74 6f 72 6d | 79 0d 6e 69 67 68 74 2e |nd storm|y.night.|
|00000420| 22 29 20 20 54 68 65 20 | 72 75 6c 65 73 20 77 65 |") The |rules we|
|00000430| 72 65 20 73 69 6d 70 6c | 65 3a 20 77 72 69 74 65 |re simpl|e: write|
|00000440| 2c 20 69 6e 20 35 31 32 | 20 62 79 74 65 73 20 6f |, in 512| bytes o|
|00000450| 72 20 6c 65 73 73 2c 20 | 74 68 65 20 77 6f 72 73 |r less, |the wors|
|00000460| 74 0d 63 6f 6d 70 6c 65 | 74 65 20 43 20 70 72 6f |t.comple|te C pro|
|00000470| 67 72 61 6d 2e 0d 0d 54 | 68 72 75 20 74 68 65 20 |gram...T|hru the |
|00000480| 63 6f 6e 74 65 73 74 20 | 49 20 68 61 76 65 20 74 |contest |I have t|
|00000490| 72 69 65 64 20 74 6f 20 | 69 6e 73 74 69 6c 6c 20 |ried to |instill |
|000004a0| 74 77 6f 20 74 68 69 6e | 67 73 20 69 6e 20 70 65 |two thin|gs in pe|
|000004b0| 6f 70 6c 65 2e 20 20 46 | 69 72 73 74 0d 69 73 20 |ople. F|irst.is |
|000004c0| 61 20 64 69 73 67 75 73 | 74 20 66 6f 72 20 70 6f |a disgus|t for po|
|000004d0| 6f 72 20 63 6f 64 69 6e | 67 20 73 74 79 6c 65 2e |or codin|g style.|
|000004e0| 20 20 53 65 63 6f 6e 64 | 20 77 61 73 20 74 68 65 | Second| was the|
|000004f0| 20 6e 6f 74 69 6f 6e 20 | 6f 66 20 6a 75 73 74 20 | notion |of just |
|00000500| 68 6f 77 0d 6d 75 63 68 | 20 75 74 69 6c 69 74 79 |how.much| utility|
|00000510| 20 69 73 20 6c 6f 73 74 | 20 77 68 65 6e 20 61 20 | is lost| when a |
|00000520| 70 72 6f 67 72 61 6d 20 | 69 73 20 77 72 69 74 74 |program |is writt|
|00000530| 65 6e 20 69 6e 20 61 6e | 20 75 6e 73 74 72 75 63 |en in an| unstruc|
|00000540| 74 75 72 65 64 0d 66 61 | 73 68 69 6f 6e 2e 20 20 |tured.fa|shion. |
|00000550| 43 6f 6e 74 65 73 74 20 | 77 69 6e 6e 65 72 73 20 |Contest |winners |
|00000560| 68 65 6c 70 20 64 6f 20 | 74 68 69 73 20 62 79 20 |help do |this by |
|00000570| 77 68 61 74 20 49 20 63 | 61 6c 6c 20 73 61 74 69 |what I c|all sati|
|00000580| 72 69 63 61 6c 0d 70 72 | 6f 67 72 61 6d 6d 69 6e |rical.pr|ogrammin|
|00000590| 67 2e 20 20 54 6f 20 73 | 65 65 20 77 68 79 2c 20 |g. To s|ee why, |
|000005a0| 6f 62 73 65 72 76 65 20 | 6f 6e 65 20 6f 66 20 74 |observe |one of t|
|000005b0| 68 65 20 64 65 66 69 6e | 69 74 69 6f 6e 73 20 6f |he defin|itions o|
|000005c0| 66 20 73 61 74 69 72 65 | 3a 0d 0d 09 4b 65 65 6e |f satire|:...Keen|
|000005d0| 20 6f 72 20 65 6e 65 72 | 67 65 74 69 63 20 61 63 | or ener|getic ac|
|000005e0| 74 69 76 69 74 79 20 6f | 66 20 74 68 65 20 6d 69 |tivity o|f the mi|
|000005f0| 6e 64 20 75 73 65 64 20 | 66 6f 72 20 74 68 65 20 |nd used |for the |
|00000600| 70 75 72 70 6f 73 65 20 | 0d 09 6f 66 20 65 78 70 |purpose |..of exp|
|00000610| 6f 73 69 6e 67 20 61 6e | 64 20 64 69 73 63 72 65 |osing an|d discre|
|00000620| 64 69 74 69 6e 67 20 76 | 69 63 65 20 6f 72 20 66 |diting v|ice or f|
|00000630| 6f 6c 6c 79 2e 0d 0d 54 | 68 65 20 61 75 74 68 6f |olly...T|he autho|
|00000640| 72 73 20 6f 66 20 74 68 | 65 20 77 69 6e 6e 69 6e |rs of th|e winnin|
|00000650| 67 20 65 6e 74 72 69 65 | 73 20 70 6c 61 63 65 64 |g entrie|s placed|
|00000660| 20 61 20 67 72 65 61 74 | 20 64 65 61 6c 20 6f 66 | a great| deal of|
|00000670| 20 74 68 6f 75 67 68 74 | 20 69 6e 74 6f 0d 74 68 | thought| into.th|
|00000680| 65 69 72 20 70 72 6f 67 | 72 61 6d 73 2e 20 20 54 |eir prog|rams. T|
|00000690| 68 65 73 65 20 70 72 6f | 67 72 61 6d 73 20 69 6e |hese pro|grams in|
|000006a0| 20 74 75 72 6e 20 65 78 | 70 6f 73 65 64 20 61 6e | turn ex|posed an|
|000006b0| 64 20 64 69 73 63 72 65 | 64 69 74 65 64 20 77 68 |d discre|dited wh|
|000006c0| 61 74 20 49 0d 63 6f 6e | 73 69 64 65 72 65 64 20 |at I.con|sidered |
|000006d0| 74 6f 20 62 65 20 74 68 | 65 20 70 72 6f 67 72 61 |to be th|e progra|
|000006e0| 6d 6d 65 72 27 73 20 65 | 71 75 69 76 61 6c 65 6e |mmer's e|quivalen|
|000006f0| 74 20 6f 66 20 22 76 69 | 63 65 20 6f 72 20 66 6f |t of "vi|ce or fo|
|00000700| 6c 6c 79 22 2e 0d 0d 54 | 68 65 72 65 20 77 65 72 |lly"...T|here wer|
|00000710| 65 20 74 77 6f 20 75 6e | 65 78 70 65 63 74 65 64 |e two un|expected|
|00000720| 20 62 65 6e 65 66 69 74 | 73 20 74 68 61 74 20 63 | benefit|s that c|
|00000730| 61 6d 65 20 66 72 6f 6d | 20 74 68 65 20 63 6f 6e |ame from| the con|
|00000740| 74 65 73 74 20 77 69 6e | 6e 65 72 73 2e 0d 46 69 |test win|ners..Fi|
|00000750| 72 73 74 20 77 61 73 20 | 61 6e 20 65 64 75 63 61 |rst was |an educa|
|00000760| 74 69 6f 6e 61 6c 20 76 | 61 6c 75 65 20 74 6f 20 |tional v|alue to |
|00000770| 74 68 65 20 70 72 6f 67 | 72 61 6d 73 2e 20 20 54 |the prog|rams. T|
|00000780| 6f 20 75 6e 64 65 72 73 | 74 61 6e 64 20 74 68 65 |o unders|tand the|
|00000790| 73 65 20 43 0d 70 72 6f | 67 72 61 6d 73 20 69 73 |se C.pro|grams is|
|000007a0| 20 74 6f 20 75 6e 64 65 | 72 73 74 61 6e 64 20 73 | to unde|rstand s|
|000007b0| 75 62 74 6c 65 20 70 6f | 69 6e 74 73 20 6f 66 20 |ubtle po|ints of |
|000007c0| 74 68 65 20 43 20 70 72 | 6f 67 72 61 6d 6d 69 6e |the C pr|ogrammin|
|000007d0| 67 20 6c 61 6e 67 75 61 | 67 65 2e 0d 54 68 65 20 |g langua|ge..The |
|000007e0| 73 65 63 6f 6e 64 20 62 | 65 6e 65 66 69 74 20 69 |second b|enefit i|
|000007f0| 73 20 74 68 65 20 65 6e | 74 65 72 74 61 69 6e 6d |s the en|tertainm|
|00000800| 65 6e 74 20 76 61 6c 75 | 65 2c 20 77 68 69 63 68 |ent valu|e, which|
|00000810| 20 73 68 6f 75 6c 64 20 | 62 65 63 6f 6d 65 0d 65 | should |become.e|
|00000820| 76 69 64 65 6e 74 20 61 | 73 20 79 6f 75 20 72 65 |vident a|s you re|
|00000830| 61 64 20 66 75 72 74 68 | 65 72 21 0d 0d 0d 0d 53 |ad furth|er!....S|
|00000840| 75 67 67 65 73 74 69 6f | 6e 73 20 6f 6e 20 68 6f |uggestio|ns on ho|
|00000850| 77 20 74 6f 20 75 6e 64 | 65 72 73 74 61 6e 64 20 |w to und|erstand |
|00000860| 74 68 65 20 77 69 6e 6e | 69 6e 67 20 65 6e 74 72 |the winn|ing entr|
|00000870| 69 65 73 3a 0d 0d 59 6f | 75 20 61 72 65 20 73 74 |ies:..Yo|u are st|
|00000880| 72 6f 6e 67 6c 79 20 75 | 72 67 65 64 20 74 6f 20 |rongly u|rged to |
|00000890| 74 72 79 20 74 6f 20 64 | 65 74 65 72 6d 69 6e 65 |try to d|etermine|
|000008a0| 20 77 68 61 74 20 65 61 | 63 68 20 70 72 6f 67 72 | what ea|ch progr|
|000008b0| 61 6d 20 77 69 6c 6c 0d | 70 72 6f 64 75 63 65 20 |am will.|produce |
|000008c0| 62 79 20 76 69 73 75 61 | 6c 20 69 6e 73 70 65 63 |by visua|l inspec|
|000008d0| 74 69 6f 6e 2e 20 20 4f | 66 74 65 6e 20 74 68 69 |tion. O|ften thi|
|000008e0| 73 20 69 73 20 61 6e 20 | 69 6d 70 6f 73 73 69 62 |s is an |impossib|
|000008f0| 6c 65 20 74 61 73 6b 2c | 20 62 75 74 0d 74 68 65 |le task,| but.the|
|00000900| 20 64 69 66 66 69 63 75 | 6c 74 79 20 74 68 61 74 | difficu|lty that|
|00000910| 20 79 6f 75 20 65 6e 63 | 6f 75 6e 74 65 72 20 73 | you enc|ounter s|
|00000920| 68 6f 75 6c 64 20 67 69 | 76 65 20 79 6f 75 20 6d |hould gi|ve you m|
|00000930| 6f 72 65 20 61 70 70 72 | 65 63 69 61 74 69 6f 6e |ore appr|eciation|
|00000940| 0d 66 6f 72 20 74 68 65 | 20 65 6e 74 72 79 2e 0d |.for the| entry..|
|00000950| 0d 49 66 20 79 6f 75 20 | 68 61 76 65 20 74 68 65 |.If you |have the|
|00000960| 20 65 6e 65 72 67 79 20 | 74 6f 20 74 79 70 65 20 | energy |to type |
|00000970| 69 6e 20 74 68 65 20 74 | 65 78 74 2c 20 6f 72 20 |in the t|ext, or |
|00000980| 69 66 20 79 6f 75 20 68 | 61 76 65 20 61 63 63 65 |if you h|ave acce|
|00000990| 73 73 20 74 6f 0d 61 20 | 6d 61 63 68 69 6e 65 20 |ss to.a |machine |
|000009a0| 72 65 61 64 61 62 6c 65 | 20 76 65 72 73 69 6f 6e |readable| version|
|000009b0| 20 6f 66 20 74 68 65 73 | 65 20 70 72 6f 67 72 61 | of thes|e progra|
|000009c0| 6d 73 2c 20 79 6f 75 20 | 73 68 6f 75 6c 64 20 6e |ms, you |should n|
|000009d0| 65 78 74 20 63 6f 6e 73 | 69 64 65 72 0d 73 6f 6d |ext cons|ider.som|
|000009e0| 65 20 70 72 65 70 72 6f | 63 65 73 73 69 6e 67 20 |e prepro|cessing |
|000009f0| 73 75 63 68 20 61 73 3a | 0d 0d 09 73 65 64 20 2d |such as:|...sed -|
|00000a00| 65 20 27 2f 5e 23 2e 2a | 69 6e 63 6c 75 64 65 2f |e '/^#.*|include/|
|00000a10| 64 27 20 70 72 6f 67 72 | 61 6d 2e 63 20 7c 20 63 |d' progr|am.c | c|
|00000a20| 63 20 2d 45 0d 0d 54 68 | 69 73 20 73 74 72 69 70 |c -E..Th|is strip|
|00000a30| 73 20 61 77 61 79 20 63 | 6f 6d 6d 65 6e 74 73 20 |s away c|omments |
|00000a40| 61 6e 64 20 65 78 70 61 | 6e 64 73 20 74 68 65 20 |and expa|nds the |
|00000a50| 70 72 6f 67 72 61 6d 27 | 73 20 6d 61 63 72 6f 73 |program'|s macros|
|00000a60| 20 77 69 74 68 6f 75 74 | 0d 68 61 76 69 6e 67 20 | without|.having |
|00000a70| 74 68 69 6e 67 73 20 73 | 75 63 68 20 61 73 20 3c |things s|uch as <|
|00000a80| 73 74 64 69 6f 2e 68 3e | 20 6d 61 63 72 6f 73 20 |stdio.h>| macros |
|00000a90| 63 6c 75 74 74 65 72 20 | 75 70 20 74 68 65 20 6f |clutter |up the o|
|00000aa0| 75 74 70 75 74 2e 20 20 | 49 66 20 74 68 65 0d 65 |utput. |If the.e|
|00000ab0| 6e 74 72 79 20 72 65 71 | 75 69 72 65 73 20 6f 72 |ntry req|uires or|
|00000ac0| 20 73 75 67 67 65 73 74 | 73 20 74 68 65 20 75 73 | suggest|s the us|
|00000ad0| 65 20 6f 66 20 63 6f 6d | 70 69 6c 65 20 6c 69 6e |e of com|pile lin|
|00000ae0| 65 20 6f 70 74 69 6f 6e | 73 20 28 73 75 63 68 20 |e option|s (such |
|00000af0| 61 73 0d 2d 44 69 6e 64 | 65 78 3d 73 74 72 63 68 |as.-Dind|ex=strch|
|00000b00| 72 29 20 74 68 65 79 20 | 73 68 6f 75 6c 64 20 62 |r) they |should b|
|00000b10| 65 20 61 64 64 65 64 20 | 61 66 74 65 72 20 74 68 |e added |after th|
|00000b20| 65 20 27 2d 45 27 20 66 | 6c 61 67 2e 0d 0d 54 68 |e '-E' f|lag...Th|
|00000b30| 65 20 6e 65 78 74 20 73 | 74 61 67 65 20 74 6f 77 |e next s|tage tow|
|00000b40| 61 72 64 73 20 75 6e 64 | 65 72 73 74 61 6e 64 69 |ards und|erstandi|
|00000b50| 6e 67 20 69 73 20 74 6f | 20 75 73 65 20 61 20 43 |ng is to| use a C|
|00000b60| 20 62 65 61 75 74 69 66 | 69 65 72 20 6f 72 20 43 | beautif|ier or C|
|00000b70| 0d 69 6e 64 65 6e 74 69 | 6e 67 20 70 72 6f 67 72 |.indenti|ng progr|
|00000b80| 61 6d 20 6f 6e 20 74 68 | 65 20 73 6f 75 72 63 65 |am on th|e source|
|00000b90| 2e 20 20 42 65 20 77 61 | 72 6e 65 64 20 74 68 61 |. Be wa|rned tha|
|00000ba0| 74 20 61 20 6e 75 6d 62 | 65 72 20 6f 66 20 74 68 |t a numb|er of th|
|00000bb0| 65 73 65 0d 65 6e 74 72 | 69 65 73 20 61 72 65 20 |ese.entr|ies are |
|00000bc0| 73 6f 20 74 77 69 73 74 | 65 64 20 74 68 61 74 20 |so twist|ed that |
|00000bd0| 73 75 63 68 20 74 6f 6f | 6c 73 20 6d 61 79 20 61 |such too|ls may a|
|00000be0| 62 6f 72 74 20 6f 72 20 | 62 65 63 6f 6d 65 20 76 |bort or |become v|
|00000bf0| 65 72 79 0d 63 6f 6e 66 | 75 73 65 64 2e 20 20 59 |ery.conf|used. Y|
|00000c00| 6f 75 20 6d 61 79 20 6e | 65 65 64 20 74 6f 20 68 |ou may n|eed to h|
|00000c10| 65 6c 70 20 6f 75 74 20 | 62 79 20 64 6f 69 6e 67 |elp out |by doing|
|00000c20| 20 73 6f 6d 65 20 69 6e | 69 74 69 61 6c 20 66 6f | some in|itial fo|
|00000c30| 72 6d 61 74 74 69 6e 67 | 0d 77 69 74 68 20 61 6e |rmatting|.with an|
|00000c40| 20 65 64 69 74 6f 72 2e | 20 20 59 6f 75 20 6d 69 | editor.| You mi|
|00000c50| 67 68 74 20 61 6c 73 6f | 20 74 72 79 20 72 65 6e |ght also| try ren|
|00000c60| 61 6d 69 6e 67 20 76 61 | 72 69 61 62 6c 65 73 20 |aming va|riables |
|00000c70| 61 6e 64 20 6c 61 62 65 | 6c 73 20 74 6f 0d 67 69 |and labe|ls to.gi|
|00000c80| 76 65 20 6d 6f 72 65 20 | 6d 65 61 6e 69 6e 67 66 |ve more |meaningf|
|00000c90| 75 6c 20 6e 61 6d 65 73 | 2e 0d 0d 4e 6f 77 20 74 |ul names|...Now t|
|00000ca0| 72 79 20 6c 69 6e 74 69 | 6e 67 20 74 68 65 20 70 |ry linti|ng the p|
|00000cb0| 72 6f 67 72 61 6d 2e 20 | 20 59 6f 75 20 6d 61 79 |rogram. | You may|
|00000cc0| 20 62 65 20 73 75 72 70 | 72 69 73 65 64 20 61 74 | be surp|rised at|
|00000cd0| 20 68 6f 77 20 6c 69 74 | 74 6c 65 20 6c 69 6e 74 | how lit|tle lint|
|00000ce0| 0d 63 6f 6d 70 6c 61 69 | 6e 73 20 61 62 6f 75 74 |.complai|ns about|
|00000cf0| 20 74 68 65 73 65 20 70 | 72 6f 67 72 61 6d 73 2e | these p|rograms.|
|00000d00| 20 20 50 61 79 20 63 61 | 72 65 66 75 6c 20 61 74 | Pay ca|reful at|
|00000d10| 74 65 6e 74 69 6f 6e 20 | 74 6f 20 6d 65 73 73 61 |tention |to messa|
|00000d20| 67 65 73 0d 61 62 6f 75 | 74 20 75 6e 75 73 65 64 |ges.abou|t unused|
|00000d30| 20 76 61 72 69 61 62 6c | 65 73 2c 20 77 72 6f 6e | variabl|es, wron|
|00000d40| 67 20 74 79 70 65 73 2c | 20 70 6f 69 6e 74 65 72 |g types,| pointer|
|00000d50| 20 63 6f 6e 76 65 72 73 | 69 6f 6e 73 2c 20 65 74 | convers|ions, et|
|00000d60| 63 2e 20 20 42 75 74 20 | 62 65 0d 63 61 72 65 66 |c. But |be.caref|
|00000d70| 75 6c 2c 20 73 6f 6d 65 | 20 6c 69 6e 74 73 20 70 |ul, some| lints p|
|00000d80| 72 6f 64 75 63 65 20 69 | 6e 63 6f 72 72 65 63 74 |roduce i|ncorrect|
|00000d90| 20 65 72 72 6f 72 20 6d | 65 73 73 61 67 65 73 20 | error m|essages |
|00000da0| 6f 72 20 65 76 65 6e 20 | 61 62 6f 72 74 21 0d 59 |or even |abort!.Y|
|00000db0| 6f 75 72 20 6c 69 6e 74 | 20 6d 61 79 20 64 65 74 |our lint| may det|
|00000dc0| 65 63 74 20 73 79 6e 74 | 61 78 20 65 72 72 6f 72 |ect synt|ax error|
|00000dd0| 73 20 69 6e 20 74 68 65 | 20 73 6f 75 72 63 65 2e |s in the| source.|
|00000de0| 20 20 53 65 65 20 74 68 | 65 20 6e 65 78 74 0d 70 | See th|e next.p|
|00000df0| 61 72 61 67 72 61 70 68 | 20 66 6f 72 20 73 75 67 |aragraph| for sug|
|00000e00| 67 65 73 74 69 6f 6e 73 | 20 6f 6e 20 68 6f 77 20 |gestions| on how |
|00000e10| 74 6f 20 64 65 61 6c 20 | 77 69 74 68 20 74 68 69 |to deal |with thi|
|00000e20| 73 2e 0d 0d 57 68 65 6e | 20 79 6f 75 20 67 65 74 |s...When| you get|
|00000e30| 20 74 6f 20 74 68 65 20 | 73 74 61 67 65 20 77 68 | to the |stage wh|
|00000e40| 65 72 65 20 79 6f 75 20 | 61 72 65 20 72 65 61 64 |ere you |are read|
|00000e50| 79 20 74 6f 20 63 6f 6d | 70 69 6c 65 20 74 68 65 |y to com|pile the|
|00000e60| 20 70 72 6f 67 72 61 6d | 0d 65 78 61 6d 69 6e 65 | program|.examine|
|00000e70| 20 74 68 65 20 63 6f 6d | 70 69 6c 61 74 69 6f 6e | the com|pilation|
|00000e80| 20 63 6f 6d 6d 65 6e 74 | 73 20 61 62 6f 76 65 20 | comment|s above |
|00000e90| 65 61 63 68 20 65 6e 74 | 72 79 2e 20 20 41 20 73 |each ent|ry. A s|
|00000ea0| 69 6d 70 6c 65 20 64 65 | 66 69 6e 65 20 6f 72 0d |imple de|fine or.|
|00000eb0| 65 64 69 74 20 6d 61 79 | 20 62 65 20 72 65 71 75 |edit may| be requ|
|00000ec0| 69 72 65 64 20 64 75 65 | 20 74 6f 20 64 69 66 66 |ired due| to diff|
|00000ed0| 65 72 69 6e 67 20 73 65 | 6d 61 6e 74 69 63 73 20 |ering se|mantics |
|00000ee0| 62 65 74 77 65 65 6e 20 | 6f 70 65 72 61 74 69 6e |between |operatin|
|00000ef0| 67 0d 73 79 73 74 65 6d | 73 2e 20 20 49 66 20 79 |g.system|s. If y|
|00000f00| 6f 75 20 61 72 65 20 61 | 62 6c 65 20 74 6f 20 73 |ou are a|ble to s|
|00000f10| 75 63 63 65 73 73 66 75 | 6c 6c 79 20 63 6f 6d 70 |uccessfu|lly comp|
|00000f20| 69 6c 65 20 74 68 65 20 | 70 72 6f 67 72 61 6d 2c |ile the |program,|
|00000f30| 0d 65 78 70 65 72 69 6d | 65 6e 74 20 77 69 74 68 |.experim|ent with|
|00000f40| 20 69 74 20 62 79 20 67 | 69 76 69 6e 67 20 69 74 | it by g|iving it|
|00000f50| 20 64 69 66 66 65 72 65 | 6e 74 20 61 72 67 75 6d | differe|nt argum|
|00000f60| 65 6e 74 73 20 6f 72 20 | 69 6e 70 75 74 2e 0d 59 |ents or |input..Y|
|00000f70| 6f 75 20 6d 61 79 20 61 | 6c 73 6f 20 75 73 65 20 |ou may a|lso use |
|00000f80| 74 68 65 20 6d 61 6b 65 | 66 69 6c 65 20 70 72 6f |the make|file pro|
|00000f90| 76 69 64 65 64 20 74 6f | 20 63 6f 6d 70 69 6c 65 |vided to| compile|
|00000fa0| 20 74 68 65 20 70 72 6f | 67 72 61 6d 2e 0d 4b 65 | the pro|gram..Ke|
|00000fb0| 65 70 20 69 6e 20 6d 69 | 6e 64 20 74 68 61 74 20 |ep in mi|nd that |
|00000fc0| 43 20 63 6f 6d 70 69 6c | 65 72 73 20 6f 66 74 65 |C compil|ers ofte|
|00000fd0| 6e 20 68 61 76 65 20 62 | 75 67 73 2c 20 6f 72 20 |n have b|ugs, or |
|00000fe0| 66 65 61 74 75 72 65 73 | 20 77 68 69 63 68 0d 72 |features| which.r|
|00000ff0| 65 73 75 6c 74 20 74 68 | 65 20 70 72 6f 67 72 61 |esult th|e progra|
|00001000| 6d 20 66 61 69 6c 69 6e | 67 20 74 6f 20 63 6f 6d |m failin|g to com|
|00001010| 70 69 6c 65 2e 20 20 59 | 6f 75 20 6d 61 79 20 68 |pile. Y|ou may h|
|00001020| 61 76 65 20 74 6f 20 64 | 6f 20 73 6f 6d 65 0d 73 |ave to d|o some.s|
|00001030| 79 6e 74 61 78 20 63 68 | 61 6e 67 69 6e 67 20 61 |yntax ch|anging a|
|00001040| 73 20 77 65 20 64 69 64 | 20 74 6f 20 67 65 74 20 |s we did| to get |
|00001050| 6f 6c 64 20 70 72 6f 67 | 72 61 6d 73 20 74 6f 20 |old prog|rams to |
|00001060| 63 6f 6d 70 69 6c 65 20 | 6f 6e 20 73 74 72 69 63 |compile |on stric|
|00001070| 74 0d 41 4e 53 49 20 43 | 20 63 6f 6d 70 69 6c 65 |t.ANSI C| compile|
|00001080| 72 73 2e 0d 0d 4c 61 73 | 74 2c 20 72 65 61 64 20 |rs...Las|t, read |
|00001090| 74 68 65 20 6a 75 64 67 | 65 73 27 20 63 6f 6d 6d |the judg|es' comm|
|000010a0| 65 6e 74 73 2f 73 70 6f | 69 6c 65 72 73 20 6f 6e |ents/spo|ilers on|
|000010b0| 20 74 68 65 20 70 72 6f | 67 72 61 6d 2e 20 20 48 | the pro|gram. H|
|000010c0| 69 6e 74 73 0d 66 6f 72 | 20 60 66 6f 6f 2e 63 27 |ints.for| `foo.c'|
|000010d0| 20 61 72 65 20 67 69 76 | 65 6e 20 69 6e 20 60 66 | are giv|en in `f|
|000010e0| 6f 6f 2e 68 69 6e 74 27 | 2e 20 20 4f 66 74 65 6e |oo.hint'|. Often|
|000010f0| 20 74 68 65 79 20 77 69 | 6c 6c 20 63 6f 6e 74 61 | they wi|ll conta|
|00001100| 69 6e 20 73 75 67 67 65 | 73 74 65 64 0d 61 72 67 |in sugge|sted.arg|
|00001110| 75 6d 65 6e 74 73 20 6f | 72 20 72 65 63 6f 6d 6d |uments o|r recomm|
|00001120| 65 6e 64 65 64 20 64 61 | 74 61 20 74 6f 20 75 73 |ended da|ta to us|
|00001130| 65 2e 0d 0d 49 66 20 79 | 6f 75 20 64 6f 20 67 61 |e...If y|ou do ga|
|00001140| 69 6e 20 73 6f 6d 65 20 | 75 6e 64 65 72 73 74 61 |in some |understa|
|00001150| 6e 64 69 6e 67 20 6f 66 | 20 68 6f 77 20 61 20 70 |nding of| how a p|
|00001160| 72 6f 67 72 61 6d 20 77 | 6f 72 6b 73 2c 20 67 6f |rogram w|orks, go|
|00001170| 20 62 61 63 6b 20 74 6f | 0d 74 68 65 20 73 6f 75 | back to|.the sou|
|00001180| 72 63 65 20 61 6e 64 20 | 72 65 65 78 61 6d 69 6e |rce and |reexamin|
|00001190| 65 20 69 74 20 75 73 69 | 6e 67 20 73 6f 6d 65 20 |e it usi|ng some |
|000011a0| 6f 66 20 74 68 65 20 74 | 65 63 68 6e 69 71 75 65 |of the t|echnique|
|000011b0| 73 20 6f 75 74 6c 69 6e | 65 64 20 61 62 6f 76 65 |s outlin|ed above|
|000011c0| 2e 0d 53 65 65 20 69 66 | 20 79 6f 75 20 63 61 6e |..See if| you can|
|000011d0| 20 63 6f 6e 76 69 6e 63 | 65 20 79 6f 75 72 73 65 | convinc|e yourse|
|000011e0| 6c 66 20 6f 66 20 77 68 | 79 20 74 68 65 20 70 72 |lf of wh|y the pr|
|000011f0| 6f 67 72 61 6d 20 64 6f | 65 73 20 77 68 61 74 20 |ogram do|es what |
|00001200| 69 74 20 64 6f 65 73 2e | 0d 0d 0d 0d 41 62 6f 75 |it does.|....Abou|
|00001210| 74 20 74 68 65 20 6a 75 | 64 67 65 73 3a 0d 0d 41 |t the ju|dges:..A|
|00001220| 73 20 6f 66 20 31 39 38 | 38 20 74 68 65 20 63 6f |s of 198|8 the co|
|00001230| 6e 74 65 73 74 20 68 61 | 64 20 74 77 6f 20 6a 75 |ntest ha|d two ju|
|00001240| 64 67 65 73 3a 20 4c 61 | 6e 64 6f 6e 20 43 75 72 |dges: La|ndon Cur|
|00001250| 74 20 4e 6f 6c 6c 20 28 | 63 6f 6e 74 65 73 74 0d |t Noll (|contest.|
|00001260| 66 6f 75 6e 64 65 72 29 | 20 61 6e 64 20 4c 61 72 |founder)| and Lar|
|00001270| 72 79 20 42 61 73 73 65 | 6c 20 28 6a 75 64 67 65 |ry Basse|l (judge|
|00001280| 20 73 69 6e 63 65 20 31 | 39 38 35 29 2e 20 20 4c | since 1|985). L|
|00001290| 61 6e 64 6f 6e 20 77 6f | 72 6b 73 20 61 73 20 61 |andon wo|rks as a|
|000012a0| 0d 73 79 73 74 65 6d 73 | 20 70 72 6f 67 72 61 6d |.systems| program|
|000012b0| 6d 65 72 20 66 6f 72 20 | 41 6d 64 61 68 6c 20 43 |mer for |Amdahl C|
|000012c0| 6f 72 70 6f 72 61 74 69 | 6f 6e 20 61 6e 64 20 4c |orporati|on and L|
|000012d0| 61 72 72 79 20 77 6f 72 | 6b 73 20 61 73 20 61 6e |arry wor|ks as an|
|000012e0| 20 73 79 73 74 65 6d 73 | 0d 70 72 6f 67 72 61 6d | systems|.program|
|000012f0| 6d 65 72 20 66 6f 72 20 | 53 75 6e 20 4d 69 63 72 |mer for |Sun Micr|
|00001300| 6f 73 79 73 74 65 6d 73 | 2e 20 20 49 6e 20 72 65 |osystems|. In re|
|00001310| 61 6c 20 6c 69 66 65 2c | 20 62 6f 74 68 20 6a 75 |al life,| both ju|
|00001320| 64 67 65 73 20 73 74 72 | 6f 6e 67 6c 79 0d 64 69 |dges str|ongly.di|
|00001330| 73 6c 69 6b 65 20 6f 62 | 66 75 73 63 61 74 65 64 |slike ob|fuscated|
|00001340| 20 63 6f 64 65 2e 0d 0d | 0d 0d 52 65 67 61 72 64 | code...|..Regard|
|00001350| 69 6e 67 20 74 68 65 20 | 73 6f 75 72 63 65 20 61 |ing the |source a|
|00001360| 72 63 68 69 76 65 3a 0d | 0d 45 61 63 68 20 73 75 |rchive:.|.Each su|
|00001370| 62 2d 64 69 72 65 63 74 | 6f 72 79 20 63 6f 6e 74 |b-direct|ory cont|
|00001380| 61 69 6e 73 20 61 6c 6c | 20 74 68 65 20 65 6e 74 |ains all| the ent|
|00001390| 72 69 65 73 20 66 6f 72 | 20 61 20 73 69 6e 67 6c |ries for| a singl|
|000013a0| 65 20 79 65 61 72 2e 20 | 20 4f 66 74 65 6e 0d 74 |e year. | Often.t|
|000013b0| 68 65 20 66 69 6c 65 20 | 6e 61 6d 65 73 20 6d 61 |he file |names ma|
|000013c0| 74 63 68 20 6f 6e 65 20 | 6f 66 20 74 68 65 20 6c |tch one |of the l|
|000013d0| 61 73 74 20 6e 61 6d 65 | 73 20 6f 66 20 74 68 65 |ast name|s of the|
|000013e0| 20 61 75 74 68 6f 72 2e | 20 20 4a 75 64 67 65 73 | author.| Judges|
|000013f0| 27 0d 68 69 6e 74 73 20 | 61 72 65 20 67 69 76 65 |'.hints |are give|
|00001400| 6e 20 69 6e 20 66 69 6c | 65 73 20 6f 66 20 74 68 |n in fil|es of th|
|00001410| 65 20 66 6f 72 6d 20 60 | 60 2a 2e 68 69 6e 74 27 |e form `|`*.hint'|
|00001420| 27 2e 20 20 54 68 65 20 | 6d 61 6b 65 66 69 6c 65 |'. The |makefile|
|00001430| 73 0d 67 69 76 65 6e 20 | 61 72 65 20 73 65 74 20 |s.given |are set |
|00001440| 75 70 20 66 6f 72 20 61 | 20 53 79 73 74 65 6d 20 |up for a| System |
|00001450| 56 20 62 61 73 65 64 20 | 6d 61 63 68 69 6e 65 2e |V based |machine.|
|00001460| 20 20 59 6f 75 20 6d 61 | 79 20 6e 65 65 64 20 74 | You ma|y need t|
|00001470| 6f 0d 74 77 65 61 6b 20 | 74 68 69 73 20 6d 61 6b |o.tweak |this mak|
|00001480| 65 66 69 6c 65 20 74 6f | 20 67 65 74 20 65 76 65 |efile to| get eve|
|00001490| 72 79 74 68 69 6e 67 20 | 74 6f 20 63 6f 6d 70 69 |rything |to compi|
|000014a0| 6c 65 20 63 6f 72 72 65 | 63 74 6c 79 2e 0d 52 65 |le corre|ctly..Re|
|000014b0| 61 64 20 74 68 65 20 68 | 69 6e 74 20 66 69 6c 65 |ad the h|int file|
|000014c0| 73 20 66 6f 72 20 73 75 | 67 67 65 73 74 69 6f 6e |s for su|ggestion|
|000014d0| 73 2e 20 20 54 68 65 20 | 72 75 6c 65 73 20 66 6f |s. The |rules fo|
|000014e0| 72 20 61 20 67 69 76 65 | 6e 0d 79 65 61 72 20 61 |r a give|n.year a|
|000014f0| 72 65 20 67 69 76 65 6e | 20 69 6e 20 74 68 65 20 |re given| in the |
|00001500| 66 69 6c 65 20 6e 61 6d | 65 64 20 60 60 72 75 6c |file nam|ed ``rul|
|00001510| 65 73 27 27 2e 20 20 54 | 68 65 20 6c 61 73 74 20 |es''. T|he last |
|00001520| 79 65 61 72 0d 69 6e 20 | 61 6e 20 61 72 63 68 69 |year.in |an archi|
|00001530| 76 65 20 63 6f 6e 74 61 | 69 6e 73 20 61 20 63 6f |ve conta|ins a co|
|00001540| 70 79 20 6f 66 20 74 68 | 65 20 72 75 6c 65 73 20 |py of th|e rules |
|00001550| 66 6f 72 20 74 68 65 20 | 75 70 63 6f 6d 69 6e 67 |for the |upcoming|
|00001560| 0d 63 6f 6e 74 65 73 74 | 2e 0d 0d 0d 0d 52 65 67 |.contest|.....Reg|
|00001570| 61 72 64 69 6e 67 20 74 | 68 65 20 64 69 73 74 72 |arding t|he distr|
|00001580| 69 62 75 74 69 6f 6e 20 | 6f 66 20 73 6f 75 72 63 |ibution |of sourc|
|00001590| 65 73 3a 0d 0d 41 6c 6c | 20 63 6f 6e 74 65 73 74 |es:..All| contest|
|000015a0| 20 72 65 73 75 6c 74 73 | 20 61 72 65 20 69 6e 20 | results| are in |
|000015b0| 74 68 65 20 70 75 62 6c | 69 63 20 64 6f 6d 61 69 |the publ|ic domai|
|000015c0| 6e 2e 20 20 57 65 20 64 | 6f 20 61 73 6b 20 74 68 |n. We d|o ask th|
|000015d0| 61 74 20 79 6f 75 20 6f | 62 73 65 72 76 65 20 0d |at you o|bserve .|
|000015e0| 74 68 65 20 66 6f 6c 6c | 6f 77 69 6e 67 20 72 65 |the foll|owing re|
|000015f0| 71 75 65 73 74 3a 0d 0d | 59 6f 75 20 6d 61 79 20 |quest:..|You may |
|00001600| 73 68 61 72 20 74 68 65 | 73 65 20 66 69 6c 65 73 |shar the|se files|
|00001610| 20 77 69 74 68 20 6f 74 | 68 65 72 73 2c 20 62 75 | with ot|hers, bu|
|00001620| 74 20 70 6c 65 61 73 65 | 20 64 6f 20 6e 6f 74 20 |t please| do not |
|00001630| 70 72 65 76 65 6e 74 20 | 74 68 65 6d 20 6f 66 0d |prevent |them of.|
|00001640| 64 6f 69 6e 67 20 74 68 | 65 20 73 61 6d 65 2e 20 |doing th|e same. |
|00001650| 20 49 66 20 73 6f 6d 65 | 20 6f 66 20 74 68 65 73 | If some| of thes|
|00001660| 65 20 66 69 6c 65 73 20 | 61 6e 64 2f 6f 72 20 63 |e files |and/or c|
|00001670| 6f 6e 74 65 73 74 20 65 | 6e 74 72 69 65 73 20 61 |ontest e|ntries a|
|00001680| 72 65 0d 70 75 62 6c 69 | 73 68 65 64 20 69 6e 20 |re.publi|shed in |
|00001690| 70 72 69 6e 74 65 64 20 | 66 6f 72 6d 2c 20 6f 72 |printed |form, or|
|000016a0| 20 69 66 20 79 6f 75 20 | 75 73 65 20 74 68 65 6d | if you |use them|
|000016b0| 20 69 6e 20 61 20 62 75 | 73 69 6e 65 73 73 20 6f | in a bu|siness o|
|000016c0| 72 20 63 6c 61 73 73 72 | 6f 6f 6d 0d 73 65 74 74 |r classr|oom.sett|
|000016d0| 69 6e 67 2c 20 70 6c 65 | 61 73 65 20 6c 65 74 20 |ing, ple|ase let |
|000016e0| 75 73 20 6b 6e 6f 77 2e | 20 20 57 65 20 61 73 6b |us know.| We ask|
|000016f0| 20 74 68 61 74 20 79 6f | 75 20 64 72 6f 70 20 61 | that yo|u drop a|
|00001700| 20 6c 69 6e 65 20 74 6f | 20 74 68 65 0d 27 6a 75 | line to| the.'ju|
|00001710| 64 67 65 73 27 20 45 6d | 61 69 6c 20 62 6f 78 2e |dges' Em|ail box.|
|00001720| 20 20 41 73 20 6f 66 20 | 31 39 38 38 2c 20 69 74 | As of |1988, it|
|00001730| 20 69 73 3a 0d 0d 09 6a | 75 64 67 65 73 40 75 74 | is:...j|udges@ut|
|00001740| 73 2e 61 6d 64 61 68 6c | 2e 63 6f 6d 09 2d 6f 72 |s.amdahl|.com.-or|
|00001750| 2d 09 61 6d 64 61 68 6c | 21 6a 75 64 67 65 73 0d |-.amdahl|!judges.|
|00001760| 0d 20 20 20 20 5b 74 68 | 69 73 20 63 6f 75 6c 64 |. [th|is could|
|00001770| 20 63 68 61 6e 67 65 20 | 66 72 6f 6d 20 79 65 61 | change |from yea|
|00001780| 72 20 74 6f 20 79 65 61 | 72 2c 20 73 6f 20 63 6f |r to yea|r, so co|
|00001790| 6e 73 75 6c 74 20 74 68 | 65 20 63 75 72 72 65 6e |nsult th|e curren|
|000017a0| 74 20 72 75 6c 65 73 5d | 0d 0d 0d 0d 53 6f 6d 65 |t rules]|....Some|
|000017b0| 20 66 69 6e 61 6c 20 74 | 68 69 6e 67 73 20 74 6f | final t|hings to|
|000017c0| 20 72 65 6d 65 6d 62 65 | 72 3a 0d 0d 57 68 69 6c | remembe|r:..Whil|
|000017d0| 65 20 74 68 65 20 69 64 | 65 61 20 66 6f 72 20 74 |e the id|ea for t|
|000017e0| 68 65 20 63 6f 6e 74 65 | 73 74 73 20 68 61 73 20 |he conte|sts has |
|000017f0| 72 65 6d 61 69 6e 65 64 | 20 74 68 65 20 73 61 6d |remained| the sam|
|00001800| 65 20 74 68 72 6f 75 67 | 68 20 74 68 65 0d 79 65 |e throug|h the.ye|
|00001810| 61 72 73 2c 20 74 68 65 | 20 63 6f 6e 74 65 73 74 |ars, the| contest|
|00001820| 20 72 75 6c 65 73 20 61 | 6e 64 20 67 75 69 64 65 | rules a|nd guide|
|00001830| 6c 69 6e 65 73 20 76 61 | 72 79 2e 20 20 57 68 61 |lines va|ry. Wha|
|00001840| 74 20 77 61 73 20 6e 6f | 76 65 6c 20 6f 6e 65 20 |t was no|vel one |
|00001850| 79 65 61 72 0d 6d 61 79 | 20 62 65 20 63 6f 6e 73 |year.may| be cons|
|00001860| 69 64 65 72 65 64 20 63 | 6f 6d 6d 6f 6e 20 74 68 |idered c|ommon th|
|00001870| 65 20 6e 65 78 74 2e 20 | 20 54 68 65 20 63 61 74 |e next. | The cat|
|00001880| 65 67 6f 72 69 65 73 20 | 66 6f 72 20 61 77 61 72 |egories |for awar|
|00001890| 64 73 20 64 69 66 66 65 | 72 0d 62 65 63 61 75 73 |ds diffe|r.becaus|
|000018a0| 65 20 74 68 65 79 20 61 | 72 65 20 64 65 74 65 72 |e they a|re deter|
|000018b0| 6d 69 6e 65 64 20 61 66 | 74 65 72 20 74 68 65 20 |mined af|ter the |
|000018c0| 6a 75 64 67 65 73 20 65 | 78 61 6d 69 6e 65 20 61 |judges e|xamine a|
|000018d0| 6c 6c 20 6f 66 20 74 68 | 65 0d 65 6e 74 72 69 65 |ll of th|e.entrie|
|000018e0| 73 2e 0d 0d 54 68 65 20 | 6a 75 64 67 65 73 27 20 |s...The |judges' |
|000018f0| 68 69 6e 74 73 20 61 73 | 73 75 6d 65 20 74 68 61 |hints as|sume tha|
|00001900| 74 20 74 68 65 20 70 72 | 6f 67 72 61 6d 20 72 65 |t the pr|ogram re|
|00001910| 73 69 64 65 73 20 69 6e | 20 61 20 66 69 6c 65 20 |sides in| a file |
|00001920| 77 69 74 68 20 74 68 65 | 0d 73 61 6d 65 20 75 73 |with the|.same us|
|00001930| 65 72 6e 61 6d 65 20 61 | 73 20 74 68 65 20 61 75 |ername a|s the au|
|00001940| 74 68 6f 72 2e 20 20 57 | 68 65 72 65 20 74 68 65 |thor. W|here the|
|00001950| 72 65 20 69 73 20 6d 6f | 72 65 20 74 68 61 6e 20 |re is mo|re than |
|00001960| 6f 6e 65 20 61 75 74 68 | 6f 72 2c 20 74 68 65 0d |one auth|or, the.|
|00001970| 66 69 72 73 74 20 6e 61 | 6d 65 64 20 61 75 74 68 |first na|med auth|
|00001980| 6f 72 20 69 73 20 75 73 | 65 64 2e 0d 0d 53 6f 6d |or is us|ed...Som|
|00001990| 65 20 43 20 63 6f 6d 70 | 69 6c 65 72 73 20 61 72 |e C comp|ilers ar|
|000019a0| 65 20 75 6e 61 62 6c 65 | 20 74 6f 20 63 6f 6d 70 |e unable| to comp|
|000019b0| 69 6c 65 20 73 6f 6d 65 | 20 6f 66 20 74 68 65 73 |ile some| of thes|
|000019c0| 65 20 70 72 6f 67 72 61 | 6d 73 2e 20 20 54 68 65 |e progra|ms. The|
|000019d0| 0d 6a 75 64 67 65 73 20 | 74 72 69 65 64 20 74 6f |.judges |tried to|
|000019e0| 20 73 65 6c 65 63 74 20 | 70 72 6f 67 72 61 6d 73 | select |programs|
|000019f0| 20 74 68 61 74 20 77 65 | 72 65 20 77 69 64 65 6c | that we|re widel|
|00001a00| 79 20 70 6f 72 74 61 62 | 6c 65 20 61 6e 64 0d 63 |y portab|le and.c|
|00001a10| 6f 6d 70 69 6c 61 62 6c | 65 2c 20 62 75 74 20 64 |ompilabl|e, but d|
|00001a20| 69 64 20 6e 6f 74 20 61 | 6c 77 61 79 73 20 73 75 |id not a|lways su|
|00001a30| 63 63 65 65 64 2e 20 20 | 41 73 20 6f 66 20 31 39 |cceed. |As of 19|
|00001a40| 38 38 2c 20 6f 6e 6c 79 | 20 60 60 4b 26 52 27 27 |88, only| ``K&R''|
|00001a50| 0d 63 6f 6d 70 69 6c 65 | 72 73 20 77 65 72 65 20 |.compile|rs were |
|00001a60| 75 73 65 64 2e 20 20 44 | 75 65 20 74 6f 20 74 68 |used. D|ue to th|
|00001a70| 65 20 74 69 6d 69 6e 67 | 20 6f 66 20 74 68 65 20 |e timing| of the |
|00001a80| 41 4e 53 49 20 43 20 73 | 74 61 6e 64 61 72 64 2c |ANSI C s|tandard,|
|00001a90| 20 41 4e 53 49 20 43 0d | 69 73 73 75 65 73 20 77 | ANSI C.|issues w|
|00001aa0| 65 72 65 20 6e 6f 74 20 | 61 64 64 72 65 73 73 65 |ere not |addresse|
|00001ab0| 64 20 75 6e 74 69 6c 20 | 31 39 38 38 20 61 74 20 |d until |1988 at |
|00001ac0| 61 6c 6c 20 28 61 6e 64 | 20 69 6e 20 31 39 38 38 |all (and| in 1988|
|00001ad0| 20 74 68 65 72 65 20 77 | 65 72 65 0d 6a 75 73 74 | there w|ere.just|
|00001ae0| 20 61 20 66 65 77 20 63 | 6f 6d 6d 65 6e 74 73 20 | a few c|omments |
|00001af0| 69 6e 20 74 68 65 20 68 | 69 6e 74 20 66 69 6c 65 |in the h|int file|
|00001b00| 73 29 2e 20 20 4f 66 74 | 65 6e 20 6f 6e 6c 79 20 |s). Oft|en only |
|00001b10| 61 20 73 69 6d 70 6c 65 | 20 65 64 69 74 20 69 73 |a simple| edit is|
|00001b20| 0d 6e 65 65 64 65 64 20 | 74 6f 20 67 65 74 20 61 |.needed |to get a|
|00001b30| 20 6e 65 77 20 43 20 63 | 6f 6d 70 69 6c 65 72 20 | new C c|ompiler |
|00001b40| 74 6f 20 61 63 63 65 70 | 74 20 74 68 65 20 73 6f |to accep|t the so|
|00001b50| 75 72 63 65 20 66 69 6c | 65 2e 0d 0d 54 68 65 20 |urce fil|e...The |
|00001b60| 63 6f 6e 74 65 73 74 20 | 72 75 6c 65 73 20 61 72 |contest |rules ar|
|00001b70| 65 20 70 6f 73 74 65 64 | 20 69 6e 20 65 61 72 6c |e posted| in earl|
|00001b80| 79 20 4d 61 72 63 68 2e | 20 20 54 68 65 20 77 69 |y March.| The wi|
|00001b90| 6e 6e 65 72 73 20 61 72 | 65 20 61 6e 6e 6f 75 6e |nners ar|e announ|
|00001ba0| 63 65 64 0d 61 74 20 74 | 68 65 20 55 73 65 6e 65 |ced.at t|he Usene|
|00001bb0| 74 20 42 4f 46 20 6f 66 | 20 74 68 65 20 53 75 6d |t BOF of| the Sum|
|00001bc0| 6d 65 72 20 55 73 65 6e | 69 78 20 63 6f 6e 66 65 |mer Usen|ix confe|
|00001bd0| 72 65 6e 63 65 2e 20 20 | 4c 61 74 65 72 20 74 68 |rence. |Later th|
|00001be0| 65 79 0d 61 72 65 20 70 | 6f 73 74 65 64 20 74 6f |ey.are p|osted to|
|00001bf0| 20 74 68 65 20 6e 65 74 | 2e 0d 0d 54 68 65 20 72 | the net|...The r|
|00001c00| 75 6c 65 73 20 61 72 65 | 20 70 6f 73 74 65 64 20 |ules are| posted |
|00001c10| 74 6f 20 74 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |to the f|ollowing|
|00001c20| 20 55 73 65 6e 65 74 20 | 6e 65 77 73 20 67 72 6f | Usenet |news gro|
|00001c30| 75 70 73 3a 0d 0d 09 63 | 6f 6d 70 2e 75 6e 69 78 |ups:...c|omp.unix|
|00001c40| 2e 77 69 7a 61 72 64 73 | 0d 09 63 6f 6d 70 2e 6c |.wizards|..comp.l|
|00001c50| 61 6e 67 2e 63 09 09 0d | 0d 41 73 20 6f 66 20 31 |ang.c...|.As of 1|
|00001c60| 39 38 38 2c 20 74 68 65 | 20 77 69 6e 6e 65 72 73 |988, the| winners|
|00001c70| 20 77 65 72 65 20 70 6f | 73 74 65 64 20 74 6f 20 | were po|sted to |
|00001c80| 74 68 65 20 66 6f 6c 6c | 6f 77 69 6e 67 20 55 73 |the foll|owing Us|
|00001c90| 65 6e 65 74 20 6e 65 77 | 73 20 67 72 6f 75 70 73 |enet new|s groups|
|00001ca0| 3a 0d 0d 09 63 6f 6d 70 | 2e 73 6f 75 72 63 65 73 |:...comp|.sources|
|00001cb0| 2e 75 6e 69 78 09 09 0d | 09 63 6f 6d 70 2e 6c 61 |.unix...|.comp.la|
|00001cc0| 6e 67 2e 63 09 09 0d 09 | 61 6c 74 2e 73 6f 75 72 |ng.c....|alt.sour|
|00001cd0| 63 65 73 09 0d 0d 50 65 | 6f 70 6c 65 20 61 72 65 |ces...Pe|ople are|
|00001ce0| 20 73 74 72 6f 6e 67 6c | 79 20 65 6e 63 6f 75 72 | strongl|y encour|
|00001cf0| 61 67 65 64 20 74 6f 20 | 77 61 69 74 20 75 6e 74 |aged to |wait unt|
|00001d00| 69 6c 20 74 68 65 20 6e | 65 77 20 63 6f 6e 74 65 |il the n|ew conte|
|00001d10| 73 74 20 72 75 6c 65 73 | 0d 68 61 76 65 20 62 65 |st rules|.have be|
|00001d20| 65 6e 20 70 6f 73 74 65 | 64 20 62 65 66 6f 72 65 |en poste|d before|
|00001d30| 20 73 65 6e 64 69 6e 67 | 20 65 6e 74 72 69 65 73 | sending| entries|
|00001d40| 2e 20 20 54 68 65 20 72 | 75 6c 65 73 2c 20 61 6e |. The r|ules, an|
|00001d50| 64 20 73 6f 6d 65 74 69 | 6d 65 73 0d 74 68 65 20 |d someti|mes.the |
|00001d60| 63 6f 6e 74 65 73 74 20 | 45 6d 61 69 6c 20 61 64 |contest |Email ad|
|00001d70| 64 72 65 73 73 20 69 74 | 73 65 6c 66 2c 20 63 68 |dress it|self, ch|
|00001d80| 61 6e 67 65 20 66 72 6f | 6d 20 74 69 6d 65 20 74 |ange fro|m time t|
|00001d90| 6f 20 74 69 6d 65 2e 0d | 54 68 65 20 74 79 70 69 |o time..|The typi|
|00001da0| 63 61 6c 20 73 74 61 72 | 74 20 64 61 74 65 20 66 |cal star|t date f|
|00001db0| 6f 72 20 61 20 63 6f 6e | 74 65 73 74 20 69 73 20 |or a con|test is |
|00001dc0| 4d 61 72 63 68 20 31 35 | 2e 20 20 54 68 65 20 74 |March 15|. The t|
|00001dd0| 79 70 69 63 61 6c 0d 65 | 6e 64 20 64 61 74 65 20 |ypical.e|nd date |
|00001de0| 66 6f 72 20 61 20 63 6f | 6e 74 65 73 74 20 69 73 |for a co|ntest is|
|00001df0| 20 4d 61 79 20 32 30 2e | 0d 0d 4c 61 73 74 2c 20 | May 20.|..Last, |
|00001e00| 50 4c 45 41 53 45 20 64 | 6f 6e 27 74 20 63 6f 64 |PLEASE d|on't cod|
|00001e10| 65 20 69 6e 20 74 68 65 | 20 73 74 79 6c 65 20 6f |e in the| style o|
|00001e20| 66 20 74 68 65 73 65 20 | 70 72 6f 67 72 61 6d 73 |f these |programs|
|00001e30| 20 28 75 6e 6c 65 73 73 | 20 79 6f 75 0d 61 72 65 | (unless| you.are|
|00001e40| 20 73 75 62 6d 69 74 74 | 69 6e 67 20 61 20 63 6f | submitt|ing a co|
|00001e50| 6e 74 65 73 74 20 65 6e | 74 72 79 20 6f 66 20 63 |ntest en|try of c|
|00001e60| 6f 75 72 73 65 21 29 20 | 20 49 74 20 69 73 20 68 |ourse!) | It is h|
|00001e70| 6f 70 65 64 20 74 68 61 | 74 20 79 6f 75 20 77 69 |oped tha|t you wi|
|00001e80| 6c 6c 0d 67 61 69 6e 20 | 61 6e 20 75 6e 64 65 72 |ll.gain |an under|
|00001e90| 73 74 61 6e 64 69 6e 67 | 20 74 68 61 74 20 62 61 |standing| that ba|
|00001ea0| 64 20 73 74 79 6c 65 20 | 64 65 73 74 72 6f 79 73 |d style |destroys|
|00001eb0| 20 61 6e 20 6f 74 68 65 | 72 77 69 73 65 20 63 6f | an othe|rwise co|
|00001ec0| 72 72 65 63 74 0d 70 72 | 6f 67 72 61 6d 2e 20 20 |rrect.pr|ogram. |
|00001ed0| 52 65 61 6c 20 70 72 6f | 67 72 61 6d 6d 65 72 73 |Real pro|grammers|
|00001ee0| 20 64 6f 6e 27 74 20 77 | 72 69 74 65 20 6f 62 66 | don't w|rite obf|
|00001ef0| 75 73 63 61 74 65 64 20 | 70 72 6f 67 72 61 6d 73 |uscated |programs|
|00001f00| 20 74 68 61 74 20 6f 74 | 68 65 72 0d 70 65 6f 70 | that ot|her.peop|
|00001f10| 6c 65 20 68 61 76 65 20 | 74 6f 20 75 73 65 21 0d |le have |to use!.|
|00001f20| 0d 48 61 70 70 79 20 70 | 6f 6e 64 65 72 69 6e 67 |.Happy p|ondering|
|00001f30| 2c 0d 0d 09 4c 61 6e 64 | 6f 6e 20 43 75 72 74 20 |,...Land|on Curt |
|00001f40| 4e 6f 6c 6c 20 20 20 28 | 63 68 6f 6e 67 6f 40 75 |Noll (|chongo@u|
|00001f50| 74 73 2e 61 6d 64 61 68 | 6c 2e 63 6f 6d 29 0d 09 |ts.amdah|l.com)..|
|00001f60| 4c 61 72 72 79 20 42 61 | 73 73 65 6c 20 20 20 20 |Larry Ba|ssel |
|00001f70| 20 20 20 28 6c 61 62 40 | 73 75 6e 2e 63 6f 6d 29 | (lab@|sun.com)|
|00001f80| 0d | |. | |
+--------+-------------------------+-------------------------+--------+--------+