# exit code 0 on success
# exit code 1 on incorrect number of arguments
# exit code 2 if unable to validate arg1
- # Depends: yell, die, try
+ # Depends: yell, printenv, bash 5
+ # Tested on: Debian 10
ARG1="$1"
local tzDir returnState
if ! [[ $# -eq 1 ]]; then
cmd4="setTimeZoneEV Pacific/Lemuria"
echo "Running:$cmd4"; $cmd4; echo "Exit code:$?"
date --iso-8601=seconds; echo "==============="; sleep 2
+
+try setTimeZoneEV Atlantic/Atlantis
#==END sample code==
# Author: Steven Baltakatei Sandoval