From: grantl@deerinet.nb.ca ("Grant Leslie")
Subject: Re: Bash bug wth read
26 Jan 1997 17:23:11 -0800
Approved: cygnus.gnu-win32@cygnus.com
Distribution: cygnus
Message-ID: <B0000001870.cygnus.gnu-win32@nt1.deerinet.nb.ca>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Original-To: "GNU-WIN32" <gnu-win32@cygnus.com>, "Wayne Davison" <wayne@clari.net>
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1160
Original-Sender: owner-gnu-win32@cygnus.com

> Is anyone else having trouble with "read" in a /bin/sh script?  The
code is 
> apparently reading extra newlines.  When the script starts it will
skip 
> three prompts, and then one each time after that.  

Yup :-( 
The first one seems to come from the bash prompt since it effects any
other programs I might run from bash, ie.. they all get a single <cr>
when I start them, and after that read itself seems to have the same
problem. I assume they both use the GNU readline lib to work, so
there might be some bug in there??? I haven't looked that far into it
myself.

-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
