Revisit 1985 entries

Updated the README.md files.

Renamed shapiro/shapiro.orig.c -> shapiro/shapiro.alt.c. This is one of
the exceptions where we have the alt version as this alt version is not
actually in the archive tarball (there are other exceptions for various
reasons).
This commit is contained in:
Cody Boone Ferguson committed 2023-03-11 08:05:11 -08:00
1 parent 85c3043e16
commit e5ef2978f6
7 files changed
+20 -13

No files matched your search

+1 -2
View File
@@ -6,8 +6,7 @@ Jack Applin [with help from Robert Heckendorn]
make all make all
## Try: ## To run:
./applin ./applin
+9 -1
View File
@@ -7,11 +7,19 @@ Lennart Augustsson
make all make all
## To run:
./august
## Try: ## Try:
./august ./august | head -n 10
If you have the `primes(6)` tool (sometimes part of BSD Games) you can see
what of the output in the first N (say 15) lines are primes:
while read -r n ; do primes "$n" $((n + 1)) ; done < <((./august | head -n 15 ))
## Judges' comments: ## Judges' comments:
+3 -1
View File
@@ -6,8 +6,10 @@ Ed Lycklama
make all make all
NOTE: This entry uses non-standard args to main() that do not work with modern compilers.
## To run:
./lycklama < some_file
## Try: ## Try:
+2 -2
View File
@@ -16,13 +16,13 @@ Carl Shapiro
As submitted, this program was 3 lines (2 of defines and 1 of code). As submitted, this program was 3 lines (2 of defines and 1 of code).
To make news & mail happy we split the last line into 7. The file To make news & mail happy we split the last line into 7. The file
[shapiro.orig.c](shapiro.orig.c) is the original version. [shapiro.alt.c](shapiro.alt.c) is the original version.
This program was selected for the 1987 t-shirt collection. This program was selected for the 1987 t-shirt collection.
We found this program is be simply a**maze**ing! Run this program without We found this program is be simply a**maze**ing! Run this program without
arguments and notice the output. arguments and notice the output.
Copyright (c) 1985, Landon Curt Noll & Larry Bassel. Copyright (c) 1985, Landon Curt Noll & Larry Bassel.
File renamed without changes.
+1 -2
View File
@@ -182,8 +182,7 @@ all: ${DATA} ${TARGET}
supernova deep_magic magic charon pluto supernova deep_magic magic charon pluto
${PROG}: ${PROG}.c ${PROG}: ${PROG}.c
@echo "NOTE: This entry will not compile when using clang because it does not support" @echo "NOTE: NOTE: this entry requires a compiler that supports -traditional-cpp."
@echo " -traditional-cpp but it should compile with gcc."
${CC} ${CFLAGS} $< -o $@ ${LIBS} ${CC} ${CFLAGS} $< -o $@ ${LIBS}
# alternative executable # alternative executable
+4 -5
View File
@@ -6,13 +6,12 @@ Col. G. L. Sicherman
make all make all
NOTE: This entry uses non-standard args to main() that do not work with modern compilers. NOTE: This entry requires a compiler that support `-traditional-cpp`.
NOTE: This entry requires a non-standard K&R C compiler to compile.
## Judges' comments: ## Judges' comments:
This program abuses the C preprocessor so much that some /lib/cpp's fail to This program abuses the C preprocessor so much that some /lib/cpp fail to
strip out all of the comments on the first pass! If you were able to strip out all of the comments on the first pass! If you were able to
understand Decot's entry in 1984, you will have a head start on this understand Decot's entry in 1984, you will have a head start on this
one. one.
@@ -21,8 +20,8 @@ Be sure to run this program through lint! If your lint works
correctly, it should warn you that the argument 'Manual' isn't used. correctly, it should warn you that the argument 'Manual' isn't used.
Like the program says, what's that mean? Like the program says, what's that mean?
Run the program without arguments and enter the letters 'a' thru 'm' Run the program without arguments and enter the letters 'a' through 'm'
on a line. Now enter the letters 'n' thru 'z'. But to borrow a quote 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 from Richard Stallman: If you think you understand what this code
does, then you don't, so read it again! Explain why: does, then you don't, so read it again! Explain why: