Append argument to arguments list
Put the arguments into an array and then append to the array.
args=("$@")
args+=(foo)
args+=(bar)
baz "${args[@]}"
Put the arguments into an array and then append to the array.
args=("$@")
args+=(foo)
args+=(bar)
baz "${args[@]}"