From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 15406 invoked from network); 10 Nov 2022 01:00:37 -0000 Received: from zero.zsh.org (94.142.241.90) by inbox.vuxu.org with ESMTPUTF8; 10 Nov 2022 01:00:37 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1668042037; b=sqB7v+6Ee4TaEcb+xL7jp+01F3XoDexPqfD5E/srxkrCX1L2ROZPtW6GJ2+d/Z1swi1j9f2gGV cCzMj1tEW8sKE5uXW7lb04Gl0NbxinPNNbk2aDi8L0z2Zj2Nqh/kJTaFUosDwEnq0TG1Y1gOs+ UFQ78gTdrkHkgetqWbbK9uQhC9Gp0QDjvYipgMbQO7Mx7njn97rbVjsnE8kyOnhh2cc6oUgaIk /aCgW9X1iIE/R9UUMjUkZR7pZ6z1jO0naJqebRz2K9YzJrFAQhA8l/U5eOZP+LPv82MJXnNSYL GGHySXL37PiaojG/9HKbFL4KJvH62w8TeTkdxgHF3PPMIQ==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-ej1-f43.google.com) smtp.remote-ip=209.85.218.43; dkim=pass header.d=brasslantern-com.20210112.gappssmtp.com header.s=20210112 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1668042037; bh=d82F0VJU38SfKw4XpUlNRHgAY0UD5Cz5HzL/ZG07r5Y=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:Cc:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:DKIM-Signature:DKIM-Signature; b=ViXOojyHOw0pxKAruW2hsBonUhRgFna3jbgexXjXTb6SRl4tG0Q3DYxjWS3ChEg7roEZ/BhVvi OueGXYwu1FBf09ebPtDe7YFfneTmi5j+O2kH72O01iT0fSDtYLudoohQzXRO8DWv/9a0McIYv1 enNRF1IZH1CQPDVg6bvchI+jJi4wzR9W4Ifaeao6SWoCMFF/SLaKMkuMXR9NLvAbF7HdLMeqCb iHzVP/uZvgJ+5vmD0RfSFOCKxUpfdXmhnZAjYPsG8HoZ8CUFOVZ3qz5RyesHvJQXsG9GaQzRK0 P7XXXhqxPuoXSxzYYuhag7IemeBQ7nQU5hUlNxGS4pMZhg==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Type:Cc:To:Subject:Message-ID :Date:From:In-Reply-To:References:MIME-Version:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=ZJ9lZVy8g2l7uNW71rXlNvaPFTg9GVuW8GPf4Xh9VPo=; b=XpcbfqJnNPXUuPsYQVcN7nt+aD 5s+ENS3O32xzg/df6BYvM4XmGpZ4d7j+13FeYsvZL7n7oFvSzKwFlA6BFoJAOcxCzLVMAX0KliKaz I3uc7I+EMFo912PZG9NUuAlkIlf09DRMW9HxDS/h8ZoriizlUNd+/WSH74txcFm4fSYb47/rb7YCv VSSkbfrtWNpLRAs7//eiuUC2ohZ9vuqtcF+LTMOxDcGje1yHCXfo3HNWV7mXXklc9gO72G2zeMNiK 3Uo6GYpI4PBy+/IlsjLpzTCH5kOlYsOJol9UgejtS+6s7Rixc/4V8BEfJ+2Yb/Ito1icTTZaUyVN1 1ty9Rb6Q==; Received: by zero.zsh.org with local id 1osvvo-000JLQ-KT; Thu, 10 Nov 2022 01:00:36 +0000 Authentication-Results: zsh.org; iprev=pass (mail-ej1-f43.google.com) smtp.remote-ip=209.85.218.43; dkim=pass header.d=brasslantern-com.20210112.gappssmtp.com header.s=20210112 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none Received: from mail-ej1-f43.google.com ([209.85.218.43]:45981) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1osvvU-000J0u-TN; Thu, 10 Nov 2022 01:00:18 +0000 Received: by mail-ej1-f43.google.com with SMTP id ft34so1194005ejc.12 for ; Wed, 09 Nov 2022 17:00:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20210112.gappssmtp.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=ZJ9lZVy8g2l7uNW71rXlNvaPFTg9GVuW8GPf4Xh9VPo=; b=yRYGmtcSfhii+blW+L2w20vIR4LYNNLt8jI7lWMqAn55FJ4U4+5ERFOh+MTRrEI3lH XzXWuxNfkkmyZ+3x6Z35k1+OEyneAd7i+R9IldwIYMMmJH9+H3TOBBrW/yE8vMCUocve lBFdTD/NakXm+c9Ft6kZDFIRdgXfLGb9zdK2sE260jpV1r7FRot6I6knkjFxWx0QzJPf 2+Cvx3UM3T2RHMzAqCBqOfwwGONbSLslzBMWaGkYFjNc4XXSYOXWzfdax5cNavSF/6H0 zhbZZ66OVQjnVxZ3hpEkTej8r9tDicwOQHdedEnHyxWcyZuc1+3+AdftvWur02UPUA3W gWuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ZJ9lZVy8g2l7uNW71rXlNvaPFTg9GVuW8GPf4Xh9VPo=; b=FC0veke1+HFTo04edOvoTfOxy+fe8jM3qCTSsUHhlNR74P13PTQItq03GIilf6HwE2 rtsBFEBvQoIF+xQZvxNjekGDMqdlrKuaR5neDBt2aN/bmdPQqYaZA3/CkjAecD+UWDbH z2u4kdcBbYp5KQzsQodKJ3LkXlqSLAG28pjHmqjhx8Qbst2WWT1/J7hxwUWRYPzDqi9l sMtNUL2CyArYwXEcecRLzsq/ZhXvecQaCm5BHDn6MxbRm4k44ib7YtQHroWVGrkfc62f oAWTE8TxkKJE211CjIOacQrEMEER4TsFZI8c2+KGC4jxgx7PBgGyzT9+JSv+wn8wlFcd wAKA== X-Gm-Message-State: ACrzQf2qfHLYT93p8dDpYcKa7FbvuPVmXt/3BSbp7XTIieEAYIv87ph0 iSI8aRxP4tujJP86LvqEqas9I3XqikYyCqPkJmj/UA== X-Google-Smtp-Source: AMsMyM5AM2kZgVbCzUYdDDoIBYAjN3O/JfwiLTxYV0vacCGbdmEopPHOGAUpm1nUHJ3YOwCXrRm9ddWdoNTcNNLDPHo= X-Received: by 2002:a17:906:19ca:b0:78d:b7b3:8115 with SMTP id h10-20020a17090619ca00b0078db7b38115mr1890714ejd.699.1668042016410; Wed, 09 Nov 2022 17:00:16 -0800 (PST) MIME-Version: 1.0 References: <1edb7786-f0b2-4830-88fa-99a19bda39e2@app.fastmail.com> In-Reply-To: From: Bart Schaefer Date: Wed, 9 Nov 2022 17:00:04 -0800 Message-ID: Subject: Re: Inconsistent behavior of ERR_EXIT with conditionals To: Philippe Altherr Cc: zsh-workers@zsh.org Content-Type: text/plain; charset="UTF-8" X-Seq: 50926 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: , List-Subscribe: , List-Unsubscribe: , List-Post: List-Owner: List-Archive: On Wed, Nov 9, 2022 at 6:22 AM Philippe Altherr wrote: >> > If you think that ERR_EXIT achieves my goal, then it would be useful if you could give me an example of a legitimate use of/reliance on ERR_EXIT. I don't think ERR_EXIT achieves your goal, no, and I don't think it was intended to. One example of a legitimate use of ERR_EXIT is to implement (shelling out from) "make -k" where each command is distinct and you want the build process to stop if one step is incomplete. > If I fail to convince you that ERR_EXIT does not achieve my goal, then too we can stop the discussion. I'm going to stop responding anyway, because I'm not interested in the stated goal. If others want to pursue this discussion, please go ahead.