Rename demo.sh scripts to try.sh

This is because they are under the try section. I'm aware that there's a
script called try.me.sh but that's not been decided on a name change. It
probably should be changed to try.sh to be consistent and probably will
be but it's not been yet.

The manifest files in tmp/ have been updated as well, including the
macOS Numbers file.
This commit is contained in:
Cody Boone Ferguson committed 2023-10-29 01:48:16 -07:00
1 parent 9c8ce5989a
commit 0c6b533363
13 files changed
+29 -29

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
#!/usr/bin/env bash
make clobber everything 2>/dev/null
if [[ -z "$BIRKEN" ]]; then
BIRKEN="birken.alt"
fi
trap "clear; exit" SIGINT
for i in *.txt; do
NAME="$(echo "$i" | awk '{ print toupper(substr($1,1,1)) substr($1,2)}'|sed -e 's/\.txt//g' \
-e 's/Ioccc/IOCCC/g' -e 's/Mspacman/Ms Pac-Man/g' -e 's/Helloworld/Hello World/g' \
-e 's/Cheepcheep/Cheep Cheep/g' -e 's/Happyface/Happy Face/g' -e 's/Paranaplant/Piranha Plant/g' \
-e 's/Koopaparatroopa/Koopa Paratroopa/g')"
read -r -n1 -p "Press any key to try $NAME: "
./"${BIRKEN}" < "$i"
echo
done
clear