hush/shell/ash_test/ash-read/read_n.tests

4 lines
135 B
Plaintext
Executable File

echo 'test' | (read reply; echo "$reply")
echo 'test' | (read -n 3 reply; echo "$reply")
echo 'test' | (read -n3 reply; echo "$reply")