Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
["regression"] Stéphane=1 zsh -c 'echo $Stéphane'
- X-seq: zsh-workers 36803
- From: Stephane Chazelas <stephane.chazelas@xxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: ["regression"] Stéphane=1 zsh -c 'echo $Stéphane'
- Date: Tue, 6 Oct 2015 12:04:01 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:mail-followup-to:mime-version :content-type:content-disposition:content-transfer-encoding :user-agent; bh=ZbiHt6q2aapUr8WiqTPDjJsKvBGQoay4DXhvpamTg8k=; b=Kw8oOlA2oUFA66lwf13jVj8KXuQx7LxirJiaaYY0Jyrc/Sa9HXcvuIDvTb18g078wB Jr9IhoNR4PP3xfAskbKLKwIC/Kj/BzZDe+K+9xjWDdH+bt6rROQ2SJmcVBFdDkzvf9mV 9RaAnW99kwHu5W08mFZkxtJcOn9YlJ6Li/+xnhxO9F5mbkRw8hBeuJDTmszfRDJdGYQe y5wp2XEEsYS+8RSCSIlhL6WRIBl4hM/O/PMTRcDakG8c6FRevcELNNXycR5Z7jOrDhxa YUVZcvfVsrAIBDyDpA4NkHb5asG2wPDErBMadFwQPAmFw8dd1czHPNVzv80YK3Da5W+A hTFQ==
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mail-followup-to: Zsh hackers list <zsh-workers@xxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
$ zsh --version
zsh 5.0.2 (x86_64-pc-linux-gnu)
$ locale charmap
UTF-8
$ env Stéphane=1 zsh -c 'echo $Stéphane'
1
Now:
$ zsh --version
zsh 5.1.1 (x86_64-debian-linux-gnu)
$ env Stéphane=1 zsh -c 'echo $Stéphane'
$ env Stéphane=1 zsh -c 'Stéphane=2; export Stéphane; printenv Stéphane'
1
The change may have been intentional, but then why allow:
$ zsh -c 'Stéphane=2; echo $Stéphane'
2
(it looks like 5.0.2 had similar problems with a Stéphane env var in iso8859-1
locales).
--
Stephane
Messages sorted by:
Reverse Date,
Date,
Thread,
Author