From aec895f516d2a2aa055cda4b439156864d08dd7a Mon Sep 17 00:00:00 2001 From: Steven Baltakatei Sandoval Date: Tue, 7 Jul 2020 02:08:06 +0000 Subject: [PATCH 1/1] fix(unitproc):timeNanosec: minor comment --- unitproc/bktemp-timeNanosec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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."; -- 2.30.2