[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug in bash-2.04 (command read)

From: Joachim Backes
Subject: Bug in bash-2.04 (command read)
Date: Wed, 15 Nov 2000 15:06:16 +0100 (CET)


there seems to be a bug in the builtin command "read":


        echo 1 2 3 | read a b d

After this, I expect the values 1, 2 and 3 in the bash vars a, b and d, but all 
3 vars
are left empty.

If I try:

        echo 1 2 3 >xxxxx; read <xxxxx a b d

then all is OK.

My platform: IRIX 6.5.9 or RH Linux 7.0.
Compiler: gcc 2.95.2


Joachim Backes


Joachim Backes <address@hidden>       | Univ. of Kaiserslautern
Computer Center, Supercomputing Division     | Phone: +49-631-205-2438 
D-67653 Kaiserslautern, PO Box 3049, Germany | Fax:   +49-631-205-3056 
WWW: http://hlrwm.rhrk.uni-kl.de/home/staff/backes.html  

reply via email to

[Prev in Thread] Current Thread [Next in Thread]