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