Re: [bash-bug] [bash-bug] PIPESTATUS always returns only a single element

2010-08-16 Thread Dr. Werner Fink
On Fri, Aug 13, 2010 at 12:18:23PM +0200, Werner Fink wrote: > On Thu, Aug 12, 2010 at 05:37:55PM -0500, lstee...@gmail.com wrote: > > #!/bin/bash > > # > > # A script to test PIPESTATUS and pipefail > > # > > echo " cmd: set +o pipefail" > > echo " pipe: ps -ef 2>&1 | grep "^\$USR" >/dev/null"

Re: [bash-bug] PIPESTATUS always returns only a single element

2010-08-13 Thread Dr. Werner Fink
On Thu, Aug 12, 2010 at 05:37:55PM -0500, lstee...@gmail.com wrote: > Configuration Information [Automatically generated, do not change]: > Machine: x86_64 > OS: linux-gnu > Compiler: gcc -I/usr/src/packages/BUILD/bash-4.1 > -L/usr/src/packages/BUILD/bash-4.1/../readline-6.1 > Compilation CFLAGS: