delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/04/10/09:46:16

From: micheles AT rmchost DOT bristol DOT st DOT com (Michele Sardo)
Subject: bash and read function
10 Apr 1998 09:46:16 -0700 :
Message-ID: <352DDD69.DC1265B8.cygnus.gnu-win32@rmchost.bristol.st.com>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

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 AT bristol DOT st DOT com
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019