-
Hi, guys! Your answer and guide will be appreciated! |
Beta Was this translation helpful? Give feedback.
Answered by
i-aki-y
Sep 29, 2022
Replies: 1 comment 1 reply
-
${@} is a special parameter that contains whole positional parameters ($1, $2, ...) |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
songyuc
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
${@} is a special parameter that contains whole positional parameters ($1, $2, ...)
${@:n} means expand the array from n-th parameter to the end ($n, $n+1, ...)
For more detail, see the "${parameter:offset}" section in:
https://www.gnu.org/software/bash/manual/bash.html#Shell-Parameter-Expansion