Re: failure in pipeline not reflected in $?

2005-08-25 Thread Paul Jarc
[EMAIL PROTECTED] wrote: If a command in a pipeline of commands fails, there appears to be no way of knowing this. Check the man page regarding the PIPESTATUS array. paul ___ Bug-bash mailing list Bug-bash@gnu.org

Re: failure in pipeline not reflected in $?

2005-08-25 Thread Chris F.A. Johnson
On Wed, 24 Aug 2005 [EMAIL PROTECTED] wrote: Configuration Information [Automatically generated, do not change]: Machine: i586 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i586' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i586-mandrake-linux-gnu'

Re: failure in pipeline not reflected in $?

2005-08-25 Thread Jason Pepas
Thanks! Sorry to waste your time with something which was in the man page afterall. This is exactly what I was looking for. -jason pepas On Thu, Aug 25, 2005 at 02:02:40AM -0400, Chris F.A. Johnson wrote: On Wed, 24 Aug 2005 [EMAIL PROTECTED] wrote: Configuration Information [Automatically