bug-bash
[Top][All Lists]
Advanced

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

Re: EPOCHREALTIME


From: Léa Gris
Subject: Re: EPOCHREALTIME
Date: Thu, 19 Aug 2021 14:58:19 +0200
User-agent: Telnet/1.0 [tlh] (PDP11/DEC)

Le 19/08/2021 à 14:43, hancooper via Bug reports for the GNU Bourne Again SHell écrivait :
Have been using $EPOCHREALTIME but can see that the output is as follows.

1629376497,853634

The utilisation of tho comma `,` is very inconvenient for those who want to do 
time
computations. A change towards a period `.` would be the proper way to display 
the
variable.

Furthermore, one gets nanosecond precision when using date. But such precision
is not possible with EPOCHREALTIME. Thusly, the improvement to nanosecond

precision is desirable so as to match the capability of data.

Felicitations
Han


(LC_NUMERIC=C; echo "$EPOCHREALTIME")

It will use a dot

--
Léa Gris




reply via email to

[Prev in Thread] Current Thread [Next in Thread]