Re: Problem with array initialization in typeset.

2005-06-29 Thread Chet Ramey
Steven W. Orr wrote: > Configuration Information [Automatically generated, do not change]: > Machine: i386 > OS: linux-gnu > Compiler: i386-redhat-linux-gcc > Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i386' > -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i386-redhat-linux-gnu' > -DCONF_

Re: Running multiple processes using trap and kill -s

2005-06-29 Thread Chet Ramey
Sammo wrote: > 2.05b.0(1)-release > > I seem to be having problems with one of the examples in the Advanced > Bash Scripting Guide [1]. The script is supposed to start a specified > number of processes, and when each process finishes, it sends a trap > signal, which starts a new process. I think t

Bad PIPESTATUS when using eval with a pipe stored in a variable

2005-06-29 Thread Philippe Torche
The following script use eval with 3 pipes, 1st time with direct pipe on the command line, and the 2nd time with a pipe in a variable. In this second eval, the PIPESTATUS does not content 3 entries, but only 2. cat <<'EOF' > eval_pipe.sh #!/bin/env bash set -u eval echo 'titi' | grep toto | grep