vbm() {
# Description: Prints verbose message ("vbm") to stderr if optionVerbose is set to "true".
# Usage: vbm "DEBUG:verbose message here"
- # Version 0.1.0
+ # Version 0.1.2
# Input: arg1: string
# vars: optionVerbose
# Output: stderr
- # Depends: echo
+ # Depends: bash 5.0.3, echo 8.30, date 8.30
if [ "$optionVerbose" = "true" ]; then
functionTime=$(date --iso-8601=ns); # Save current time in nano seconds.
# End function
return 0; # Function finished.
-} # Verbose message display function.
+} # Displays message if optionVerbose true
# Author: Steven Baltakatei Sandoval
# License: GPLv3+