Ravi Sir's Cards › AWS
"$@" vs "$*"?
This interview card answers: "$@" vs "$*"? "$@" keeps each argument separate. "$*" joins them into one. The card’s suggested next step is to use "$@" almost always.
Read card text
What this card says
What it is
"$@" keeps each argument separate.
Why it matters
"$*" joins them into one.
How / example
Use "$@" almost always.