From 2dd5bd4c2ea0d649d70aaffc25d2fc07737da8cf Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Mon, 16 Oct 2023 13:27:13 -0700 Subject: [PATCH] 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. --- 1985/sicherman/README.md | 8 +++++--- thanks-for-fixes.md | 15 ++++++++------- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/1985/sicherman/README.md b/1985/sicherman/README.md index 2abafd9b8..099594189 100644 --- a/1985/sicherman/README.md +++ b/1985/sicherman/README.md @@ -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. diff --git a/thanks-for-fixes.md b/thanks-for-fixes.md index d71a30fe3..43a171791 100644 --- a/thanks-for-fixes.md +++ b/thanks-for-fixes.md @@ -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]))