From: Steven Baltakatei Sandoval Date: Tue, 7 Jul 2020 02:08:06 +0000 (+0000) Subject: fix(unitproc):timeNanosec: minor comment X-Git-Tag: 0.3.0~54 X-Git-Url: https://zdv2.bktei.com/gitweb/BK-2020-03.git/commitdiff_plain/aec895f516d2a2aa055cda4b439156864d08dd7a?ds=inline fix(unitproc):timeNanosec: minor comment --- diff --git a/unitproc/bktemp-timeNanosec b/unitproc/bktemp-timeNanosec index 4e57b21..3614120 100644 --- a/unitproc/bktemp-timeNanosec +++ b/unitproc/bktemp-timeNanosec @@ -3,7 +3,7 @@ timeNanosec() { # Desc: Get epoch nanoseconds - # Version 0.1.0 + # Version 0.1.1 # Input: (none) # Output: Nanoseconds since 1970-01-01 # Depends: date 8 @@ -12,7 +12,7 @@ timeNanosec() { fracNanosec="$(echo "$currentTime" | cut -d. -f2)"; epochNanosec="$(( ("$epochSeconds" * 1000000000) + ("$fracNanosec") ))"; echo "$epochNanosec"; -} +} # Nanoseconds since 1970-01-01 #==BEGIN sample code== echo "It's been $(timeNanosec) nanoseconds since 1970-01-01.";