From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7522 invoked by alias); 1 Sep 2010 15:26:25 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 28221 Received: (qmail 24908 invoked from network); 1 Sep 2010 15:26:23 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at closedmail.com does not designate permitted sender hosts) From: Bart Schaefer Message-id: <100901082558.ZM9495@torch.brasslantern.com> Date: Wed, 01 Sep 2010 08:25:58 -0700 In-reply-to: <20100831201856.5c18133c@pws-pc> Comments: In reply to Peter Stephenson "Re: environment variables" (Aug 31, 8:18pm) References: <201008311754.27361.joke@seiken.de> <20100831201856.5c18133c@pws-pc> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Re: environment variables MIME-version: 1.0 Content-type: text/plain; charset=us-ascii On Aug 31, 8:18pm, Peter Stephenson wrote: } Subject: Re: environment variables } } On Tue, 31 Aug 2010 17:54:25 +0200 } Joke de Buhr wrote: } > ## 4: HELLO not exported to shell function, different from 2 and 3 } > $ call() { env | grep '^HELLO' } } > $ HELLO=world } > $ HELLO=$HELLO call } > HELLO= ## <-- empty } } That's a bug. Have you been following the austin-group discussion about the behavior of assignments prefixing builtin vs. external commands? } I think we can just copy the parameter instead of removing it, so long } as we copy it properly. What did the name "toplevel" signify before? Obviously it's semantically the same as "fakecopy", but it must have meant something to someone ...