This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
read in sh scripts (b18)
- To: gnu-win32 at cygnus dot com
- Subject: read in sh scripts (b18)
- From: Christoph Kukulies <kuku at gilberto dot physik dot RWTH-Aachen dot DE>
- Date: Tue, 15 Sep 1998 18:00:34 +0200 (MEST)
While testing some shell scripts under b18 I find that
echo -n 'enter yes/no:'
read answer
echo $answer
echo -n 'enter yes/no:'
read answer
echo $answer
skips the second read.
It look too much like a FAQ to me like tty mode, buffering or
a cr/lf issue that I can't believe it's a bug.
--
Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de
Latest feature of Visual C++ 6.0: 'Command-line builds' -
msdev crc.dsw /MAKE "WinCRC - Win32 Debug" /Rebuild /OUT wincrc.log
Taken from: MSJ Oct 98, p. 19 -- :-O
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".