Rename 1994/westley/spoiler.sh try.sh

The script now first checks columns (tput cols) and if it's not 80 it
will ask the user if they still wish to continue. Checking the tab
length of 8 and wraparound is probably not worth the effort. Also
unfortunately output is not as nice as it used to be because compilers
show more context with errors. Still having columns at 80 does improve
the output a fair bit.
This commit is contained in:
Cody Boone Ferguson committed 2024-01-11 06:24:11 -08:00
1 parent b7eacf4849
commit a8ccd99632
5 files changed
+51 -25

No files matched your search

+5 -5
View File
@@ -5,10 +5,13 @@ make all
```
NOTE: the purpose of this entry is to escape the dungeon via the compiler line
where you get messages as compiler errors. Depending on the compiler line you
where you **get messages as compiler errors**. Depending on the compiler line you
will get different error messages and one compiler line will make you win the
game!
NOTE: your terminal should be set to 80 columns, 8 character tabs, and
wraparound.
## To use:
@@ -25,9 +28,6 @@ cc -Describe -Door westley.c
cc -Describe -Drain westley.c
```
NOTE: your terminal should be set to 80 columns, 8 character tabs, and
wraparound.
## Judges' remarks:
@@ -38,7 +38,7 @@ For spoilers see the end of the notes from the author below.
To use:
```sh
./spoiler.sh
./try.sh
```