Improve/fix 2011/goren/try.sh

This commit is contained in:
Cody Boone Ferguson committed 2024-01-24 08:01:32 -08:00
1 parent 6cb855f95c
commit 8b28b53138
2 files changed
+6 -2

No files matched your search

+5 -1
View File
@@ -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
+1 -1
View File
@@ -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'`.
## <a name="2011_hamaji"></a>[2011/hamaji](/2011/hamaji/hamaji.c) ([README.md](/2011/hamaji/README.md]))