summaryrefslogtreecommitdiffhomepage
path: root/shell/hush_test/hush-read/read_n.tests
blob: 12423ba6e9a15aa9edae94cbcfe78cc4a17de3fa (plain)
1
2
3
echo 'test' | (read reply; echo "$reply")
echo 'test' | (read -n 3 reply; echo "$reply")
echo 'test' | (read -n3 reply; echo "$reply")