From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24649 invoked by alias); 4 Oct 2013 16:00:43 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 18017 Received: (qmail 11288 invoked from network); 4 Oct 2013 16:00:38 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW, T_TO_NO_BRKTS_FREEMAIL autolearn=ham version=3.3.2 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== X-Received: by 10.68.189.163 with SMTP id gj3mr15414223pbc.102.1380902432263; Fri, 04 Oct 2013 09:00:32 -0700 (PDT) MIME-Version: 1.0 From: Shawn Halpenny Date: Fri, 4 Oct 2013 08:59:49 -0700 Message-ID: Subject: No pipefail option? To: zsh-users@zsh.org Content-Type: multipart/alternative; boundary=e89a8ff1ccd2f1da2604e7ec6602 --e89a8ff1ccd2f1da2604e7ec6602 Content-Type: text/plain; charset=UTF-8 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 --e89a8ff1ccd2f1da2604e7ec6602--