From: Bart Schaefer <schaefer@brasslantern.com>
To: Zsh hackers list <zsh-workers@zsh.org>
Subject: Re: ["regression"] Stéphane= 1 zsh -c 'echo $Stéphane'
Date: Tue, 6 Oct 2015 08:44:16 -0700 [thread overview]
Message-ID: <151006084416.ZM5546@torch.brasslantern.com> (raw)
In-Reply-To: =?iso-8859-1?Q?=3C20151006110401=2EGA9868=40chaz=2Egmail=2Eco?= =?iso-8859-1?Q?m=3E?= =?iso-8859-1?Q?Comments=3A_In_reply_to_Stephane_Chazelas_=3Cstephane=2Ech?= =?iso-8859-1?Q?azelas=40gmail=2Ecom=3E?= =?iso-8859-1?Q?________=22=5B=22regression=22=5D_St=E9phane=3D_1_zsh_-c_'?= =?iso-8859-1?Q?echo_$St=E9phane'=22_=28Oct__6=2C_12=3A04pm=29?=
This is discussed in the thread starting at workers/34004 and leading
up to workers/34015.
Nobody ever commented on whether the environment is allowed to contain
names with the high-order bit set, but POSIX identifiers cannot, so it
stands to reason you can't import something with that shape of name.
zsh -f -o posixidentifiers -c 'Stéphane=2; echo $Stéphane'
zsh:1: command not found: Stéphane=2
éphane
In effect the environment is always treated as POSIX_IDENTIFIERS.
POSIX_IDENTIFIERS <K> <S>
When this option is set, only the ASCII characters a to z, A to Z,
0 to 9 and _ may be used in identifiers (names of shell parameters
and modules).
next prev parent reply other threads:[~2015-10-06 15:44 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-06 11:04 ["regression"] Stéphane=1 " Stephane Chazelas
2015-10-06 15:44 ` Bart Schaefer [this message]
2015-10-06 18:59 ` ["regression"] Stéphane= 1 " ZyX
2015-10-06 19:29 ` Stephane Chazelas
2015-10-07 13:15 ` 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=151006084416.ZM5546@torch.brasslantern.com \
--to=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).