X-Git-Url: https://zdv2.bktei.com/gitweb/BK-2020-03.git/blobdiff_plain/849106f7246e47bc077d7f3b8228cec717a8e63d..26f0533782d8c57fb95b8df4f55057edcbf17703:/unitproc/bktemp-vbm?ds=inline diff --git a/unitproc/bktemp-vbm b/unitproc/bktemp-vbm deleted file mode 100644 index 878a022..0000000 --- a/unitproc/bktemp-vbm +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/bash -# Desc: Display message if opVerbose true - -vbm() { - # Description: Prints verbose message ("vbm") to stderr if opVerbose is set to "true". - # Usage: vbm "DEBUG :verbose message here" - # Version 0.2.0 - # Input: arg1: string - # vars: opVerbose - # Output: stderr - # Depends: bash 5.0.3, echo 8.30, date 8.30 - - if [ "$opVerbose" = "true" ]; then - functionTime="$(date --iso-8601=ns)"; # Save current time in nano seconds. - echo "[$functionTime]:$0:""$*" 1>&2; # Display argument text. - fi - - # End function - return 0; # Function finished. -} # Displays message if opVerbose true - -#==BEGIN sample code== -vbm "STATUS:This is a status message."; -opVerbose="true"; -vbm "STATUS:This is another status message."; -#==END sample code== - -# Author: Steven Baltakatei Sandoval -# License: GPLv3+