zsh-workers
 help / color / mirror / code / Atom feed
From: Stephane Chazelas <stephane@chazelas.org>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: Zsh hackers list <zsh-workers@zsh.org>
Subject: Re: More typeset bugs: POSIX_BUILTINS
Date: Sun, 29 Nov 2020 20:12:46 +0000	[thread overview]
Message-ID: <20201129201246.z576arko6rlmr3pu@chazelas.org> (raw)
In-Reply-To: <CAH+w=7aYGZgF25Hypw=s31u5hfTT-Y+6pKzrCuD-1kB=1pShOg@mail.gmail.com>

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


       reply	other threads:[~2020-11-29 20:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAH+w=7aYGZgF25Hypw=s31u5hfTT-Y+6pKzrCuD-1kB=1pShOg@mail.gmail.com>
2020-11-29 20:12 ` Stephane Chazelas [this message]
2020-11-29 20:18   ` Bart Schaefer
2020-11-30 17:07     ` Bart Schaefer
2020-11-30 17:14     ` Stephane Chazelas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201129201246.z576arko6rlmr3pu@chazelas.org \
    --to=stephane@chazelas.org \
    --cc=schaefer@brasslantern.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).