From 8b28b531387d7b7c1d09dc12a02e26464b69a9f1 Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Wed, 24 Jan 2024 08:01:32 -0800 Subject: [PATCH] Improve/fix 2011/goren/try.sh --- 2011/goren/try.sh | 6 +++++- thanks-for-help.md | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/2011/goren/try.sh b/2011/goren/try.sh index 4d9195141..b00006ee2 100755 --- a/2011/goren/try.sh +++ b/2011/goren/try.sh @@ -17,22 +17,26 @@ clear read -r -n 1 -p "Press any key to run: echo 'Hello, world!' | ./goren: " +echo 1>&2 echo "Hello, world!" | ./goren echo 1>&2 read -r -n 1 -p "Press any key to run: echo '|' | ./goren: " +echo 1>&2 echo '|' | ./goren echo 1>&2 read -r -n 1 -p "Press any key to run: echo '|!|!|' | ./goren: " +echo 1>&2 echo '|' | ./goren echo 1>&2 read -r -n 1 -p "Press any key to run: echo 'This is a pipe!' | ./goren: " +echo 1>&2 echo 'This is a pipe!' | ./goren echo 1>&2 read -r -n 1 -p "Press any key to run: echo '| is a pipe!' | ./goren: " +echo 1>&2 echo '| is a pipe!' | ./goren echo 1>&2 - diff --git a/thanks-for-help.md b/thanks-for-help.md index f2194b9bf..84930d28e 100644 --- a/thanks-for-help.md +++ b/thanks-for-help.md @@ -3609,7 +3609,7 @@ and now it does work with 64-bit systems as well as 32-bit systems. Cody also added the [try.sh](/2011/goren/try.sh) script. -Cody added the following words of wisdom: '"this" is not a pipe but "!" is'. +Cody added the following words of wisdom: `'"this" is not a pipe but "!" is'`. ## [2011/hamaji](/2011/hamaji/hamaji.c) ([README.md](/2011/hamaji/README.md]))