Merge pull request #1896 from xexyl/try-header-readmes
This commit is contained in:
273 files changed
+491
-312
No files matched your search
@@ -12,7 +12,7 @@ make all
|
||||
```
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
The program accepts ONE POSITIVE number. Seeing is believing, so try things
|
||||
like:
|
||||
|
||||
@@ -46,7 +46,7 @@ BTW: is there such a thing as too fast a CPU ? :-) Actually yes for certain code
|
||||
which is probably not as uncommon as you think :-).
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./mullender.alt
|
||||
|
||||
@@ -5,7 +5,7 @@ make all
|
||||
```
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./applin
|
||||
|
||||
@@ -12,7 +12,7 @@ make all
|
||||
```
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./try.sh
|
||||
|
||||
@@ -15,7 +15,7 @@ To see why we recommend the alternate version instead of the original version,
|
||||
see below and the [Original code](#original-code) section.
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
This alternate version, which we recommend you you try first, prior to the
|
||||
original, slows down the output so that you can see what it looked like back in 1985.
|
||||
|
||||
@@ -21,7 +21,7 @@ echo foo | ./sicherman
|
||||
```
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./try.sh
|
||||
|
||||
@@ -12,7 +12,7 @@ make all
|
||||
```
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./applin.c
|
||||
|
||||
@@ -16,7 +16,7 @@ STATUS: INABIAF - please **DO NOT** fix
|
||||
For more detailed information see [1986 august in bugs.md](/bugs.md#1986-august).
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./august
|
||||
|
||||
@@ -12,7 +12,7 @@ make all
|
||||
```
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./try.sh
|
||||
|
||||
@@ -13,7 +13,7 @@ make all
|
||||
```
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./try.sh
|
||||
|
||||
@@ -5,7 +5,7 @@ make all
|
||||
```
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./holloway
|
||||
|
||||
@@ -5,7 +5,7 @@ make all
|
||||
```
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./pawka
|
||||
|
||||
@@ -14,7 +14,7 @@ some_command | ./biggar | od -c
|
||||
```
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./try.sh
|
||||
|
||||
@@ -17,7 +17,7 @@ To compile on a 16 bit machine, change 300000 to 30000.
|
||||
where col is the number of columns to fold at and file is the file to fold.
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./try.sh
|
||||
|
||||
@@ -12,7 +12,7 @@ make all
|
||||
```
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./try.sh
|
||||
|
||||
@@ -13,7 +13,7 @@ make all
|
||||
```
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
To see what it would have looked like without the size restrictions:
|
||||
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@ make all
|
||||
```
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./try.sh
|
||||
|
||||
@@ -10,7 +10,7 @@ the source of the alt code), of [applin.c](applin.c), can be found in
|
||||
program. See the [Alternate code](#alternate-code) section below for details.
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./applin
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@ STATUS: INABIAF - please **DO NOT** fix
|
||||
For more detailed information see [1988 dale in bugs.md](/bugs.md#1988-dale).
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./try.sh
|
||||
|
||||
@@ -15,7 +15,7 @@ There is an alternate version provided. See the [Alternate
|
||||
code](#alternate-code) section below.
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./litmaath eschew obfuscation
|
||||
|
||||
@@ -5,7 +5,7 @@ make all
|
||||
```
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./reddy
|
||||
|
||||
@@ -5,7 +5,7 @@ make all
|
||||
```
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./robison 80 10
|
||||
|
||||
@@ -9,7 +9,7 @@ code](#alternate-code) section below for how to use the original and why one
|
||||
might wish to do so.
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./westley
|
||||
|
||||
@@ -23,7 +23,7 @@ For more detailed information see [1989 fubar in bugs.md](/bugs.md#1989-fubar).
|
||||
```
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./try.sh # run on 1 - 7
|
||||
|
||||
@@ -17,7 +17,7 @@ make all
|
||||
NOTE: this entry will likely segfault on invalid input.
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./try.sh
|
||||
|
||||
@@ -19,7 +19,7 @@ The program stops when it reaches the end of the template buffer
|
||||
by chance or is killed.
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./try.sh ; sleep 2 ; ./try.sh
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@ There is an alternate version with a trace routine that the author had commented
|
||||
out. See [alternate code](#alternate-code) below for more details.
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./paul
|
||||
|
||||
@@ -24,7 +24,7 @@ For more detailed information see [1989 robison in bugs.md](/bugs.md#1989-robiso
|
||||
```
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./robison
|
||||
|
||||
@@ -5,7 +5,7 @@ make all
|
||||
```
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./roemer
|
||||
|
||||
@@ -12,7 +12,7 @@ make all
|
||||
```
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./tromp 5
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ make all
|
||||
```
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./try.sh
|
||||
|
||||
@@ -16,7 +16,7 @@ STATUS: known bug - please help us fix
|
||||
For more detailed information see [1989 westley in bugs.md](/bugs.md#1989-westley).
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
Try compiling and running the 4 resulting programs like:
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ echo 7 | ./baruch
|
||||
```
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
echo 2 | ./baruch
|
||||
|
||||
@@ -12,7 +12,7 @@ make all
|
||||
```
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./cmills 5000
|
||||
|
||||
+1
-1
@@ -12,7 +12,7 @@ make all
|
||||
```
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
Give the following lines as input:
|
||||
|
||||
|
||||
+1
-1
@@ -12,7 +12,7 @@ echo foo bar | ./dg
|
||||
```
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./try.sh
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ make all
|
||||
```
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
To test the official C entry, one might try:
|
||||
|
||||
|
||||
+1
-1
@@ -52,7 +52,7 @@ or ctrl-c (or kill it from another terminal :-) ). But why does it not work with
|
||||
just `exit` or `logout`? Hint: see the authors' remarks.
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./tbr
|
||||
|
||||
@@ -33,7 +33,7 @@ y1 - initial value (y(x1) == y1)
|
||||
```
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./try.sh
|
||||
|
||||
@@ -14,7 +14,7 @@ make all
|
||||
The number should be greater than 0.
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./try.sh
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@ NOTE: the file must already exist and not specifying any arg will make the
|
||||
program exit without doing anything.
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
make hill
|
||||
|
||||
@@ -5,7 +5,7 @@ make all
|
||||
```
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./try.sh
|
||||
|
||||
@@ -14,7 +14,7 @@ make all
|
||||
where `ip_address` in an IP address of an X server.
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./davidguy 127.0.0.1:0.0
|
||||
|
||||
+1
-1
@@ -13,7 +13,7 @@ make all
|
||||
```
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
The author suggests trying:
|
||||
|
||||
|
||||
+1
-1
@@ -12,7 +12,7 @@ echo text | ./fine
|
||||
```
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./try.sh
|
||||
|
||||
@@ -49,7 +49,7 @@ make nextmove
|
||||
```
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
We have provided the shell script, [ttt](ttt.sh), to make it easier to play the
|
||||
game:
|
||||
|
||||
@@ -17,7 +17,7 @@ STATUS: INABIAF - please **DO NOT** fix
|
||||
For more detailed information see [1992 adrian in bugs.md](/bugs.md#1992-adrian).
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./try.sh
|
||||
|
||||
@@ -26,7 +26,7 @@ For more detailed information see [1992 albert in bugs.md](/bugs.md#1992-albert)
|
||||
```
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./try.sh
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@ make all
|
||||
where `Makefile` is a Makefile to use and `rule` is an optional rule to use.
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
|
||||
```sh
|
||||
|
||||
@@ -13,7 +13,7 @@ make all
|
||||
```
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./try.sh
|
||||
|
||||
+1
-1
@@ -26,7 +26,7 @@ For more detailed information see [1992 gson in bugs.md](/bugs.md#1992-gson).
|
||||
```
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
Determine where your system dictionary is located. You may find
|
||||
it located in one of the following places:
|
||||
|
||||
@@ -13,7 +13,7 @@ make all
|
||||
```
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
To see some other fun uses:
|
||||
|
||||
|
||||
+1
-1
@@ -23,7 +23,7 @@ For more detailed information see [1992 vern in bugs.md](/bugs.md#1992-vern).
|
||||
```
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
You might start off by giving the following input:
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ prohibitive if it cannot be compiled and linked (it uses curses); instead one
|
||||
should just use the `westley` and `westley.alt` programs directly.
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./whereami 47 -122 # NOTE: - means west of meridian
|
||||
|
||||
+1
-1
@@ -23,7 +23,7 @@ For more detailed information see [1993 ant in bugs.md](/bugs.md#1993-ant).
|
||||
```
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./try.sh
|
||||
|
||||
@@ -16,7 +16,7 @@ where:
|
||||
`datafile` is the initial pattern (default: [dgibson.data1](dgibson.data1))
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./try.sh
|
||||
|
||||
@@ -39,7 +39,7 @@ include ../../var.mk
|
||||
# Common C compiler warnings to silence
|
||||
#
|
||||
CSILENCE= -Wno-error -Wno-implicit-function-declaration -Wno-format-security \
|
||||
-Wno-deprecated-non-prototype
|
||||
-Wno-deprecated-non-prototype -Wno-implicit-int
|
||||
|
||||
# Common C compiler warning flags
|
||||
#
|
||||
@@ -130,7 +130,6 @@ all: data ${TARGET}
|
||||
sandwich supernova deep_magic magic charon pluto
|
||||
|
||||
${PROG}: ${PROG}.c
|
||||
@echo "NOTE: this program will likely crash or do something else without enough args."
|
||||
${CC} ${CFLAGS} $< -o $@ ${LDFLAGS}
|
||||
|
||||
# alternative executable
|
||||
@@ -140,7 +139,7 @@ alt: data ${ALT_TARGET}
|
||||
|
||||
# Variable to control amount of time to sleep between writes for alt code.
|
||||
#
|
||||
SLEEP= 200
|
||||
SLEEP= 1000
|
||||
|
||||
${PROG}.alt: ${PROG}.alt.c
|
||||
${CC} ${CFLAGS} -DZ=${SLEEP} $< -o $@ ${LDFLAGS}
|
||||
|
||||
+61
-21
@@ -1,17 +1,33 @@
|
||||
## To build:
|
||||
|
||||
```sh
|
||||
make all
|
||||
make alt
|
||||
```
|
||||
|
||||
There is an [alternate version](#alternate-code) that lets you slow down the
|
||||
output of the program for modern systems.
|
||||
We recommend that you try the alternate version first to get a better idea of
|
||||
what this entry looked like back in 1993. The alternate version sleeps (via
|
||||
`usleep(3)`) in between writes, defaulting at 1000 microseconds (but
|
||||
reconfigurable). If you wish to see the original entry then see [original
|
||||
code](#original-code) below.
|
||||
|
||||
If you wish to speed the entry up, say to 500 microseconds between writes, try:
|
||||
|
||||
```sh
|
||||
make clobber SLEEP=500 alt
|
||||
```
|
||||
|
||||
Alternatively if you wish to slow it down, say to 1500 microseconds between
|
||||
writes, try:
|
||||
|
||||
```sh
|
||||
make clobber SLEEP=1500 alt
|
||||
```
|
||||
|
||||
|
||||
## To use:
|
||||
|
||||
```sh
|
||||
./plummer number arg
|
||||
./plummer.alt number arg
|
||||
```
|
||||
|
||||
where:
|
||||
@@ -19,43 +35,67 @@ where:
|
||||
- number is a number (try 21701)
|
||||
- arg is any argument
|
||||
|
||||
Wait until you're bored enough to send intr/ctrl-c to exit or until the
|
||||
[Vogons](https://hitchhikers.fandom.com/wiki/Vogon) build that [hyperspace
|
||||
bypass](https://hitchhikers.fandom.com/wiki/Bypass).
|
||||
|
||||
### Try:
|
||||
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./plummer 01234567890876543210 xxx
|
||||
./try.alt.sh
|
||||
|
||||
./try.alt.sh 21701
|
||||
|
||||
SLEEP=500 ./try.alt.sh
|
||||
|
||||
SLEEP=900 ./try.alt.sh 789789789789789
|
||||
|
||||
./try.alt.sh 789789789
|
||||
|
||||
SLEEP=400 ./try.alt.sh 42424242424242
|
||||
|
||||
SLEEP=1000 ./try.alt.sh xyzzyzzyx
|
||||
|
||||
SLEEP=1200 ./try.alt.sh xyzzyzzyx 5555
|
||||
```
|
||||
|
||||
|
||||
## Alternate code:
|
||||
## Original code:
|
||||
|
||||
This version sleeps in between writes for a compiled in constant microseconds
|
||||
via `usleep(3)`, defaulting at 200.
|
||||
This version, the original, does not sleep in between writes, and is thus much
|
||||
faster (depending on the `SLEEP` parameter specified in the build of `alt`, of
|
||||
course).
|
||||
|
||||
|
||||
### Alternate build:
|
||||
### Original build:
|
||||
|
||||
```sh
|
||||
make alt
|
||||
```
|
||||
|
||||
If you wish to change the time to sleep (default `200`) you can do so like:
|
||||
|
||||
```sh
|
||||
make clobber SLEEP=50 alt
|
||||
make all
|
||||
```
|
||||
|
||||
|
||||
### Alternate use:
|
||||
### Original use:
|
||||
|
||||
Use `plummer.alt` as you would `plummer`.
|
||||
Use `plummer` as you would `plummer.alt` above.
|
||||
|
||||
|
||||
### Alternate try:
|
||||
### Original try:
|
||||
|
||||
```sh
|
||||
./plummer.alt xyzzyzzyx 5555
|
||||
./try.sh
|
||||
|
||||
./try.sh 21701
|
||||
|
||||
./try.sh 789789789789789
|
||||
|
||||
./try.sh 789789789
|
||||
|
||||
./try.sh 42424242424242
|
||||
|
||||
./try.sh xyzzyzzyx
|
||||
|
||||
./try.sh xyzzyzzyx 5555
|
||||
```
|
||||
|
||||
|
||||
|
||||
Executable
+43
@@ -0,0 +1,43 @@
|
||||
#!/usr/bin/env bash
|
||||
#
|
||||
# try.alt.sh - demonstrate IOCCC winner 1993/plummer alt code
|
||||
#
|
||||
|
||||
# make sure CC is set so that when we do make CC="$CC" it isn't empty. Doing it
|
||||
# this way allows us to have the user specify a different compiler in an easy
|
||||
# way.
|
||||
if [[ -z "$CC" ]]; then
|
||||
CC="cc"
|
||||
fi
|
||||
|
||||
# let user change the sleep duration if they wish
|
||||
#
|
||||
if [[ -z "$SLEEP" ]]; then
|
||||
SLEEP=1000
|
||||
fi
|
||||
|
||||
# let user change the number if they wish to
|
||||
#
|
||||
if [[ "$#" -lt 1 || -z "$1" ]]; then
|
||||
NUMBER="01234567890876543210"
|
||||
else
|
||||
NUMBER="$1"
|
||||
fi
|
||||
|
||||
# let user change the arg if they wish to
|
||||
#
|
||||
if [[ "$#" -lt 2 || -z "$2" ]]; then
|
||||
ARG="xxx"
|
||||
else
|
||||
ARG="$2"
|
||||
fi
|
||||
|
||||
make clobber CC="$CC" SLEEP="$SLEEP" alt >/dev/null || exit 1
|
||||
|
||||
# clear screen after compilation so that only the entry is shown
|
||||
clear
|
||||
|
||||
echo "$ ./plummer.alt $NUMBER $ARG" 1>&2
|
||||
read -r -n 1 -p "Press any key to continue (send intr/ctrl-c to terminate): "
|
||||
echo 1>&2
|
||||
./plummer.alt "$NUMBER" "$ARG"
|
||||
Executable
+37
@@ -0,0 +1,37 @@
|
||||
#!/usr/bin/env bash
|
||||
#
|
||||
# try.sh - demonstrate IOCCC winner 1993/plummer
|
||||
#
|
||||
|
||||
# make sure CC is set so that when we do make CC="$CC" it isn't empty. Doing it
|
||||
# this way allows us to have the user specify a different compiler in an easy
|
||||
# way.
|
||||
if [[ -z "$CC" ]]; then
|
||||
CC="cc"
|
||||
fi
|
||||
|
||||
# let user change the number if they wish to
|
||||
#
|
||||
if [[ "$#" -lt 1 || -z "$1" ]]; then
|
||||
NUMBER="01234567890876543210"
|
||||
else
|
||||
NUMBER="$1"
|
||||
fi
|
||||
|
||||
# let user change the arg if they wish to
|
||||
#
|
||||
if [[ "$#" -lt 2 || -z "$2" ]]; then
|
||||
ARG="xxx"
|
||||
else
|
||||
ARG="$2"
|
||||
fi
|
||||
|
||||
make CC="$CC" SLEEP="$SLEEP" all >/dev/null || exit 1
|
||||
|
||||
# clear screen after compilation so that only the entry is shown
|
||||
clear
|
||||
|
||||
echo "$ ./plummer $NUMBER $ARG" 1>&2
|
||||
read -r -n 1 -p "Press any key to continue (send intr/ctrl-c to terminate): "
|
||||
echo 1>&2
|
||||
./plummer "$NUMBER" "$ARG"
|
||||
@@ -30,7 +30,7 @@ where
|
||||
Certain input will cause the program to fail as described in the bugs.md file.
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./schnitzi schnitzi.info
|
||||
|
||||
+1
-1
@@ -26,7 +26,7 @@ where `exp` is an octal expression. See below for how it can also have
|
||||
hexadecimal and decimal numbers.
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./try.sh
|
||||
|
||||
@@ -12,7 +12,7 @@ make all
|
||||
```
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
At the prompt, try entering `E3`.
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ make all
|
||||
`A`, `B`, `C` and `D` are numeric arguments.
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./horton 3 2 1 0
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@ make all
|
||||
where `[NUMBER]` is an optional number. Default is 5.
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./imc 3
|
||||
|
||||
+1
-1
@@ -25,7 +25,7 @@ some_command | ./ldb
|
||||
```
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./ldb < /etc/passwd
|
||||
|
||||
@@ -28,7 +28,7 @@ For more detailed information see [1994 schnitzi in bugs.md](/bugs.md#1994-schni
|
||||
```
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./schnitzi < /etc/motd 2>/dev/null
|
||||
|
||||
@@ -24,7 +24,7 @@ For more detailed information see [1994 shapiro in bugs.md](/bugs.md#1994-shapir
|
||||
```
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./shapiro
|
||||
|
||||
+1
-1
@@ -12,7 +12,7 @@ make all
|
||||
```
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./smr > smr.out ; diff -s smr.out smr.c
|
||||
|
||||
+1
-1
@@ -28,7 +28,7 @@ For more detailed information see [1994 tvr in bugs.md](/bugs.md#1994-tvr).
|
||||
```
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./tvr 0 128 < tvr.color (for color displays)
|
||||
|
||||
@@ -15,7 +15,7 @@ code](#alternate-code) below.
|
||||
```
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./weisberg | head -n 15
|
||||
|
||||
@@ -18,7 +18,7 @@ wraparound.
|
||||
There is no running as such. See below.
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
But for something more interesting try compiling it with
|
||||
different cc arguments. For example:
|
||||
|
||||
+1
-1
@@ -33,7 +33,7 @@ For more detailed information see [1995 cdua in bugs.md](/bugs.md#1995-cdua).
|
||||
```
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
|
||||
```sh
|
||||
|
||||
@@ -12,7 +12,7 @@ make all
|
||||
```
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./dodsond1 < README.md
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@ make all
|
||||
where data-file contains lines of < 255 chars in length.
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./try.sh
|
||||
|
||||
@@ -12,7 +12,7 @@ make all
|
||||
```
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./try.sh
|
||||
|
||||
@@ -14,7 +14,7 @@ make all
|
||||
where num is a non-negative number.
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./heathbar 4253 2281
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@ make all
|
||||
See the author's information below on these details.
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./leo 1 | cat - /dev/tty | gs -
|
||||
|
||||
@@ -13,7 +13,7 @@ make all
|
||||
```
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
echo 42 | ./savastio
|
||||
|
||||
@@ -12,7 +12,7 @@ make all
|
||||
```
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./schnitzi 24
|
||||
|
||||
@@ -26,7 +26,7 @@ For more detailed information see [1995 vanschnitz in bugs.md](/bugs.md#1995-van
|
||||
```
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
make clobber all LEVEL=6
|
||||
|
||||
@@ -31,7 +31,7 @@ very short amount of time, then you may need to fix your compiler or use gcc.
|
||||
The above should print a `!` followed by a newline.
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./try.sh
|
||||
|
||||
@@ -12,7 +12,7 @@ make all
|
||||
```
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./dalbec 3 | head -n 29
|
||||
|
||||
@@ -20,7 +20,7 @@ To quit send intr (typically ctrl-c).
|
||||
NOTE: to reset the sanity of your terminal after this program ends try `reset`.
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
This alternate version, which we recommend that you use in order to see what is
|
||||
happening with modern systems, and to not flash too quickly, which can be
|
||||
|
||||
@@ -23,7 +23,7 @@ For more detailed information see [1996 gandalf in bugs.md](/bugs.md#1996-gandal
|
||||
```
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./try.sh
|
||||
|
||||
@@ -23,7 +23,7 @@ echo 'Huffman Decoding' | ./huffman
|
||||
```
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./try.sh
|
||||
|
||||
@@ -47,7 +47,7 @@ That's not a bug, that's a feature.
|
||||
```
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./jonth host1:0 host2:0
|
||||
|
||||
+1
-1
@@ -12,7 +12,7 @@ make all
|
||||
```
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
For more information try:
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ make all
|
||||
```
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
To find the day that Easter falls on in the current year:
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ The program accepts up to 4 parameters:
|
||||
3. The goal value or 0/0 [default: 42]
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./try.sh
|
||||
|
||||
@@ -18,7 +18,7 @@ alt version.
|
||||
```
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./try.sh
|
||||
|
||||
@@ -69,7 +69,7 @@ See the author's remarks in [scenery](#scenery) for more details on the scenery
|
||||
files.
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
For a fun time after running the above command, hold down the up arrow and left
|
||||
arrow for about 10 seconds and see what happens. Or, if you wish to really use
|
||||
|
||||
+1
-1
@@ -13,7 +13,7 @@ echo text | ./bas2
|
||||
```
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./try.sh
|
||||
|
||||
@@ -26,7 +26,7 @@ STATUS: missing or dead link - please provide them
|
||||
For more detailed information see [1998 dlowe in bugs.md](/bugs.md#1998-dlowe).
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./dlowe < README.md
|
||||
|
||||
@@ -15,7 +15,7 @@ echo text | ./dorssel
|
||||
```
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./try.sh
|
||||
|
||||
+1
-1
@@ -15,7 +15,7 @@ this entry because of the system resources it requires.
|
||||
```
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
Enter an expression on standard input. To try some we have selected:
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ echo x y z | ./sort
|
||||
where `n` and `x`, `y` and `z` are numbers.
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./try.sh
|
||||
|
||||
@@ -18,7 +18,7 @@ or
|
||||
```
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./yarng 5
|
||||
|
||||
@@ -30,7 +30,7 @@ find dir -type f -print | ./samefile
|
||||
Maybe you will not need to buy another 10 GB disk to store them. :-)
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
If you're in this winning entry's directory:
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ xor : value to xor the final CRC with (hexadecimal)
|
||||
```
|
||||
|
||||
|
||||
### Try:
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
./try.sh
|
||||
|
||||
Loaded 100 of 273 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user