Format/typo check 1985/sicherman/README.md

Unless (as seems possible) a format/style change is needed for alt code
sections, this should be the final pass over it.

The thanks-for-fixes.md file was fixed to not refer to the alt code for
the original but rather refer to sicherman.orig.c. The alt file was not
removed, however, because it is not yet clear how to deal with the
situation where alt code is the same as the original code and in
particular wrt Makefile rules. This is another reason that the README.md
file might need to be revisited again.
This commit is contained in:
Cody Boone Ferguson committed 2023-10-16 13:29:21 -07:00
1 parent 6b8c7deacb
commit 2dd5bd4c2e
2 files changed
+13 -10

No files matched your search

+5 -3
View File
@@ -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
View File
@@ -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]))