The ksh read builtin has a really nifty -u N option to get input from
filedescriptor N instead of from stdin. It would be useful if bash
read got that option, too.
Example:
while read -u3 host; do
echo host: $host
ssh $host uname -s -r # this command may mess with stdin
done 3<<EOM
highlander
red-sonja
conan
gabrielle
EOM
- Morty