Bill Allombert on Fri, 24 Jul 2026 19:31:46 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: trick for time tracking


On Fri, Jul 24, 2026 at 09:42:45AM -0400, Max Alekseyev wrote:
> Just want to share a nice trick for printing the current date/time info in
> lengthy computations, which works under linux:
> 
> extern("date>&2")
> 
> This command executes the standard "date" tool and redirects its output to
> stderr, effectively printing it on the screen by avoiding extern()'s
> processing of the standard output.

You can do that too:

? externstr("date")[1]
%1 = "Fri Jul 24 19:31:13 CEST 2026"

Cheers,
Bill