Merge pull request #1075 from xexyl/1985-sicherman
This commit is contained in:
3 files changed
+15
-12
No files matched your search
@@ -1,6 +1,6 @@
|
||||
# Grand prize for most well-rounded in confusion
|
||||
|
||||
Carl Shapiro
|
||||
Carl Shapiro
|
||||
|
||||
## To build:
|
||||
|
||||
@@ -23,7 +23,7 @@ To make news & mail happy we split the last line into seven lines.
|
||||
This program was selected for the 1987 t-shirt collection.
|
||||
|
||||
We found this program is be simply a**maze**ing! Run this program without
|
||||
arguments and notice the output.
|
||||
arguments and notice the output.
|
||||
|
||||
## Author's remarks:
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Worst abuse of the C preprocessor
|
||||
|
||||
Col. G. L. Sicherman
|
||||
Col. G. L. Sicherman
|
||||
|
||||
## To build:
|
||||
|
||||
@@ -32,7 +32,7 @@ Use `sicherman.alt` as you would `sicherman`.
|
||||
|
||||
This program abuses the C preprocessor so much that some `cpp`s fail to strip
|
||||
out all of the comments on the first pass! If you were able to understand
|
||||
[Decot's](/winners.html#Dave_Decot) [entry in 1984](/1984/decot/decot.c), you
|
||||
[Decot's](/winners.html#Dave_Decot) [entry in 1984](/1984/decot/README.md), you
|
||||
will have a head start on this one.
|
||||
|
||||
Be sure to run this program through lint! If your lint works
|
||||
@@ -44,7 +44,9 @@ on a line. Now enter the letters 'n' through 'z'. But to borrow a quote
|
||||
from Richard Stallman: If you think you understand what this code
|
||||
does, then you don't, so read it again! Explain why:
|
||||
|
||||
./sicherman < sicherman.c | ./sicherman | diff - ./sicherman.c
|
||||
```sh
|
||||
./sicherman < sicherman.c | ./sicherman | diff - ./sicherman.c
|
||||
```
|
||||
|
||||
results in diff reporting a difference on some machines.
|
||||
|
||||
|
||||
+8
-7
@@ -178,14 +178,15 @@ that Cody added. See the README.md for details.
|
||||
|
||||
## [1985/sicherman](1985/sicherman/sicherman.c) ([README.md](1985/sicherman/README.md]))
|
||||
|
||||
Cody fixed this _very twisted entry_ to not require `-traditional-cpp`. He'd
|
||||
like to refer you to the original file in
|
||||
[sicherman.alt.c](1985/sicherman/sicherman.alt.c) and he suggests that you then compare it
|
||||
to [sicherman.c](1985/sicherman/sicherman.c) for some good old C-fashioned fun!
|
||||
Cody fixed this _very twisted entry_ to not require `-traditional-cpp`. Fixing
|
||||
`-traditional-cpp` is, as noted earlier, very complicated, but Cody would like
|
||||
to refer you to the original file
|
||||
[sicherman.orig.c](1985/sicherman/sicherman.orig.c) and he suggests that you
|
||||
then compare it to [sicherman.c](1985/sicherman/sicherman.c) for some good old
|
||||
C-fashioned fun!
|
||||
|
||||
Later on Cody improved the fix so that it looks much more like the original
|
||||
entry which can be found in
|
||||
[1985/sicherman/sicherman.orig.c](1985/sicherman/sicherman.orig.c).
|
||||
Later on Cody improved the fix so that it looks much more like the [original
|
||||
entry](1985/sicherman/sicherman.c).
|
||||
|
||||
|
||||
## [1986/hague](1986/hague/hague.c) ([README.md](1986/hague/README.md]))
|
||||
|
||||
Reference in new issue
Block a user