Combine Environment and Globals.

This commit is contained in:
William Melody 2020-06-07 12:44:21 -07:00
parent a09e7b2468
commit 68b421f95a
1 changed files with 6 additions and 12 deletions

18
hosts
View File

@ -25,7 +25,7 @@ set -o noglob
IFS=$'\n\t' IFS=$'\n\t'
############################################################################### ###############################################################################
# Globals # Environment & Globals
############################################################################### ###############################################################################
# $_VERSION # $_VERSION
@ -34,6 +34,11 @@ IFS=$'\n\t'
# semantic versioning specification: http://semver.org # semantic versioning specification: http://semver.org
_VERSION="3.5.1" _VERSION="3.5.1"
# $_ME
#
# Set to the program's basename.
_ME="$(basename "${0}")"
# $HOSTS_DEFAULT_COMMAND # $HOSTS_DEFAULT_COMMAND
# #
# The command to be run by default, when no command name is specified. If the # The command to be run by default, when no command name is specified. If the
@ -137,17 +142,6 @@ _return_1() {
return 1 return 1
} }
###############################################################################
# Environment
###############################################################################
# $_ME
#
# Set to the program's basename.
_ME=$(basename "${0}")
_debug printf "\${_ME}: %s\\n" "${_ME}"
############################################################################### ###############################################################################
# Load Commands # Load Commands
############################################################################### ###############################################################################