From bfc111cb80aaa67ecfd05cb5909dfad2897bb4ed Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Mon, 22 Jan 2024 09:56:47 -0800 Subject: [PATCH] Minor fixes in 2006/toledo1/try.sh If one does not hit enter for the prompting of the press any key the next echo will be on the same line. --- 2006/toledo1/try.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/2006/toledo1/try.sh b/2006/toledo1/try.sh index a1d874c6a..39cf0c92b 100755 --- a/2006/toledo1/try.sh +++ b/2006/toledo1/try.sh @@ -17,30 +17,48 @@ clear read -r -n 1 -p "Press any key to run: ./toledo1 00: " +echo 1>&2 ./toledo1 00 +echo 1>&2 read -r -n 1 -p "Press any key to run: ./toledo1 30: " +echo 1>&2 ./toledo1 30 +echo 1>&2 read -r -n 1 -p "Press any key to run: ./toledo1 99: " +echo 1>&2 ./toledo1 99 +echo 1>&2 read -r -n 1 -p "Press any key to run: ./toledo1 42: " +echo 1>&2 ./toledo1 42 +echo 1>&2 read -r -n 1 -p "Press any key to run: ./toledo1 11 # start is A8: " +echo 1>&2 ./toledo1 11 # start is A8 +echo 1>&2 read -r -n 1 -p "Press any key to run: ./toledo1 18 # start is H8: " +echo 1>&2 ./toledo1 18 # start is H8 +echo 1>&2 read -r -n 1 -p "Press any key to run: ./toledo1 81 # start is A1: " +echo 1>&2 ./toledo1 81 # start is A1 +echo 1>&2 read -r -n 1 -p "Press any key to run: ./toledo1 88 # start is H1: " +echo 1>&2 ./toledo1 88 # start is H1 +echo 1>&2 read -r -n 1 -p "Press any key to run: ./toledo1 44 # start is D5: " +echo 1>&2 ./toledo1 44 # start is D5 +echo 1>&2 echo "What happened with the last ones?" 1>&2