From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29347 invoked from network); 1 Aug 2005 16:36:39 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 1 Aug 2005 16:36:39 -0000 Received: (qmail 94423 invoked from network); 1 Aug 2005 16:36:33 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 1 Aug 2005 16:36:33 -0000 Received: (qmail 5418 invoked by alias); 1 Aug 2005 16:36:30 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 21556 Received: (qmail 5409 invoked from network); 1 Aug 2005 16:36:29 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 1 Aug 2005 16:36:29 -0000 Received: (qmail 94094 invoked from network); 1 Aug 2005 16:36:29 -0000 Received: from cluster-e.mailcontrol.com (HELO rly20e.srv.mailcontrol.com) (217.79.216.190) by a.mx.sunsite.dk with SMTP; 1 Aug 2005 16:36:22 -0000 Received: from iris.logica.co.uk (iris.logica.co.uk [158.234.9.163]) by rly20e.srv.mailcontrol.com (MailControl) with ESMTP id j71GaHSn007617 for ; Mon, 1 Aug 2005 17:36:17 +0100 Received: from trentino.logica.co.uk ([158.234.142.59]) by iris.logica.co.uk (8.12.3/8.12.3/Debian -4) with ESMTP id j71GaHTp003786 for ; Mon, 1 Aug 2005 17:36:17 +0100 Received: from trentino.groupinfra.com (localhost [127.0.0.1]) by trentino.logica.co.uk (Postfix) with ESMTP id B4BA8795F1 for ; Mon, 1 Aug 2005 18:36:16 +0200 (CEST) X-VirusChecked: Checked X-StarScan-Version: 5.0.7; banners=.,-,- In-reply-to: <20050801135324.GA9016@scowler.net> From: Oliver Kiddle References: <20050728152656.GA30070@scowler.net> <200507281638.j6SGcH6X014944@news01.csr.com> <20050801135324.GA9016@scowler.net> To: zsh-workers@sunsite.dk Subject: Re: xtrace scope Date: Mon, 01 Aug 2005 18:36:16 +0200 Message-ID: <12506.1122914176@trentino.groupinfra.com> X-Scanned-By: MailControl A-05-01-05 (www.mailcontrol.com) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.0.4 Clint Adams wrote: > Would it be silly to add another option so XTRACE changes could be made > global in sh/ksh emulation? Keep in mind that xtrace changes can be local in ksh. In ksh, there is a difference between defining a function using the `function name {}' syntax and the `name() {}' syntax. With the former, `set -x' and other things like typeset have local scope. Oliver This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.