Format and URL fixes in 198[568]/applin/README.md

Format fixes.

Dead link discovered. Use Internet Wayback Machine instead.
This commit is contained in:
Cody Boone Ferguson committed 2023-04-14 06:03:57 -07:00
1 parent 70ce5e21b4
commit d8e876794e
3 files changed
+33 -11

No files matched your search

+6 -2
View File
@@ -1,15 +1,19 @@
# Best one liner # Best one liner
Jack Applin [with help from Robert Heckendorn] Jack Applin [with help from Robert Heckendorn]
<https://web.archive.org/web/19991006042323/http://www.geocities.com/HotSprings/6789/>
## To build: ## To build:
```sh
make all make all
```
## Try: ## Try:
```sh
./applin ./applin
```
NOTE: [Yusuke Endoh](/winners.html#Yusuke_Endoh) provided a patch to get this to NOTE: [Yusuke Endoh](/winners.html#Yusuke_Endoh) provided a patch to get this to
not issue a bus error. Thank you Yusuke! [Cody Boone not issue a bus error. Thank you Yusuke! [Cody Boone
@@ -24,7 +28,7 @@ certainly takes its time saying hello.
## Author's remarks: ## Author's remarks:
No comments were provided by the author. No remarks were provided by the author.
## Copyright and CC BY-SA 4.0 License: ## Copyright and CC BY-SA 4.0 License:
+8 -1
View File
@@ -5,20 +5,27 @@ Hewlett-Packard
Ft. Collins Ft. Collins
Colorado Colorado
USA USA
<https://web.archive.org/web/19991006042323/http://www.geocities.com/HotSprings/6789/>
## To build: ## To build:
```sh
make all make all
```
## To run: ## To run:
```sh
./applin ./applin
```
## Try: ## Try:
```sh
sh applin.c sh applin.c
./applin ./applin
```
## Judges' remarks: ## Judges' remarks:
@@ -30,7 +37,7 @@ compilers as well as executable by the Bourne shell!
## Author's remarks: ## Author's remarks:
No comments were provided by the author. No remarks were provided by the author.
## Copyright and CC BY-SA 4.0 License: ## Copyright and CC BY-SA 4.0 License:
+19 -8
View File
@@ -6,15 +6,19 @@
Ft. Collins, CO Ft. Collins, CO
80525 80525
USA USA
<https://web.archive.org/web/19991006042323/http://www.geocities.com/HotSprings/6789/>
## To build: ## To build:
```sh
make all make all
```
## Try: ## Try:
```sh
./applin ./applin
```
## Judges' remarks: ## Judges' remarks:
@@ -22,19 +26,26 @@ This entry is by far the most unusual abuse of the C preprocessor that
we have received thus far. Nearly all of the real work is done in the we have received thus far. Nearly all of the real work is done in the
preprocessor! preprocessor!
When we compiled applin.c on an Amdahl 5890-300E, we found that it When we compiled [applin.c](applin.c) on an
spent over 75 minutes in the System V C preprocessor! Besides showing [Amdahl](https://en.wikipedia.org/wiki/Amdahl_Corporation) 5890-300E, we found that it
that the standard System V cpp is slow, it showed that it contained a spent over 75 minutes in the System V C preprocessor! Besides showing that the
memory usage problem. The applin.c only uses 29 different preprocessor standard System V cpp is slow, it showed that it contained a memory usage
symbols (besides `stdio.h`) and yet the preprocessor ran out of space! problem. The [applin.c](applin.c) only uses 29 different preprocessor symbols
(besides `stdio.h`) and yet the preprocessor ran out of space!
The GNU C preprocessor took less than 45 seconds to perform the 2nd pass The GNU C preprocessor took less than 45 seconds to perform the 2nd pass
on the Amdahl 5890-300E. But due to the ANSI-likeness of GNU cpp (v. 1-21), on the Amdahl 5890-300E. But due to the ANSI-likeness of GNU cpp (v. 1-21),
it was not able to cleanly substitute a symbol that began with a '#'. it was not able to cleanly substitute a symbol that began with a '#'.
Clearly the GNU C preprocessor is faster. Clearly the GNU C preprocessor is faster.
A smaller version of applin.c can be found in zsmall.c. Your machine A smaller version of [applin.c](applin.c) can be found in [zsmall.c](zsmall.c).
may have an easier time with this program. See the Makefile for details. Your machine may have an easier time with this program. See the Makefile for
details.
## Author's remarks:
No remarks were provided by the author.
## Copyright and CC BY-SA 4.0 License: ## Copyright and CC BY-SA 4.0 License: