Skip to content
Snippets Groups Projects
Commit 518df6c8 authored by Brandon Rodriguez's avatar Brandon Rodriguez
Browse files

Minor syntax correction

parent 3c14e434
Branches master
No related merge requests found
......@@ -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
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment