This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

BUG? read and pipe


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@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]