From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14178 invoked by alias); 7 Oct 2013 00:36:53 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 31791 Received: (qmail 2524 invoked from network); 7 Oct 2013 00:36:39 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 From: Bart Schaefer Message-id: <131006173621.ZM31831@torch.brasslantern.com> Date: Sun, 06 Oct 2013 17:36:21 -0700 In-reply-to: <20131005223159.25fea6a0@pws-pc.ntlworld.com> Comments: In reply to Peter Stephenson "Re: No pipefail option?" (Oct 5, 10:31pm) References: <20131005223159.25fea6a0@pws-pc.ntlworld.com> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Re: No pipefail option? MIME-version: 1.0 Content-type: text/plain; charset=us-ascii [>workers] On Oct 5, 10:31pm, Peter Stephenson wrote: } } Indeed, if $pipestatus is working as advertised, it really ought to be } this simple... Unfortunately, $pipestatus is not working as advertised. See this thread from 2011: http://www.zsh.org/mla/workers/2011/msg01394.html In particular http://www.zsh.org/mla/workers/2011/msg01396.html http://www.zsh.org/mla/workers/2011/msg01470.html http://www.zsh.org/mla/workers/2011/msg01475.html http://www.zsh.org/mla/workers/2011/msg01476.html The patch mentined in msg01476 is here: http://www.zsh.org/mla/workers//2011/msg01472.html But it didn't resolve the issue, so I never committed it. The long and short of it is that pipestatus only works reliably when all the commands in the pipeline are external programs.