- 论坛徽章:
- 0
|
请教$CONNECT "$@"里的"$@"是什么意思?
- @
- Expands to the positional parameters, starting from one. When
- the expansion occurs within double-quotes, each positional param-
- eter expands as a separate argument. If there are no positional
- parameters, the expansion of @ generates zero arguments, even
- when @ is double-quoted. What this basically means, for example,
- is if $1 is ``abc'' and $2 is ``def ghi'', then "$@" expands to
- the two arguments:
- "abc" "def ghi"
- !
- Expands to the process ID of the most recent background command executed from the current shell. For a pipeline, the process ID is that of the last command in the pipeline.
复制代码 |
|