zsh-workers
 help / color / mirror / code / Atom feed
From: Stephane Chazelas <stephane.chazelas@gmail.com>
To: Zsh hackers list <zsh-workers@zsh.org>
Subject: ["regression"] Stéphane=1 zsh -c 'echo $Stéphane'
Date: Tue, 6 Oct 2015 12:04:01 +0100	[thread overview]
Message-ID: <20151006110401.GA9868@chaz.gmail.com> (raw)

$ 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


             reply	other threads:[~2015-10-06 11:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-06 11:04 Stephane Chazelas [this message]
2015-10-06 15:44 ` ["regression"] Stéphane= 1 " Bart Schaefer
2015-10-06 18:59   ` 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=20151006110401.GA9868@chaz.gmail.com \
    --to=stephane.chazelas@gmail.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).