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
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
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
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
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.
___
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
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
[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