From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18136 invoked from network); 5 Oct 2004 09:39:55 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 5 Oct 2004 09:39:55 -0000 Received: (qmail 89572 invoked from network); 5 Oct 2004 09:39:49 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 5 Oct 2004 09:39:49 -0000 Received: (qmail 2827 invoked by alias); 5 Oct 2004 09:39:35 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 20452 Received: (qmail 2812 invoked from network); 5 Oct 2004 09:39:34 -0000 Received: from unknown (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 5 Oct 2004 09:39:34 -0000 Received: (qmail 89116 invoked from network); 5 Oct 2004 09:38:49 -0000 Received: from moutng.kundenserver.de (212.227.126.189) by a.mx.sunsite.dk with SMTP; 5 Oct 2004 09:38:48 -0000 Received: from [212.227.126.161] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1CElmQ-0005CF-00 for zsh-workers@sunsite.dk; Tue, 05 Oct 2004 11:38:46 +0200 Received: from [217.233.101.99] (helo=buddha.localdomain.de) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 1CElmQ-00047E-00 for zsh-workers@sunsite.dk; Tue, 05 Oct 2004 11:38:46 +0200 Date: Tue, 5 Oct 2004 11:38:48 +0200 From: "Matthias B." Cc: zsh-workers@sunsite.dk Subject: Re: bug with for and time Message-Id: <20041005113848.6f3715bd@buddha.localdomain.de> In-Reply-To: <200410041610.i94GAl92005952@news01.csr.com> References: <41616CDC.8020701@codesourcery.com> <200410041610.i94GAl92005952@news01.csr.com> X-Mailer: Sylpheed version 0.9.8claws (GTK+ 1.2.10; i586-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:95d11223a40b7ac6df081cef1fe1fef2 X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: * X-Spam-Status: No, hits=1.6 required=6.0 tests=RCVD_IN_NJABL,RCVD_IN_SORBS autolearn=no version=2.63 X-Spam-Hits: 1.6 On Mon, 04 Oct 2004 17:10:47 +0100 Peter Stephenson wrote: > Nathan Sidwell wrote: > > Zsh 4.0.4 appears to lose the time command in the following, > > > > nathan@garibaldi:363>for i in 1 2 ; time echo > > > > > > but, place the command in a subshell, and it works. > > Yes, that's always been an annoying limitation: "time" works by gettings > system information about subprocesses, and there isn't one in this case. Then how does bash do it? bash can time builtins just fine. MSB -- I will continue to be an impossible person as long as those who are now possible remain possible.