Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

["regression"] Stéphane=1 zsh -c 'echo $Stéphane'



$ 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