Improve 2019/poikola/try scripts

This commit is contained in:
Cody Boone Ferguson committed 2024-01-31 09:59:58 -08:00
1 parent c3d8609064
commit 1ae087249f
2 files changed
+7 -9

No files matched your search

+5 -6
View File
@@ -19,22 +19,21 @@ make clobber CC="$CC" alt >/dev/null || exit 1
# clear screen after compilation so that only the entry is shown
clear
echo "$ ./prog.alt 512 ./prog.alt" 1>&2
read -r -n 1 -p "Press any key to continue (space = next page, q = quit): "
read -r -n 1 -p "Press any key to run: ./prog.alt 512 ./prog.alt (space = next page, q = quit): "
echo 1>&2
./prog.alt 512 ./prog.alt | less -rEXF
./prog.alt 512 ./prog.alt | less -rEXFK
echo 1>&2
echo "$ TZ=UTC24 make CC="$CC" clobber prog.alt" 1>&2
TZ=UTC24 make CC="$CC" clobber prog.alt || exit 1
read -r -n 1 -p "Press any key to run: ./prog.alt 512 ./prog.alt (space = next page, q = quit): "
echo 1>&2
./prog.alt 512 ./prog.alt | less -rEXF
./prog.alt 512 ./prog.alt | less -rEXFK
echo 1>&2
echo "$ TZ=UTC48 make CC="$CC" clobber prog.alt" 1>&2
TZ=UTC48 make CC="$CC" clobber prog.alt || exit 1
read -r -n 1 -p "Press any key to run: ./prog.alt 512 ./prog.alt (space = next page, q = quit): "
read -r -n 1 -p "Press any key to run: ./prog.alt 512 ./prog.alt: "
echo 1>&2
./prog.alt 512 ./prog.alt | less -rEXF
./prog.alt 512 ./prog.alt
echo 1>&2
+2 -3
View File
@@ -20,13 +20,12 @@ make clobber CC="$CC" all >/dev/null || exit 1
# clear screen after compilation so that only the entry is shown
clear
echo "$ ./prog 512 ./prog" 1>&2
read -r -n 1 -p "Press any key to continue: "
read -r -n 1 -p "Press any key to run: ./prog 512 ./prog: "
echo 1>&2
./prog 512 ./prog
echo 1>&2
echo "$ TZ=UTC24 make CC="$CC" clobber prog" 1>&2
echo "$ TZ=UTC24 make CC=$CC clobber prog" 1>&2
TZ=UTC24 make CC="$CC" clobber prog || exit 1
read -r -n 1 -p "Press any key to run: ./prog 512 ./prog: "
echo 1>&2