From: Dan Nelson <dnelson@emsphone.com>
To: Norman.Azadian@swisscom.com
Cc: zsh-users@sunsite.auc.dk
Subject: Re: uppercase inheritance
Date: Fri, 10 Dec 1999 11:21:44 -0600 [thread overview]
Message-ID: <19991210112144.A670@dan.emsphone.com> (raw)
In-Reply-To: <894F73B43295D211B7B20000F807EA88ED80D0@sbe0461.swissptt.ch>; from "Norman.Azadian@swisscom.com" on Fri Dec 10 16:41:26 GMT 1999
In the last episode (Dec 10), Norman.Azadian@swisscom.com said:
> I've tried this under version 3.1.6 (on HP-UX version 11.0):
>
> = typeset -u -x aaa=bbb
> = echo $aaa
> BBB
> = zsh
> = echo $aaa
> bbb
> =
>
> Am I missing something, or has ZSH neglected to pass on the uppercase
> property to the subshell? I get the same results when the HP posix
> sh is the subshell. When I do the entire experiment with sh, I get
> the expected results ($aaa is always BBB).
There's no way zsh can pass 'typeset' options to subshells, since all
it can pass are the variable names and contents via "char **envp". It
looks like zsh leaves the variable as-is, and only uppercases it for
display. Sounds like a zsh bug.
--
Dan Nelson
dnelson@emsphone.com
prev parent reply other threads:[~1999-12-10 17:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-12-10 15:41 Norman.Azadian
1999-12-10 15:47 ` Nemeth Ervin
1999-12-10 17:21 ` Dan Nelson [this message]
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=19991210112144.A670@dan.emsphone.com \
--to=dnelson@emsphone.com \
--cc=Norman.Azadian@swisscom.com \
--cc=zsh-users@sunsite.auc.dk \
/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).