Slightly improve 1995/dodsond1/try.sh

This commit is contained in:
Cody Boone Ferguson committed 2024-01-16 12:10:25 -08:00
1 parent 0b33dbb9f0
commit d1b6f9531b
1 file changed
+6 -2
+6 -2
View File
@@ -17,8 +17,12 @@ make CC="$CC" all >/dev/null || exit 1
# clear screen after compilation so that only the entry is shown
clear
echo "$ cat try.this.txt"
read -r -n 1 -p "Press any key to show try.this.txt: "
echo 1>&2
cat try.this.txt
echo 1>&2
echo "$ ./dodsond1 < try.this.txt"
read -r -n 1 -p "Press any key to run: ./dodsond1 < try.this.txt: "
echo 1>&2
./dodsond1 < try.this.txt
echo 1>&2