diff --git a/hosts b/hosts index 4094349..991bcaf 100755 --- a/hosts +++ b/hosts @@ -212,7 +212,7 @@ done # `_COMMAND_PARAMETERS=("${_COMMAND_ARGV[@]:1}")`) because under bash 3.2 the # resulting slice is treated as a quoted string and doesn't easily get coaxed # into a new array. -_COMMAND_PARAMETERS=(${_COMMAND_ARGV[*]}) +_COMMAND_PARAMETERS=("${_COMMAND_ARGV[@]}") unset "_COMMAND_PARAMETERS[0]" _debug printf \