Improve/fix 2011/goren/try.sh
This commit is contained in:
1 parent
6cb855f95c
commit
8b28b53138
2 files changed
+6
-2
No files matched your search
+5
-1
@@ -17,22 +17,26 @@ clear
|
|||||||
|
|
||||||
|
|
||||||
read -r -n 1 -p "Press any key to run: echo 'Hello, world!' | ./goren: "
|
read -r -n 1 -p "Press any key to run: echo 'Hello, world!' | ./goren: "
|
||||||
|
echo 1>&2
|
||||||
echo "Hello, world!" | ./goren
|
echo "Hello, world!" | ./goren
|
||||||
echo 1>&2
|
echo 1>&2
|
||||||
|
|
||||||
read -r -n 1 -p "Press any key to run: echo '|' | ./goren: "
|
read -r -n 1 -p "Press any key to run: echo '|' | ./goren: "
|
||||||
|
echo 1>&2
|
||||||
echo '|' | ./goren
|
echo '|' | ./goren
|
||||||
echo 1>&2
|
echo 1>&2
|
||||||
|
|
||||||
read -r -n 1 -p "Press any key to run: echo '|!|!|' | ./goren: "
|
read -r -n 1 -p "Press any key to run: echo '|!|!|' | ./goren: "
|
||||||
|
echo 1>&2
|
||||||
echo '|' | ./goren
|
echo '|' | ./goren
|
||||||
echo 1>&2
|
echo 1>&2
|
||||||
|
|
||||||
read -r -n 1 -p "Press any key to run: echo 'This is a pipe!' | ./goren: "
|
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 'This is a pipe!' | ./goren
|
||||||
echo 1>&2
|
echo 1>&2
|
||||||
|
|
||||||
read -r -n 1 -p "Press any key to run: echo '| is a pipe!' | ./goren: "
|
read -r -n 1 -p "Press any key to run: echo '| is a pipe!' | ./goren: "
|
||||||
|
echo 1>&2
|
||||||
echo '| is a pipe!' | ./goren
|
echo '| is a pipe!' | ./goren
|
||||||
echo 1>&2
|
echo 1>&2
|
||||||
|
|
||||||
+1
-1
@@ -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 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]))
|
## <a name="2011_hamaji"></a>[2011/hamaji](/2011/hamaji/hamaji.c) ([README.md](/2011/hamaji/README.md]))
|
||||||
|
|||||||
Reference in new issue
Block a user