Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: bug with for and time



On Mon, 04 Oct 2004 17:10:47 +0100 Peter Stephenson <pws@xxxxxxx> 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.



Messages sorted by: Reverse Date, Date, Thread, Author