mirror of
https://github.com/sheumann/hush.git
synced 2024-12-23 05:29:58 +00:00
11 lines
357 B
Plaintext
11 lines
357 B
Plaintext
|
# bash 3.2 outputs:
|
||
|
|
||
|
# ><
|
||
|
{ echo -n 'te'; sleep 2; echo 'st'; } | (read -t 1 reply; echo ">$reply<")
|
||
|
# ><
|
||
|
{ sleep 2; echo 'test'; } | (read -t 1 reply; echo ">$reply<")
|
||
|
# >test<
|
||
|
{ echo -n 'te'; sleep 1; echo 'st'; } | (read -t 2 reply; echo ">$reply<")
|
||
|
# >test<
|
||
|
{ sleep 1; echo 'test'; } | (read -t 2 reply; echo ">$reply<")
|