Files
bash/tests/read6.sub
T

12 lines
125 B
Plaintext

# test read with a timeout of 0 -- input polling
echo abcde | read -t 0
echo $?
read -t 0 < $0
echo $?
read -t 0
echo $?