Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: No pipefail option?



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