Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: More typeset bugs: POSIX_BUILTINS
- X-seq: zsh-workers 47702
- From: Stephane Chazelas <stephane@xxxxxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: More typeset bugs: POSIX_BUILTINS
- Date: Sun, 29 Nov 2020 20:12:46 +0000
- Archived-at: <https://zsh.org/workers/47702>
- Archived-at: <http://www.zsh.org/sympa/arcsearch_id/zsh-workers/2020-11/20201129201246.z576arko6rlmr3pu%40chazelas.org>
- Authentication-results: zsh.org; iprev=pass (relay8-d.mail.gandi.net) smtp.remote-ip=217.70.183.201; dmarc=none header.from=chazelas.org; arc=none
- Cc: Zsh hackers list <zsh-workers@xxxxxxx>
- In-reply-to: <CAH+w=7aYGZgF25Hypw=s31u5hfTT-Y+6pKzrCuD-1kB=1pShOg@mail.gmail.com>
- 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>
- Mail-followup-to: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>, Zsh hackers list <zsh-workers@xxxxxxx>
- References: <CAH+w=7aYGZgF25Hypw=s31u5hfTT-Y+6pKzrCuD-1kB=1pShOg@mail.gmail.com>
- Sender: zsh-workers-request@xxxxxxx
2020-11-29 10:19:44 -0800, Bart Schaefer:
> In printparamnode is this comment:
>
> * Special POSIX rules: show the parameter as readonly/exported
> * even though it's unset, but with no value.
[...]
> % readonly -p OUTER
[...]
> % export -p INNER
[...]
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.
AFAICT, zsh and yash are the only shells that output the
definition of HOME in export -p HOME.
--
Stephane
Messages sorted by:
Reverse Date,
Date,
Thread,
Author