Blaine Simpson wrote: > read silently fails when stdin is piped to it. -u switch does > not help. Redirection works fine.
Same as the other problem with exit in a pipeline. Pipelines operate in subshells. Environment variables are local to the process. Please see question E4 in the bash FAQ for more information. http://www.gnu.org/software/bash/ Bob