|
From: | Bob Proulx |
Subject: | Re: read doesn't work with piped stdin |
Date: | Mon, 19 Nov 2007 01:09:50 -0700 |
User-agent: | Mutt/1.5.13 (2006-08-11) |
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
[Prev in Thread] | Current Thread | [Next in Thread] |