www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/04/09/02:49:19

From: Kjeld DOT F DOT Christensen AT dxd DOT ericsson DOT se
Subject: BUG? read and pipe
9 Apr 1998 02:49:19 -0700 :
Message-ID: <H00000b000046b91.cygnus.gnu-win32@MHS>
References: <Pine DOT LNX DOT 3 DOT 91 DOT 980406172315 DOT 31924B-100000 AT mhw DOT OIT DOT IUPUI DOT EDU>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

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?

  Kjeld Flarup

-
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