Re: trick for time tracking

Bill Allombert <[email protected]> Fri, 24 Jul 2026 19:31:42 +0200
Newsgroups gmane.comp.mathematics.pari.user
Message-ID <amOhftuaRVchoTbJ@seventeen>
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