This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
bash and read function
- To: gnu-win32 at cygnus dot com
- Subject: bash and read function
- From: Michele Sardo <micheles at rmchost dot bristol dot st dot com>
- Date: Fri, 10 Apr 1998 10:50:49 +0200
- Organization: SGS-Thomson Microelectronics Ltd
Hi,
I've installed Cygnus WIN32 B19 package on NT 4.0 SP3 machine.
Running the bash on NT window give me some trouble with the
read builtin function.
If I do two read consecutively the first one is completed OK while the
second one return immediately
setting to nothing the variable.
> Cygnus Cygwin32 B19
> Read .bashrc
> bash-2.01$ read xx
> Hello
> bash-2.01$ echo $xx
> Hello
> bash-2.01$ read xx
> bash-2.01$ echo $xx
>
> bash-2.01$
Doing the same experiment on an rxvt window under an Xserver will work
OK.
Does someone know what is wrong?
--
Michele Sardo
STMicroelectronics
Torre Galiera, Strada Statale 114, 95121 Catania, Italy ?
email: micheles@bristol.st.com
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".