diff options
Diffstat (limited to 'shell/hush_test/hush-read/read_n.tests')
-rwxr-xr-x | shell/hush_test/hush-read/read_n.tests | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/shell/hush_test/hush-read/read_n.tests b/shell/hush_test/hush-read/read_n.tests new file mode 100755 index 0000000..12423ba --- /dev/null +++ b/shell/hush_test/hush-read/read_n.tests @@ -0,0 +1,3 @@ +echo 'test' | (read reply; echo "$reply") +echo 'test' | (read -n 3 reply; echo "$reply") +echo 'test' | (read -n3 reply; echo "$reply") |