Remove 1988/spinellis/try*sh
These were added in error due to the nature of the entry. It might be possible to make them work but it's not ideal so they are now removed.
This commit is contained in:
1 parent
112ce82c9a
commit
1b751f1434
2 files changed
-58
No files matched your search
@@ -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
|
||||
@@ -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
|
||||
Reference in new issue
Block a user