How to add suffix and prefix to $@?
If I do $PREFIX/$@/$SUFFIX, I get the prefix and the suffix only in the first parameter.
I would use shell [ parameter expansion ] for this
$ set -- one two three
$ echo "$@"
one two three
$ set -- "${@/#/pre}" && set -- "${@/%/post}"
$ echo "$@"
preonepost pretwopost prethreepost
Notes
# matches the beginning% matches the end${@} considers each element as a separate word. so replacement happens for every positional parameter