From d56c2c7371a03982d77ee63b09ee996580593b77 Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Wed, 31 Jan 2024 10:23:47 -0800 Subject: [PATCH] Improve 2020/burton/try.sh --- 2020/burton/try.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/2020/burton/try.sh b/2020/burton/try.sh index 71fe6f3ec..6941e7b40 100755 --- a/2020/burton/try.sh +++ b/2020/burton/try.sh @@ -15,7 +15,8 @@ make CC="$CC" all >/dev/null || exit 1 # clear screen after compilation so that only the entry is shown clear -echo "$ make test" 1>&2 +read -r -n 1 -p "Press any key to run: make test: " +echo 1>&2 make test echo 1>&2 @@ -75,3 +76,4 @@ echo 1>&2 read -r -n 1 -p "Press any key to run: ./prog 1; ./prog_be 1: " echo 1>&2 ./prog 1; ./prog_be 1 +echo 1>&2