Max Alekseyev on Fri, 24 Jul 2026 15:43:25 +0200


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

trick for time tracking


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