From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5358 invoked from network); 5 May 2003 08:06:53 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 5 May 2003 08:06:53 -0000 Received: (qmail 15471 invoked by alias); 5 May 2003 08:06:35 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6072 Received: (qmail 15462 invoked from network); 5 May 2003 08:06:34 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 5 May 2003 08:06:33 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [192.35.17.28] by sunsite.dk (MessageWall 1.0.8) with SMTP; 5 May 2003 8:6:33 -0000 Received: from mail2.siemens.de (mail2.siemens.de [139.25.208.11]) by goliath.siemens.de (8.11.7/8.11.7) with ESMTP id h4586W408849; Mon, 5 May 2003 10:06:32 +0200 (MEST) Received: from MOWD019A.mow.siemens.ru ([163.242.196.119]) by mail2.siemens.de (8.11.7/8.11.7) with ESMTP id h4586V419552; Mon, 5 May 2003 10:06:32 +0200 (MEST) Received: by mowd019a.mow.siemens.ru with Internet Mail Service (5.5.2653.19) id ; Mon, 5 May 2003 12:10:32 +0400 Received: from mw2b210c (163.242.193.12 [163.242.193.12]) by MOWD019A.mow.siemens.ru with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id J908QGDT; Mon, 5 May 2003 12:10:27 +0400 From: Borzenkov Andrey To: "'Haakon Riiser'" Cc: zsh-users@sunsite.dk Subject: RE: Scope of local parameters Date: Mon, 5 May 2003 12:06:21 +0400 Message-ID: <6134254DE87BD411908B00A0C99B044F05A0C916@mowd019a.mow.siemens.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 In-Reply-To: <20030505065754.GA718@s.chello.no> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Actually I am not sure why I assumed source supports local parameters = in any form. Probably I was distracted by the fact that $* _is_ made local. Hmm ... making typeset create local parameters in sourced script by = default will definitely break a lot of existing scripts. Probably extra = argument to typeset or (better) extra options to treat typesets in script as local. = Hmm the same options could make function definitions local as well ...