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,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY
autolearn=ham autolearn_force=no version=3.4.4
Received: (qmail 18064 invoked from network); 13 Apr 2021 16:12:28 -0000
Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368)
by inbox.vuxu.org with ESMTPUTF8; 13 Apr 2021 16:12:28 -0000
ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1618330348;
b=H1MT6nHkasJxeS8XddgVzOZeKc8Bi6bC1CWmbXTprvRy81T00Dh8GzCI6haoL/2JtXHpEi8yu5
iEdV50b+yqgiX62+4srxdMwB1lPf8fhowPnuxOKVJbkpySr7qac4kT9YSYmpc6bwHgnyqdIhM1
ijkJe4mzX0GoK5t2j2VpfenpB/WhzFGzioF/eH3lfEA20egih7DdQfQA1jjPpAJv6UvTAvOE4E
H3eYbEj3bhJIxLK2cHFVfoPKEaUKC4/hHRfUU/rbrK5ap3x1Jh/wqDM2s3cdKe2oHT1zVA8+Ax
BWQx/jNq0saBCqYbttmDLRUJXK4G/3naMUCPk/z1gwGSLg==;
ARC-Authentication-Results: i=1; zsh.org;
iprev=pass (smtpq2.tb.ukmail.iss.as9143.net) smtp.remote-ip=212.54.57.97;
dkim=pass header.d=ntlworld.com header.s=meg.feb2017 header.a=rsa-sha256;
dmarc=pass header.from=ntlworld.com;
arc=none
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1618330348;
bh=8hcVn8CuXKS5TZ4koo0FTHRiUQL5c4JESgUnJdbDZGQ=;
h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help:
List-Id:Sender:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:
References:In-Reply-To:Message-ID:To:From:Date:DKIM-Signature:
DKIM-Signature;
b=KTUeOM5DkKaBwYW7KFzrd+kc5fIJ9GbRa/zjvzEXk+yZ1Qpfu0PWG0y+lIXPFSo8i8dwV1UsG8
Pb44O6G5UZ2Y0eJ6JqgVts9nWeeY/SS0o4E5zjglzBWbDVOS4N+4EJ1C0P7ZtAXNYCvURUuFhF
k/lovvC6auLK39lruf/srxq+JbzRUtzlSZEUf3FDpjmnjRCsLf45xOqvv9dzR2fk0UqgIF+qk1
PuCGKYAJib1ZcDSWHmsuiSdoGv9qJrAblU3iCjRqLrp8Rzg5WQEibKkOoJGEdzMMiiTX1P3+8F
ccJjn1n9BcaqYg6OJHgU1HZutgboqozObvNYqZBBMqsgqQ==;
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org;
s=rsa-20200801; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:
List-Subscribe:List-Help:List-Id:Sender:Content-Transfer-Encoding:
Content-Type:MIME-Version:Subject:References:In-Reply-To:Message-ID:To:From:
Date:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From:
Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID;
bh=Je7/rbjaQkRUa2NgjbjL7tMAKe0djuQebm58qmgh2CE=; b=iMPKtM7DFP+1BPBscT07jxQdpK
C0Dbm7FZziTqXjQ0RAt2xbm4lmMXGzKfX/lY7hl6agh8jGQatEQ7HT2N9l4esUds9F/W3/pz1sHyZ
ezBHh2aaHigZba9Pcoxg/dT4r2A47KrxKnM/AsEPIwhlzMbjz5PuKqFUwv8KDGAnNnrnkcgrsrT/t
0k5y9TmbQX2/gRgJRbEzejZE75vbvAHd9WgjkXnmlWbUl1EJnPc/a3xiWbhxoRwtl9PmqBe66JfOz
5T0+8K40RM9imkRWPs1dMndt6htLzH3WV7yj0R/q1P4K6kckzFV+fuPu3FY0kUcvLfWrf7GVcbsb5
PtH5AMIA==;
Received: from authenticated user by zero.zsh.org with local
id 1lWLeM-0008p3-PN; Tue, 13 Apr 2021 16:12:26 +0000
Authentication-Results: zsh.org;
iprev=pass (smtpq2.tb.ukmail.iss.as9143.net) smtp.remote-ip=212.54.57.97;
dkim=pass header.d=ntlworld.com header.s=meg.feb2017 header.a=rsa-sha256;
dmarc=pass header.from=ntlworld.com;
arc=none
Received: from smtpq2.tb.ukmail.iss.as9143.net ([212.54.57.97]:38760)
by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128)
id 1lWLe6-0008ZE-TK; Tue, 13 Apr 2021 16:12:11 +0000
Received: from [212.54.57.80] (helo=smtp1.tb.ukmail.iss.as9143.net)
by smtpq2.tb.ukmail.iss.as9143.net with esmtp (Exim 4.86_2)
(envelope-from
)
id 1lWLe6-0001zL-5B
for zsh-workers@zsh.org; Tue, 13 Apr 2021 18:12:10 +0200
Received: from oxbe3.tb.ukmail.iss.as9143.net ([172.25.160.134])
by smtp1.tb.ukmail.iss.as9143.net with ESMTP
id WLe6l3ku5KqweWLe6lP5Zd; Tue, 13 Apr 2021 18:12:10 +0200
X-Env-Mailfrom: p.w.stephenson@ntlworld.com
X-Env-Rcptto: zsh-workers@zsh.org
X-SourceIP: 172.25.160.134
X-CNFS-Analysis: v=2.4 cv=IuR9zJzg c=1 sm=1 tr=0 ts=6075c2da cx=a_exe
a=rX2mKgs1IZJU9lF6pltyEQ==:117 a=DeGUKtW0en8A:10 a=IkcTkHD0fZMA:10
a=zAZwVUNnDPoA:10 a=bwBrBa9HN_yVQv4hTpMA:9 a=QEXdDO2ut3YA:10
X-Authenticated-Sender: p.w.stephenson@ntlworld.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ntlworld.com;
s=meg.feb2017; t=1618330330;
bh=8hcVn8CuXKS5TZ4koo0FTHRiUQL5c4JESgUnJdbDZGQ=;
h=Date:From:To:In-Reply-To:References:Subject;
b=qppcrcXfaVYEt6lSHOe0f7xnUjIknRSPtnQ6B0Uo/wryeshJfpjYxh3RX6L9P9OVx
LpCZY7jayogXcyCiIFRq4mHX3ZzeD9teB6cQtyjEuXEkxLilpox9PUOsN+wv/CkcLc
wPfjlyKWqCgynCHlCpOzC/nN80qU5CgJKXD44mzDlQnT+ZnPpY/pdDHodwdTt+1Zk0
+vX6JRWF5QYhm23T2OdtAye2BtIHoe3br9mTdD8n8z1MEqDIBYP3YHb7+fQ9oTPokk
DfN6seaGFLE5GDasBEzP83IG7zX/IXTcMhRXpLh0Ca1HI2jFV3m74uCQVRHHHEeLVh
+7COAy0b0uDHw==
Date: Tue, 13 Apr 2021 17:12:09 +0100 (BST)
From: Peter Stephenson
To: Zsh hackers list
Message-ID: <2121124073.152379.1618330330045@mail2.virginmedia.com>
In-Reply-To: <20210413160149.GT6819@tarpaulin.shahaf.local2>
References: <7FD930F4-37CD-402B-9A06-893818856199@dana.is>
<20210413160149.GT6819@tarpaulin.shahaf.local2>
Subject: Re: [PATCH] Document imperfections in POSIX/sh compatibility
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Priority: 3
Importance: Medium
X-Mailer: Open-Xchange Mailer v7.8.4-Rev72
X-Originating-IP: 165.225.81.25
X-Originating-Client: open-xchange-appsuite
X-CMAE-Envelope: MS4xfHV3sIrSn6tN4TjVvUHaFuiSCH8/FwvrWtPzHsmGNnvkG0vfyRGqLB3wpF09gtkmQ7zlCHxpAXS7u3PfXElizi5n+zynjPDcrpkHfbX7uG0YEE1sM/uK
rye3pFBfmK0FKyHCHWHkNtVfOZHqAT4tDo47z+54O1D9WoHcupqbVwhi2cbUVc9NTz5kbM8o6x2LfEzuPpqQn+0xtnZrI1BQObw3Yg3FQV2+7/54b94EqsEh
X-Seq: 48538
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 13 April 2021 at 17:01 Daniel Shahaf wrote:
> dana wrote on Sat, Apr 10, 2021 at 18:31:31 -0500:
> > +Please note that zsh's emulation of other shells, as well as the degree
> > +of its POSIX compliance, is provided on a `best effort' basis. Full
> > +compatibility is not guaranteed, and is not necessarily a goal of the
> > +project.
>
> I'm concerned that saying "is not necessarily a goal of the project"
> might discourage people from even reporting bugs in the first place.
> No objection to setting expectations, of course, but could we phrase it
> differently? E.g., by documenting a list of known incompatibilities
> that won't be fixed?
This is certainly a good point.
The classic list of differences is in the FAQ, "how does zsh differ from..>".
It refers to "sh", implying the classic Bourne shell, rather than POSIX,
but this is probably the right starting point. I think referring to the
FAQ here is probably the right thing to do --- it simultaneously makes
the points that (i) we are in principle interested (ii) it's not, however,
necessarily something that's ultimately going to be dealt with in the
shell itself.
pws