Add try.sh to 1995/dodsond1 + format/typo checks

The try.sh script uses the text file that I added a while back which has
the text that the judges recommended one try with the program.
This commit is contained in:
Cody Boone Ferguson committed 2023-11-10 11:39:56 -08:00
1 parent ba0fc09d02
commit b24c6a1785
3 files changed
+18 -3

No files matched your search

+3 -3
View File
@@ -33,7 +33,7 @@ giraffes.
... which can be done like:
```c
./dodsond1 < try.this.txt
./try.sh
```
@@ -47,11 +47,11 @@ The obfuscation is on several levels.
Most obviously, the shape of the program.
Underneath that, the variable names are in pig Latin, as are the
names of the standard C functions, such as putchar. Even main is
names of the standard C functions, such as `putchar()`. Even main is
written as `ainma`.
The program construction is also very obfuscated, with all of the
code being inside the ()'s of one of the 6 `orfa` loops.
code being inside the `()`'s of one of the 6 `orfa` loops.
## Copyright and CC BY-SA 4.0 License:
+9
View File
@@ -0,0 +1,9 @@
#!/usr/bin/env bash
make all >/dev/null || exit 1
echo "$ cat try.this.txt"
cat try.this.txt
echo "$ ./dodsond1 < try.this.txt"
./dodsond1 < try.this.txt