Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: ["regression"] Stéphane= 1 zsh -c 'echo $Stéphane'
- X-seq: zsh-workers 36805
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: ["regression"] Stéphane= 1 zsh -c 'echo $Stéphane'
- Date: Tue, 6 Oct 2015 08:44:16 -0700
- In-reply-to: <20151006110401.GA9868@chaz.gmail.com>Comments: In reply to Stephane Chazelas <stephane.chazelas@gmail.com> "["regression"] Stéphane= 1 zsh -c 'echo $Stéphane'" (Oct 6, 12:04pm)
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20151006110401.GA9868@chaz.gmail.com>
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).
Messages sorted by:
Reverse Date,
Date,
Thread,
Author