Merge pull request #918 from xexyl/1985-sicherman

This commit is contained in:
Landon Curt Noll authored and GitHub committed 2023-07-11 13:13:48 -07:00
commit 2949e9f0c3
2 files changed
+7 -5

No files matched your search

+6 -4
View File
@@ -2,6 +2,7 @@
Ed Lycklama Ed Lycklama
## To build: ## To build:
```sh ```sh
@@ -15,8 +16,6 @@ make lycklama.orig
``` ```
## To run: ## To run:
```sh ```sh
@@ -27,6 +26,7 @@ There is an alternate version which slows down the output for a more fun display
with modern systems. For this reason we encourage you to try that version with modern systems. For this reason we encourage you to try that version
as well. See Alternate code section below. as well. See Alternate code section below.
## Try: ## Try:
```sh ```sh
@@ -34,6 +34,8 @@ as well. See Alternate code section below.
# notice the difference between the above and this one: # notice the difference between the above and this one:
./lycklama < lycklama.alt.c ./lycklama < lycklama.alt.c
# also try:
./lycklama < lycklama.orig.c
./lycklama < README.md ./lycklama < README.md
@@ -53,16 +55,16 @@ it like:
make CDEFINE+="-DZ=700" clobber alt make CDEFINE+="-DZ=700" clobber alt
``` ```
Use `./lycklama.alt` as you would `./lycklama` above.
#### Try: #### Try:
```sh ```sh
./lycklama.alt < lycklama.c
./lycklama.alt < lycklama.alt.c ./lycklama.alt < lycklama.alt.c
./lycklama.alt < lycklama.orig.c ./lycklama.alt < lycklama.orig.c
./lycklama.alt < Makefile ./lycklama.alt < Makefile
``` ```
## Judges' remarks: ## Judges' remarks:
Run the program, redirecting a file into it, and notice how it redisplays it. Run the program, redirecting a file into it, and notice how it redisplays it.
+1 -1
View File
@@ -30,7 +30,7 @@ Use `sicherman.alt` as you would `sicherman`.
## Judges' remarks: ## Judges' remarks:
This program abuses the C preprocessor so much that some /lib/cpp fail to strip 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 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/decot.c), you
will have a head start on this one. will have a head start on this one.