Positional Parameters
$*
expands to a single word, which contains the values of all positional parameters $1
, … .
$@
is similar, but produces multiple values, one for each positional parameter.
Links
Examples
Print positional parameters as one value :
|
|
Output: value: a b
.
BashSupport Pro is a Bash IDE with support for $* – try it now!