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]

HELP: Read in bash gives extra new-line


I use the usertools from cygnus v. 1.8 as in a shell script I use
something like

echo -n "Text"
read var
echo -n "Text2"
read var2

If I type a value for var followed by Enter then the next read-statement
is not correctly executed.

If  I type a value for var followed by a "\" then the second
read-statement is correctly executed.

What solutions are there?


-
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]