fix spelling errors

This commit is contained in:
Nathaniel Landau
2021-08-18 12:29:36 -04:00
parent e30d82acad
commit de803a2af9
12 changed files with 18 additions and 18 deletions

View File

@@ -3,7 +3,7 @@ _execute_() {
# ARGS: $1 (Required) - The command to be executed. Quotation marks MUST be escaped.
# $2 (Optional) - String to display after command is executed
# OPTS: -v Always print debug output from the execute function
# -p Pass a failed command with 'return 0'. This effecively bypasses set -e.
# -p Pass a failed command with 'return 0'. This effectively bypasses set -e.
# -e Bypass _alert_ functions and use 'echo RESULT'
# -s Use '_alert_ success' for successful output. (default is 'info')
# -q Do not print output (QUIET mode)

View File

@@ -7,7 +7,7 @@ _listFiles_() {
# NOTE: Searches are NOT case sensitive and MUST be quoted
# USAGE: _listFiles_ glob "*.txt" "some/backup/dir"
# _listFiles_ regex ".*\.txt" "some/backup/dir"
# readarry -t array < <(_listFiles_ g "*.txt")
# readarray -t array < <(_listFiles_ g "*.txt")
[[ $# -lt 2 ]] && {
error 'Missing required argument to _listFiles_()!'
@@ -446,7 +446,7 @@ _makeSymlink_() {
}
_parseYAML_() {
# DESC: Convert a YANML file into BASH variables for use in a shell script
# DESC: Convert a YAML file into BASH variables for use in a shell script
# ARGS: $1 (Required) - Source YAML file
# $2 (Required) - Prefix for the variables to avoid namespace collisions
# OUTS: Prints variables and arrays derived from YAML File

View File

@@ -18,7 +18,7 @@ _cleanString_() {
# - leading white space
# - trailing white space
# - multiple spaces become a single space
# - remove spaces before and aftrer -_
# - remove spaces before and after -_
local opt
local lc=false