projects
/
platform
/
upstream
/
bash.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Imported from ../bash-4.0-rc1.tar.gz.
[platform/upstream/bash.git]
/
tests
/
read6.sub
1
# test read with a timeout of 0 -- input polling
2
3
echo abcde | { sleep 0.25 ; read -t 0; }
4
echo $?
5
6
read -t 0 < $0
7
echo $?
8
9
read -t 0
10
echo $?