zsh-workers
 help / color / mirror / code / Atom feed
* Bug: time doesn't work on builtins
@ 2024-08-15 13:15 Mark J. Reed
  2024-08-15 18:52 ` Bart Schaefer
  0 siblings, 1 reply; 15+ messages in thread
From: Mark J. Reed @ 2024-08-15 13:15 UTC (permalink / raw)
  To: Zsh hackers list

[-- Attachment #1: Type: text/plain, Size: 397 bytes --]

This was unexpected:

*zsh%*  time read
hello
*zsh%*


Any attempt to *time *a builtin generates no output whatsoever. No timings,
no error message.The timed command executes in the current shell and has
its usual side-effects, but the *time* itself does nothing.

Contrast to bash and ksh, in which time works on builtins the same as on
external commands.

-- 
Mark J. Reed <markjreed@gmail.com>

[-- Attachment #2: Type: text/html, Size: 925 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2024-09-22  1:00 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-15 13:15 Bug: time doesn't work on builtins Mark J. Reed
2024-08-15 18:52 ` Bart Schaefer
2024-08-15 22:08   ` Mark J. Reed
2024-08-16 19:20     ` Bart Schaefer
2024-09-04  0:27       ` Bart Schaefer
2024-09-04 14:32         ` Jun. T
2024-09-05 17:29           ` Jun. T
2024-09-05 23:37             ` Bart Schaefer
2024-09-06  9:41               ` Jun T
2024-09-06  0:10           ` Bart Schaefer
2024-09-06  9:52             ` Jun T
2024-09-06 19:13               ` Bart Schaefer
2024-09-14  2:10                 ` PATCH: " Bart Schaefer
2024-09-20  7:46                   ` Oliver Kiddle
2024-09-22  0:59                     ` Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).