From: "Stephen Ng" <stephenng@alum.mit.edu>
To: zsh-users@math.gatech.edu
Subject: error value from pipe
Date: Tue, 25 Aug 1998 14:23:15 -0400 [thread overview]
Message-ID: <199808251823.OAA16128@chmls05.mediaone.net> (raw)
In-Reply-To: <980825104831.ZM15886@candle.brasslantern.com>
I have an enhancement request for zsh:
When piping a series of commands, e.g.
cat X | sort
zsh apparently only lets you access the error status of the last
command in the pipe; I need to know if any command in the pipe
has failed.
(Bash will let you access the error codes for any command in the
pipe as an array, which is overkill for me--I just need to know if any
of the commands returned a non-zero value.)
Stephen Ng
next prev parent reply other threads:[~1998-08-25 18:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-08-25 15:29 Completion for gtar Bruce Stephens
1998-08-25 17:48 ` Bart Schaefer
1998-08-25 18:23 ` Stephen Ng [this message]
1998-08-26 10:12 ` Bruce Stephens
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=199808251823.OAA16128@chmls05.mediaone.net \
--to=stephenng@alum.mit.edu \
--cc=zsh-users@math.gatech.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).