trick for time tracking
Max Alekseyev <[email protected]> Fri, 24 Jul 2026 09:42:45 -0400
| Newsgroups | gmane.comp.mathematics.pari.user |
|---|---|
| Message-ID | <CAJkPp5NaS9ap2rXG3WGfSZPUHXC9cuYgHUdfGKgHLk20U83R4w@mail.gmail.com> |
--0000000000005a1b7506575b8e54
Content-Type: text/plain; charset="UTF-8"
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.
Regards,
Max
--0000000000005a1b7506575b8e54
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr">Just want to share a nice trick for printing the current d=
ate/time info in lengthy=C2=A0computations, which works under linux:<br><di=
v><br></div><div>extern("date>&2")</div><div><br></div><di=
v>This command executes the standard "date" tool and redirects it=
s output to stderr, effectively printing it on the screen by avoiding exter=
n()'s processing of the standard output.</div><div><br></div><div>Regar=
ds,</div><div>Max</div><div><br></div></div>
--0000000000005a1b7506575b8e54--