Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
bug with for and time
- X-seq: zsh-workers 20446
- From: Nathan Sidwell <nathan@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: bug with for and time
- Date: Mon, 04 Oct 2004 16:31:40 +0100
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- Organization: Codesourcery LLC
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@xxxxxxxxxxxxxxxx :: http://www.planetfall.pwp.blueyonder.co.uk
Messages sorted by:
Reverse Date,
Date,
Thread,
Author