Re: make -j# for parallel build failed

2005-06-30 Thread William Park
On Thu, Jun 30, 2005 at 12:52:26AM +0200, Martin von Gagern wrote: > There was an issue reported and hopefully solved at gentoo: > http://bugs.gentoo.org/show_bug.cgi?id=87247 > http://www.gentoo.org/cgi-bin/viewcvs.cgi/app-shells/bash/files/bash-3.0-parallel.patch?rev=1.1&content-type=text/vnd.vie

LF becomes BACKSLASH LF in 'declare -p'

2005-06-30 Thread William Park
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' -DLOCALEDIR='/usr/local/share/locale' -DPACKA

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

2005-06-30 Thread Philippe Torche
Thanks to all. Per chance I can do my job by simple code change. Philippe. ___ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash

Re: Update on parent exiting after background command substitution

2005-06-30 Thread William Park
On Thu, Jun 30, 2005 at 08:57:07AM -0400, Chet Ramey wrote: > > Repeat-By: > > Begin an interactive bash session. > > Execute the command "$(:|:)&", without the quotes. > > Continue to execute the above command until the parent shell > > exits. > > This is a classic race condition. It

make -j# for parallel build failed

2005-06-30 Thread Martin von Gagern
There was an issue reported and hopefully solved at gentoo: http://bugs.gentoo.org/show_bug.cgi?id=87247 http://www.gentoo.org/cgi-bin/viewcvs.cgi/app-shells/bash/files/bash-3.0-parallel.patch?rev=1.1&content-type=text/vnd.viewcvs-markup This should probably be fixed upstream as well. ___

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

2005-06-30 Thread Paul Jarc
Philippe Torche <[EMAIL PROTECTED]> wrote: > aPipe='|' > eval echo 'titi' $aPipe grep toto | grep titi This is equivalent to: eval "echo titi | grep toto" | grep titi The whole eval counts as one pipeline element, regardless of what's inside it, so the top-level pipeline is only connecting two co

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

2005-06-30 Thread Chet Ramey
Philippe Torche wrote: > 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

Re: Update on parent exiting after background command substitution

2005-06-30 Thread Chet Ramey
[EMAIL PROTECTED] wrote: > 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' -DLOCA