News for hackers. Stuff that matters.
Re:Bash 5.0 released by ducktective on Tuesday January 08, 2019 @04:09AM (#18854300)
Anyone knows why a `microsecond since epoch` is named "realtime"? What is so "guaranteed" about it?
Re:Bash 5.0 released by okdana on Tuesday January 08, 2019 @05:37AM (#18854634)
bash's EPOCHREALTIME was inspired by mksh, which was in turn inspired by zsh. And in zsh, EPOCHREALTIME was named after the system real-time clock (specifically the CLOCK_REALTIME clock ID passed to clock_gettime()). And i imagine that was named by analogy with hardware real-time clocks, since they both track human ('real') time. But i don't know much about electronics or the history of POSIX clock sources.
Re:Bash 5.0 released by iofiiiiiiiii on Tuesday January 08, 2019 @04:26AM (#18854394)
And does it even count leap seconds? Regular Unix timestamps do not (time stands still during leap seconds)