www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/04/09/21:26:30

From: chet AT nike DOT ins DOT cwru DOT 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 AT MHS>
Reply-To: chet AT po DOT cwru DOT edu
Mime-Version: 1.0
To: Kjeld DOT F DOT Christensen AT dxd DOT ericsson DOT se
Cc: gnu-win32 AT cygnus DOT com, chet AT po DOT cwru DOT 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 AT po DOT CWRU DOT Edu
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019