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