Subject: Re: BUG? read and pipe
From: [email-masked] (Chet Ramey)

9 Apr 1998 21:26:30 -0700
Message-ID: <[email-masked]>
References: <H00000b000046b91@MHS>
Reply-To: [email-masked]
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
To: [email-masked]
Cc: [email-masked], [email-masked]

> 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.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer

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