From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16294 invoked from network); 11 Mar 2004 03:23:53 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 11 Mar 2004 03:23:53 -0000 Received: (qmail 1897 invoked by alias); 11 Mar 2004 03:23:38 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7130 Received: (qmail 24664 invoked from network); 11 Mar 2004 03:21:56 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 11 Mar 2004 03:21:56 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [167.160.213.139] by sunsite.dk (MessageWall 1.0.8) with SMTP; 11 Mar 2004 3:21:56 -0000 Received: from moonbase.zanshin.com (IDENT:schaefer@localhost [127.0.0.1]) by moonbase.zanshin.com (8.12.11/8.12.11) with ESMTP id i2B3Ls40030310 for ; Wed, 10 Mar 2004 19:21:54 -0800 Received: (from schaefer@localhost) by moonbase.zanshin.com (8.12.11/8.12.11/Submit) id i2B3Lsdv030309 for zsh-users@sunsite.dk; Wed, 10 Mar 2004 19:21:54 -0800 X-Authentication-Warning: candle.brasslantern.com: schaefer set sender to schaefer@closedmail.com using -f From: Bart Schaefer Message-Id: <1040311032149.ZM19437@candle.brasslantern.com> Date: Thu, 11 Mar 2004 03:21:49 +0000 Received: (from schaefer@localhost) by candle.brasslantern.com (8.11.6/8.11.6) id i2B3KSs19421 for zsh-users@sunsite.dk; Wed, 10 Mar 2004 19:20:28 -0800 X-Authentication-Warning: candle.brasslantern.com: schaefer set sender to schaefer@closedmail.com using -f In-Reply-To: Comments: In reply to Thorsten Kampe "zcompiled scripts" (Mar 11, 3:13am) References: X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-users@sunsite.dk Subject: Re: zcompiled scripts MIME-Version: 1.0 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Envelope-Sender: On Mar 11, 3:13am, Thorsten Kampe wrote: } } is it possible to test for a compiled script (.zwc) whether the script } or the complied version ist executed? The compiled version of a script is never executed. Compilation applies only to files loaded with the "." or "source" commands, or to (possibly auto-)loading of shell functions, not to scripts that execute as standalone programs.