You can use the += operator to append to an array.
+=
args=() for i in "$@"; do args+=("$i") done echo "${args[@]}"
No comments:
Post a Comment