Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: More typeset bugs: POSIX_BUILTINS
- X-seq: zsh-workers 47703
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: More typeset bugs: POSIX_BUILTINS
- Date: Sun, 29 Nov 2020 12:18:29 -0800
- Archived-at: <https://zsh.org/workers/47703>
- Archived-at: <http://www.zsh.org/sympa/arcsearch_id/zsh-workers/2020-11/CAH%2Bw%3D7aZ40Dnff8%2Bn%2B7xFqm_7Bg_OMr3oyKDc2nrLzAsSkoqmQ%40mail.gmail.com>
- Authentication-results: zsh.org; iprev=pass (mail-ot1-f41.google.com) smtp.remote-ip=209.85.210.41; dkim=pass header.d=brasslantern-com.20150623.gappssmtp.com header.s=20150623 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=tH7c2w7Llm90gEC87cabzQ14Qo/G91OH9oeY7yZjExE=; b=ha0IoBY1CfjMYjwyIev9If9djkqK3vXnVg0zLmT0svs6EJnB8ntt3aUuZ+OOrm+pRE t9YlgZL1QvbqpHuANtCBvPCQHEI22qubp4N0f1MVgcTi5xQ9tQmVx4H/WkBe83+KOKpl Fi/c8EZUzMeTOzXCGvqndfc+EL/zbedAnNq8U87reCvGnzeOcE7ZcL9IHJwu0c7bnyGn af5uxYuUhgZjaXr1CvOj+GbBdr73g4074WZHms5ZIgwauq4f34v71gsPx9D03SUY7OfW PeCKeNHJtAaZxmPyBEibQynTKt3zsF0GwmcHZVTfoq7akI58kO+Jz4XqaLKpDWiOLZMF E6bQ==
- In-reply-to: <20201129201246.z576arko6rlmr3pu@chazelas.org>
- List-archive: <http://www.zsh.org/sympa/arc/zsh-workers>
- List-help: <mailto:sympa@zsh.org?subject=help>
- List-id: <zsh-workers.zsh.org>
- List-owner: <mailto:zsh-workers-request@zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-subscribe: <mailto:sympa@zsh.org?subject=subscribe%20zsh-workers>
- List-unsubscribe: <mailto:sympa@zsh.org?subject=unsubscribe%20zsh-workers>
- References: <CAH+w=7aYGZgF25Hypw=s31u5hfTT-Y+6pKzrCuD-1kB=1pShOg@mail.gmail.com> <20201129201246.z576arko6rlmr3pu@chazelas.org>
- Sender: zsh-workers-request@xxxxxxx
On Sun, Nov 29, 2020 at 12:12 PM Stephane Chazelas
<stephane@xxxxxxxxxxxx> wrote:
>
> FWIW, though I'd agree it's a bug, it's not a POSIX
> non-compliance as the behaviour for "readonly/export -p var" is
> unspecified by POSIX, POSIX only specifies "readonly/export -p"
> without arguments.
Both bash and ksh ignore -p for readonly/export when there are any
non-option arguments, and therefore create/assign the named variables.
So this is at least a ksh emulation incompatibility.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author