mirror of
https://github.com/sheumann/hush.git
synced 2024-09-12 00:55:11 +00:00
11 lines
357 B
Plaintext
Executable File
11 lines
357 B
Plaintext
Executable File
# 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<")
|