Add 1992/nathan/try.sh + format fixes

The try.sh script runs the commands provided by the judges in the try
section (which has been updated to just refer to './try.sh') and one I
included as well.

The README.md file has been format/typo checked.
This commit is contained in:
Cody Boone Ferguson committed 2023-11-09 07:43:36 -08:00
1 parent 890dd4c247
commit 8d5a01d512
4 files changed
+39 -19

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
#!/usr/bin/env bash
echo "$ ./nathan obfuscate < nathan.c > foobarf.c" 1>&2
./nathan obfuscate < nathan.c > foobarf.c
echo "$ ./nathan - obfuscate < foobarf.c > barfoof.c" 1>&2
./nathan - obfuscate < foobarf.c > barfoof.c
echo "$ diff nathan.c barfoof.c" 1>&2
diff -s nathan.c barfoof.c
echo "$ echo 'IOCCC 1992 winner nathan' | ./nathan" 1>&2
echo 'IOCCC 1992 winner nathan' | ./nathan