From: chet@nike.ins.cwru.edu (Chet Ramey)
Subject: Re: BUG? read and pipe
9 Apr 1998 21:26:30 -0700
Message-ID: <980409145932.AA07604.SM.cygnus.gnu-win32@nike.ins.cwru.edu>
References: <H00000b000046b91@MHS>
Reply-To: chet@po.cwru.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
To: Kjeld.F.Christensen@dxd.ericsson.se
Cc: gnu-win32@cygnus.com, chet@po.cwru.edu

> 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: chet@po.CWRU.Edu
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
