diff --git a/1988/spinellis/try.alt.sh b/1988/spinellis/try.alt.sh deleted file mode 100755 index e7c57fa2c..000000000 --- a/1988/spinellis/try.alt.sh +++ /dev/null @@ -1,31 +0,0 @@ -#!/usr/bin/env bash -# -# try.alt.sh - demonstrate IOCCC winner 1988/spinellis 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 - -# clear screen after compilation so that only the entry is shown -clear - -echo "$ cat input.txt" 1>&2 -cat input.txt - -echo "$ cc -Wno-error spinellis.alt.c -o spinellis.alt && ./spinellis.alt < input.txt" -cc -Wno-error spinellis.alt.c -o spinellis.alt && ./spinellis.alt < input.txt -echo "$ ./spinellis.alt" 1>&2 -./spinellis.alt - -echo 1>&2 - -echo "$ cat input2.txt" 1>&2 -cat input2.txt -echo "$ cc -Wno-error spinellis.c -o spinellis.alt && ./spinellis" 1>&2 -cc -Wno-error spinellis.alt.c -o spinellis.alt && ./spinellis.alt < input2.txt -echo "$ ./spinellis.alt" 1>&2 -./spinellis.alt diff --git a/1988/spinellis/try.sh b/1988/spinellis/try.sh deleted file mode 100755 index 1b6413d33..000000000 --- a/1988/spinellis/try.sh +++ /dev/null @@ -1,27 +0,0 @@ -#!/usr/bin/env bash -# -# try.sh - demonstrate IOCCC winner 1988/spinellis -# - -# 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 - -# clear screen after compilation so that only the entry is shown -clear - -echo "$ cat input.txt" 1>&2 -cat input.txt - -echo "$ cc spinellis.c -o spinellis < input.txt && ./spinellis" 1>&2 -cc spinellis.c -o spinellis < input.txt && ./spinellis - -echo 1>&2 - -echo "$ cat input2.txt" 1>&2 -cat input2.txt -echo "$ cc spinellis.c -o spinellis < input2.txt && ./spinellis" 1>&2 -cc spinellis.c -o spinellis < input2.txt && ./spinellis