From: Steven Baltakatei Sandoval Date: Tue, 7 Jul 2020 02:36:39 +0000 (+0000) Subject: chore(unitproc):timeEpochNS:Rename timeNanosec -> timeEpochNS X-Git-Tag: 0.3.0~50 X-Git-Url: https://zdv2.bktei.com/gitweb/BK-2020-03.git/commitdiff_plain/4caeddd71a0f06cdd6d1824e26e2703c9c91866f?hp=-c chore(unitproc):timeEpochNS:Rename timeNanosec -> timeEpochNS --- 4caeddd71a0f06cdd6d1824e26e2703c9c91866f diff --git a/unitproc/bktemp-timeNanosec b/unitproc/bktemp-timeEpochNS similarity index 85% rename from unitproc/bktemp-timeNanosec rename to unitproc/bktemp-timeEpochNS index 1fe077f..8c0fb08 100644 --- a/unitproc/bktemp-timeNanosec +++ b/unitproc/bktemp-timeEpochNS @@ -1,8 +1,9 @@ #!/bin/bash # Desc: Get timestamp in nanoseconds -timeNanosec() { +timeEpochNS() { # Desc: Get epoch nanoseconds + # Usage: timeEpochNS # Version 0.1.2 # Input: (none) # Output: Nanoseconds since 1970-01-01 @@ -16,7 +17,7 @@ timeNanosec() { } # Nanoseconds since 1970-01-01 #==BEGIN sample code== -echo "It's been $(timeNanosec) nanoseconds since 1970-01-01."; +echo "It's been $(timeEpochNS) nanoseconds since 1970-01-01."; #==END sample code== # Author: Steven Baltakatei Sandoval