You must wrap the $@ in quotes, too: "$@"
This tells the shell to ignore spaces in the arguments; it doesn’t turn all arguments into a very long string.
You must wrap the $@ in quotes, too: "$@"
This tells the shell to ignore spaces in the arguments; it doesn’t turn all arguments into a very long string.