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

Re: Slightly OT: Error-Handling in a Pipeline, preferably non-zsh



On Sun, 15 Aug 2004, Aaron Davies wrote:

> On Sunday, August 15, 2004, at 11:03 PM, Philippe Troin wrote:
> 
> > Use your first idiom and check $pipestatus[4].
> 
> Thanks, that seems to solve it (though it's [3], not [4]).

If you have the KSH_ARRAYS option set, it's best to say so when asking for
help on this list, or you're going to see a lot of this kind of "mistake."



Messages sorted by: Reverse Date, Date, Thread, Author