Re: bash/read built-in function

2001-11-26 Thread martin f krafft
* Osamu Aoki <[EMAIL PROTECTED]> [2001.11.24 23:52:38-0800]: > > is this because the pipe really just spawns another shell and thus the > > variable $b of the spawning shell is preserved? or is this a bug? > > This has to do with the parent-child relationship between Unix > processes. It affects

Re: bash/read built-in function

2001-11-25 Thread Osamu Aoki
On Sat, Nov 24, 2001 at 12:21:01AM +0100, martin f krafft wrote: > bash-2.05$ echo "hello, world, this is ANOTHER test" | read a b > bash-2.05$ echo $b > world, this is a test > > is this because the pipe really just spawns another shell and thus the > variable $b of the spawning shell is preser

bash/read built-in function

2001-11-23 Thread martin f krafft
can someone shed some light on this, please? (indented to facilitate reading) bash-2.05$ bash --version GNU bash, version 2.05.0(1)-release (i386-pc-linux-gnu) Copyright 2000 Free Software Foundation, Inc. bash-2.05$ dpkg -l bash | grep bash ii bash 2.05-10The GNU Bourne A