Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: No pipefail option?
- X-seq: zsh-workers 31791
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: No pipefail option?
- Date: Sun, 06 Oct 2013 17:36:21 -0700
- In-reply-to: <20131005223159.25fea6a0@pws-pc.ntlworld.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CADv1Z=pM7H4Xg9+GyWd4zw0cv0mXfbJvqip6vc7e_yrXRN=1sg@mail.gmail.com> <20131005223159.25fea6a0@pws-pc.ntlworld.com>
[>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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author