Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: time command with shell builtins
- X-seq: zsh-users 28741
- From: Roman Perepelitsa <roman.perepelitsa@xxxxxxxxx>
- To: dominik.vogt@xxxxxx, Zsh Users <zsh-users@xxxxxxx>
- Subject: Re: time command with shell builtins
- Date: Mon, 23 Jan 2023 14:42:05 +0100
- Archived-at: <https://zsh.org/users/28741>
- In-reply-to: <Y86OR0DCpwfSYCXU@localhost>
- List-id: <zsh-users.zsh.org>
- References: <Y86OR0DCpwfSYCXU@localhost>
On Mon, Jan 23, 2023 at 2:40 PM Dominik Vogt <dominik.vogt@xxxxxx> wrote:
>
> Is it possible to get timing statistics of shell builtins too?
> Timing "echo" isn't very interesting, but timing loop constructs
> would be:
>
> $ time while foo; do bar done
This:
% time ( while foo; do bar; done )
Roman.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author