From: Peter Stephenson <p.w.stephenson@ntlworld.com>
To: zsh-workers@zsh.org
Subject: Re: syntax check of 'echo $HOME' crashes in ksh emulation mode
Date: Tue, 6 Oct 2015 20:46:54 +0100 [thread overview]
Message-ID: <20151006204654.09781f00@ntlworld.com> (raw)
In-Reply-To: <151006083446.ZM5523@torch.brasslantern.com>
On Tue, 6 Oct 2015 08:34:46 -0700
Bart Schaefer <schaefer@brasslantern.com> wrote:
> } (ii) It's not clear how safe the above is, as this case shows. However,
> } it's definitely not safe to skip the tests in assignstrvalue() either
>
> Do you mean that even for no_exec we should not be bailing out this
> early in assignstrvalue()?
It's not really clear, but ending up with NULL values in parameters
seems a bad thing. However, I dare see we can fix things up as the occur.
It's not very helpful.
The shell shall read commands but does not execute them; this can be
used to check for shell script syntax errors. An interactive shell
may ignore this option.
But I think there is an argument for setting environment variables in
full.
pws
next prev parent reply other threads:[~2015-10-06 19:52 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-05 16:09 Kamil Dudka
2015-10-05 16:42 ` Peter Stephenson
2015-10-05 17:45 ` Bart Schaefer
2015-10-06 8:33 ` Peter Stephenson
2015-10-06 9:15 ` Peter Stephenson
2015-10-06 15:34 ` Bart Schaefer
2015-10-06 19:46 ` Peter Stephenson [this message]
2015-10-07 8:26 ` Peter Stephenson
2015-10-08 12:13 ` Kamil Dudka
2015-10-05 20:45 ` Axel Beckert
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=20151006204654.09781f00@ntlworld.com \
--to=p.w.stephenson@ntlworld.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).