Subject: bash and read function
From: [email-masked] (Michele Sardo)

10 Apr 1998 09:46:16 -0700
Message-ID: <[email-masked]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: [email-masked]

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: [email-masked]
-
For help on using this list (especially unsubscribing), send a message to
"[email-masked]" with one line of text: "help".