From aba67636388fd0955d628b8200852ded4c763a55 Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Mon, 5 Feb 2024 09:10:13 -0800 Subject: [PATCH] Improve output of 2000/anderson/try.sh --- 2000/anderson/try.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/2000/anderson/try.sh b/2000/anderson/try.sh index 88a53a6b7..4a4ffe638 100755 --- a/2000/anderson/try.sh +++ b/2000/anderson/try.sh @@ -25,17 +25,17 @@ echo 1>&2 echo 'Hello, world!' | ./anderson echo 1>&2 -read -r -n 1 -p "Press any key to run: ./anderson < anderson.c: " +read -r -n 1 -p "Press any key to run: ./anderson < anderson.c (space = next page, q = quit): " echo 1>&2 -./anderson < anderson.c +./anderson < anderson.c | less -rEXFK echo 1>&2 -read -r -n 1 -p "Press any key to run: ./anderson < README.md: " +read -r -n 1 -p "Press any key to run: ./anderson < README.md (space = next page, q = quit): " echo 1>&2 -./anderson < README.md +./anderson < README.md | less -rEXFK echo 1>&2 -read -r -n 1 -p "Press any key to run: cat README.md anderson.c | ./anderson: " +read -r -n 1 -p "Press any key to run: cat README.md anderson.c | ./anderson (space = next page, q = quit): " echo 1>&2 -cat README.md anderson.c | ./anderson +cat README.md anderson.c | ./anderson | less -rEXFK echo 1>&2