Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
No pipefail option?
- X-seq: zsh-users 18017
- From: Shawn Halpenny <paxunix@xxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: No pipefail option?
- Date: Fri, 4 Oct 2013 08:59:49 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=GP/DBIAfmvDcRMi/lfGPJAUTAG5md5M6i9qzykFKrV0=; b=KZhGKOnyggBQ34fWXWheeQ+NImUPXSRB2R/5KiJfm/Q4L9iZT7fihwQWBv5Vu1+wzE n7sumKFQ5nlxVZbw1l8O4aTP4znXPWgm9kX4EC1MGm79zM8FC3ubwngEFn/oVVY1deq1 CfzWOxwSHhl+FnKF4gysbJ+ur1+LqJy10cSGTZUfy2eOeUFmovEl/Bz848vdyvVmqphq 71ud/PxbdZZpOVs9ZkLZ6SsNb302vvZyN/yuZbQRRFjjwMXI+zjzx0BCaqAehhZbghl7 zUBHFrsbP/+vhjfZxBeu/7trFLjZewQcj54wHFScyecaddJO6nJVi1iAd1SSHielCtfC HPGQ==
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
It seems like it would be a good bash-compatibility option to have
available. I know we can check $pipestatus, but often I simply want to
abort the script if any command in the pipeline failed without having to do
an explicit check (similarly to how the errexit option works). Explicit
checks too easily get forgotten or overlooked or even just implemented
incorrectly.
--Shawn
Messages sorted by:
Reverse Date,
Date,
Thread,
Author