Subject: Re: BUG? read and pipe
From: [email-masked]

17 Apr 1998 03:54:12 -0700
Sender: [email-masked]
Message-ID: <H00000b00004b377.cygnus.gnu-win32@MHS>
References: <[email-masked]>
To: [email-masked]
Cc: [email-masked], [email-masked],
        [email-masked]
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; name="Re:"; charset=US-ASCII

> > I have a problem combining the read command and a pipe in bash
> > 
> > bash.exe-2.01$ echo ffff | read ddd
> > bash.exe-2.01$ echo $ddd
> > 
> > bash.exe-2.01$ echo ffff > e
> > bash.exe-2.01$ read dd < e
> > bash.exe-2.01$ echo $dd
> > ffff
> > 
> > Is this a bug or what?
> 
> No.  Read the Bash FAQ, question 28.

OK, that explains it. 
But apparantly the Korn Shell can handle it. 
Thats where im porting the code from.

  Kjeld

-
For help on using this list (especially unsubscribing), send a message to
"[email-masked]" with one line of text: "help".