From: Herbert Xu <herbert@gondor.apana.org.au>
To: Chris Novakovic <chris@chrisn.me.uk>
Cc: dash@vger.kernel.org
Subject: Re: [PATCH] jobs: Implement pipefail option
Date: Fri, 5 Apr 2024 18:19:33 +0800 [thread overview]
Message-ID: <Zg/QNZ9xxQ1t4lFV@gondor.apana.org.au> (raw)
In-Reply-To: <20220422211013.18195-1-chris@chrisn.me.uk>
On Fri, Apr 22, 2022 at 10:10:13PM +0100, Chris Novakovic wrote:
> With the pipefail option set, a pipeline's exit status is the exit
> status of the rightmost command that failed, or zero if all commands
> succeeded.
>
> This is planned for inclusion in the next revision of POSIX [1],
> although the details are yet to be finalised. The semantics of this
> implementation are the same as those proposed in [2], which have also
> been adopted by the BSD shells.
>
> [1] https://www.austingroupbugs.net/view.php?id=789
> [2] https://www.austingroupbugs.net/view.php?id=789#c4115
> ---
> src/dash.1 | 31 ++++++++++++++++++++++++-------
> src/jobs.c | 9 ++++++++-
> src/options.c | 2 ++
> src/options.h | 5 +++--
> 4 files changed, 37 insertions(+), 10 deletions(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
prev parent reply other threads:[~2024-04-05 10:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-22 21:10 [PATCH] jobs: Implement pipefail option Chris Novakovic
2023-01-08 0:34 ` Trevor Gross
2023-01-08 1:20 ` Lawrence Velázquez
2024-04-05 10:19 ` Herbert Xu [this message]
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=Zg/QNZ9xxQ1t4lFV@gondor.apana.org.au \
--to=herbert@gondor.apana.org.au \
--cc=chris@chrisn.me.uk \
--cc=dash@vger.kernel.org \
/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.
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 read-only IMAP folder(s) and NNTP newsgroup(s).