args=("$@") args+=(foo) args+=(bar) echo "${args[@]}"
Put the arguments into an array and then append