From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14942 invoked from network); 17 Aug 2004 08:28:59 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 17 Aug 2004 08:28:58 -0000 Received: (qmail 19735 invoked from network); 17 Aug 2004 08:28:52 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 17 Aug 2004 08:28:52 -0000 Received: (qmail 27977 invoked by alias); 17 Aug 2004 08:28:23 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 20265 Received: (qmail 27968 invoked from network); 17 Aug 2004 08:28:23 -0000 Received: from unknown (HELO a.mx.sunsite.dk) (130.225.247.88) by 130.225.247.90 with SMTP; 17 Aug 2004 08:28:23 -0000 Received: (qmail 16441 invoked from network); 17 Aug 2004 08:27:08 -0000 Received: from imr7.us.db.com (160.83.77.105) by a.mx.sunsite.dk with SMTP; 17 Aug 2004 08:27:06 -0000 Received: from sdbo1001.db.com by imr7.us.db.com id i7H8R3nI005610; Tue, 17 Aug 2004 04:27:04 -0400 Subject: zsh-4.2.1: LINENO lost in evals To: zsh-workers@sunsite.dk X-Mailer: Lotus Notes Release 5.0.11 July 24, 2002 Message-ID: From: "Dieter Lambrecht" Date: Tue, 17 Aug 2004 10:27:02 +0200 X-MIMETrack: Serialize by Router on sdbo1001/Eschborn/DeuBaInt/DeuBa(5012HF695 | April 07, 2004) at 08/17/2004 10:28:06 AM MIME-Version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: quoted-printable X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, hits=0.0 required=6.0 tests=BAYES_50 autolearn=no version=2.63 X-Spam-Hits: 0.0 Hi, script #! /bin/zsh -x emulate -L zsh print $LINENO eval 'print $LINENO' return produces the following output: ./t4.sh +./t4.sh:2> emulate -L zsh +./t4.sh:4> print 4 4 +./t4.sh:5> eval 'print $LINENO' +(eval):1> print 1 1 . It seems that LINENO is lost in the eval-statement. Is there any possib= ility to retrieve the original value inside evals ? Kind Regards, Dieter Lambrecht -- Diese E-Mail enth=E4lt vertrauliche und/oder rechtlich gesch=FCtzte Inf= ormationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail= irrt=FCmlich erhalten haben, informieren Sie bitte sofort den Absender= und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbef= ugte Weitergabe dieser Mail ist nicht gestattet. This e-mail may contain confidential and/or privileged information. If = you are not the intended recipient (or have received this e-mail in err= or) please notify the sender immediately and destroy this e-mail. Any u= nauthorized copying, disclosure or distribution of the material in this= e-mail is strictly forbidden. =