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.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 26150 invoked from network); 1 Dec 2022 19:30:58 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 1 Dec 2022 19:30:58 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1669923058; b=QrMtcZIaN/1wJchvgsB8u5VJzqbnXI7solhhBahyEADnMfEgmxabeTGsheoMAsolivf7ChC0sc 0aRhk3aMRXpn+TbR8QDxsEMaQxzFew+xa4bQIv6zBU4Ch3Dtk5gmvatr12G3wme+b82cEqg+/2 W/tRCyR2CsiOSI89F5R242h4NFc8wsdCmgDguwrQ0eEfzQ6gbhhqqkvpZrJhHJpyYf8L7e4Blm UZaOynPWTOgqUrZAv8xC4xLExXdCjiRl3QhpoPTv8BozhWJDh3KpyXJ7PctiHuRL63LHZXNC0R 5dZZykElXtkYQdPLsKte1yrfUGuGXoKELb+zXkXgNcBG9w==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-vs1-f48.google.com) smtp.remote-ip=209.85.217.48; dkim=pass header.d=gmail.com header.s=20210112 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1669923058; bh=fqPB9TPjyuCDPzy3/pPivCbbDyJrmy8dawAonhtUZvA=; 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=EVRzLmCpx+sxF2dDXKKRnmclxgL6YW9xIOOFiwCLH3OV1hkHZz84IMLAEt1NkxbImUt8bkCLh8 4Ke6bwA/GvNkOcKc+fHzN9TJStKtqSwwi/DRkp+KMIVkJfLFJFbWDj2gX7GyL5VnL0CdhJNJw6 F7bqCk6QoY1oP+onOQQEtwVmUf1MWXZvThy1vaNxHlx6zsJoxEUlnqjij9xMQCfF4+YkPHQuEV FMFMr2oLATe1F9IoqQzaF0Vwryw3V2SgMu5ElTcMroxun+EXvClCrx2GiiFM+XpED6EKh0zk8x fKO1b4mU0wpRnVKtQLet48ozSXzIMsALer5heC4ewq69mg==; 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=fqPB9TPjyuCDPzy3/pPivCbbDyJrmy8dawAonhtUZvA=; b=mtnc9SHYK0pjwGvkVHArfowwq7 kc2gjRGWOckRq2BryJsTWcXUSSN/lKFa51/bIorB8SFJYbrUE7fU4mpjFZ2u+ZetW2YSkJ+j5hsa0 03GuJRNDD91I1Bn4AiRlmyS/2Ach56PaKRIJZkS4jkKb8L4bpOZyKcQw18oySSGd3bcPw9rnA7NIC AuCc7Jr85OUCdcNk7EiuqSp1isWx1H3LcNWkEykpMi6u7iR4Ct7M+M7GmdjQtrWtbf46t3QE0wWo/ uv1w69+UY2H+MgQ9ugoAPrIISHEQFMU+QyWrG6T+aP/R9uzfExHv1pTySs5UrFM8t8HozXGLMjR2L vs1BbGcA==; Received: by zero.zsh.org with local id 1p0pGq-0005Ft-8z; Thu, 01 Dec 2022 19:30:56 +0000 Authentication-Results: zsh.org; iprev=pass (mail-vs1-f48.google.com) smtp.remote-ip=209.85.217.48; dkim=pass header.d=gmail.com header.s=20210112 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none Received: from mail-vs1-f48.google.com ([209.85.217.48]:33753) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1p0pGV-0004wG-UC; Thu, 01 Dec 2022 19:30:36 +0000 Received: by mail-vs1-f48.google.com with SMTP id d185so2656286vsd.0 for ; Thu, 01 Dec 2022 11:30:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.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=fqPB9TPjyuCDPzy3/pPivCbbDyJrmy8dawAonhtUZvA=; b=gn/Nw0hdK0S3dgpRgv4zK1jrYbFhPymjX+feLBaUySFVu1roPt1k7nlfR3EOglVbBx /nkzH8AmBzE3ZZGEVkzcruSpg6IaQx3nYiN5HgfM2NhVY+vue7oQS8p4hBpjRobjQIfF y0ZULZ+oZfMUKh4dmt8i5pumX+dPHUMMIEni223nAEp77xkKDfC5HJhtpCVvYJLDM7eW JyTUX1Ac2WySnHFLqAKEBPwR5E9YeIIgNzKIFahC3NLGOJjuRkWo0Q45/EjF4b28R9Ol qRvB/wOxUJrUO+oLp89cd9oqCgdTKB+s2lrHj9vEd5cyLBmiGQJJ+ns3MYwE3KIIOiF5 uMpw== 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=fqPB9TPjyuCDPzy3/pPivCbbDyJrmy8dawAonhtUZvA=; b=KWzVYn4Kz/zqs6ahvv4tF1FQUZrJM7n+2NaunXpHIVamz3AA4JVKdCniVtjCrxZEXF 6RoODkS766KS8SOnSoD41xeSJCSw35FQiT6L72fAf6f9fp2FFPzAI9BWM7Sa2Luz2ty8 WlW9+Ab3j5RRPj4cY/HI29YVzm0RPqiJFHqDzScw0CmIemA+eCCGzNVrpy2Q/RY2XWNX pTtiJ+CRTAol7+FN1maYKGCsSil0oGdwxR/o1UiuipbtH7WOk9fIq7fF8ohH9uxQVdsO R+X/eapvNlwzXOt/7yiSvAcJ7Vlko0Gpw73BfElR7lhi/7RcPXCCWHNy9/gVNGFABljw NEbA== X-Gm-Message-State: ANoB5pk93OygoQrcjCvhp8eiyUnhrwH7Mm1SkG8w+F6KLsxgumopHMrY uiJw5mryFEeuMLDBpWJW/rnNWI7D/bLc/CYodKTwdHTC X-Google-Smtp-Source: AA0mqf4Mk/jIHUSwEsNZg5nZO9WxkR4VpIhBa1ghxC5Y4ZsgRps7Gk4UybL5UyKgzP8GOn8EuDk53pJqXjIZBApwbxQ= X-Received: by 2002:a05:6102:226d:b0:3b0:a8f7:5ead with SMTP id v13-20020a056102226d00b003b0a8f75eadmr12039029vsd.29.1669923034572; Thu, 01 Dec 2022 11:30:34 -0800 (PST) MIME-Version: 1.0 References: <5d0c4e22-80b0-2fd2-ee75-6902da52d121@eastlink.ca> <57e8e248-bb1a-663a-8557-e3fc13f671d4@eastlink.ca> In-Reply-To: From: Philippe Altherr Date: Thu, 1 Dec 2022 20:30:22 +0100 Message-ID: Subject: Re: ERR_RETURN doc To: Bart Schaefer Cc: Zsh hackers list Content-Type: multipart/alternative; boundary="000000000000472e5b05eec94116" X-Seq: 51090 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: --000000000000472e5b05eec94116 Content-Type: text/plain; charset="UTF-8" Yep, that remains correct. Same for ERR_EXIT. Most(/All?) of the patches address cases where the implementation wasn't following the specification. The patch about the always statement makes it behave like compound statements. Since the always statement isn't part of POSIX, this could be seen either as a bug fix or a spec change (but rather of the always statement than of ERR_EXIT). Philippe On Thu, Dec 1, 2022 at 5:30 PM Bart Schaefer wrote: > On Thu, Dec 1, 2022 at 6:42 AM Philippe Altherr > wrote: > > > > https://zsh.sourceforge.io/Doc/Release/Options.html#index-ERRRETURN. > > Will that doc remain correct with respect to what it says about > ERR_EXIT after recent patches are considered? > > (Still on my TODO list, have been busier than I expected so far this week.) > --000000000000472e5b05eec94116 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Yep, that remains correct. Same for ERR_EXIT.

Most(/All?) of the patches address cases where the implementation wa= sn't following the specification.

The patch ab= out the always statement makes it behave like compound statements. Since th= e always statement isn't part of POSIX, this could be seen either as a = bug fix or a spec change (but rather of the always statement than of ERR_EX= IT).

Philippe


On Thu, Dec 1, 2= 022 at 5:30 PM Bart Schaefer <schaefer@brasslantern.com> wrote:
On Thu, Dec 1, 2022 at 6:42 AM Philippe Altherr=
<philipp= e.altherr@gmail.com> wrote:
>
> https://zsh.sourceforge.io/D= oc/Release/Options.html#index-ERRRETURN.

Will that doc remain correct with respect to what it says about
ERR_EXIT after recent patches are considered?

(Still on my TODO list, have been busier than I expected so far this week.)=
--000000000000472e5b05eec94116--