From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18619 invoked from network); 4 Oct 2004 15:59:54 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 4 Oct 2004 15:59:54 -0000 Received: (qmail 43893 invoked from network); 4 Oct 2004 15:59:49 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 4 Oct 2004 15:59:49 -0000 Received: (qmail 26103 invoked by alias); 4 Oct 2004 15:59:35 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 20446 Received: (qmail 13664 invoked from network); 4 Oct 2004 15:32:51 -0000 Received: from unknown (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 4 Oct 2004 15:32:51 -0000 Received: (qmail 24432 invoked from network); 4 Oct 2004 15:31:52 -0000 Received: from support.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.10) by a.mx.sunsite.dk with SMTP; 4 Oct 2004 15:31:51 -0000 Received: (qmail 22669 invoked from network); 4 Oct 2004 15:31:48 -0000 Received: from 82-32-50-9.cable.ubr07.azte.blueyonder.co.uk (HELO codesourcery.com) (nathan@82.32.50.9) by mail.codesourcery.com with RC4-MD5 encrypted SMTP; 4 Oct 2004 15:31:48 -0000 Message-ID: <41616CDC.8020701@codesourcery.com> Date: Mon, 04 Oct 2004 16:31:40 +0100 From: Nathan Sidwell Organization: Codesourcery LLC User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: zsh-workers@sunsite.dk Subject: bug with for and time Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: * X-Spam-Status: No, hits=1.5 required=6.0 tests=RCVD_IN_SORBS autolearn=no version=2.63 X-Spam-Hits: 1.5 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. nathan@garibaldi:364>for i in 1 2 ; time (echo) ( echo ) 0.00s user 0.00s system 0% cpu 0.000 total ( echo ) 0.00s user 0.00s system 0% cpu 0.000 total nathan -- Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC nathan@codesourcery.com :: http://www.planetfall.pwp.blueyonder.co.uk