diff --git a/utils.sh b/utils.sh index 96b6b7ba1dd1feab2e61f3e63c50a19cf2dfe151..4e2b7dccb6e6f857c28b2d68c6385de10b393259 100755 --- a/utils.sh +++ b/utils.sh @@ -6,7 +6,7 @@ # and checking current user value, and prompts of yes/no user input. # # https://git.brandon-rodriguez.com/scripts/bash/utils - # Version 1.3 + # Version 1.3.1 ## @@ -520,7 +520,7 @@ function to_upper () { then # At least one arg passed. Loop through each one. return_value=() - for arg in $@ + for arg in ${@} do return_value+=( $(echo "${arg}" | tr '[:lower:]' '[:upper:]') ) done