diff options
Diffstat (limited to 'shell/ash_test/ash-read/read_n.tests')
-rwxr-xr-x | shell/ash_test/ash-read/read_n.tests | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/shell/ash_test/ash-read/read_n.tests b/shell/ash_test/ash-read/read_n.tests new file mode 100755 index 000000000..12423ba6e --- /dev/null +++ b/shell/ash_test/ash-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") |