[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
{stmts} don't read from pipe?
From: |
Mudd, John |
Subject: |
{stmts} don't read from pipe? |
Date: |
Tue, 27 Aug 2002 11:47:40 -0400 |
Configuration Information [Automatically generated, do not change]:
Machine: i686
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i686'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-pc-linux-gnu'
-DCONF_VENDOR='pc' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include
-I./lib -g -O2
uname output: Linux utah.imagesoft-technologies.com 2.2.17-8 #1 Fri Nov
17 16:22:25 EST 2000 i686 unknown
Machine Type: i686-pc-linux-gnu
Bash Version: 2.05b
Patch Level: 0
Release Status: release
Description:
The statements in {} don't read from the pipe. The same happens in
version 2.04.11(1).
Repeat-By:
$ cat bashBug.sh
echo 'aaaaa
bbbbb' |
{
read a
read b
}
echo "a=[$a]"
echo "b=[$b]"
$ ksh bashBug.sh
a=[aaaaa]
b=[bbbbb]
$ bash bashBug.sh
a=[]
b=[]
$
- {stmts} don't read from pipe?,
Mudd, John <=