sh(1): Correct two places where "$@" lacked necessary quotes.
MFC after: 1 week
This commit is contained in:
parent
7eb5db5179
commit
776e6b3332
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=201354
@ -865,7 +865,7 @@ command is:
|
||||
If
|
||||
.Ic in
|
||||
and the following words are omitted,
|
||||
.Ic in Li $@
|
||||
.Ic in Li \&"$@\&"
|
||||
is used instead.
|
||||
The words are expanded, and then the list is executed
|
||||
repeatedly with the variable set to each word in turn.
|
||||
@ -1080,7 +1080,7 @@ and
|
||||
is
|
||||
.Dq Li "def ghi" ,
|
||||
then
|
||||
.Dq Li $@
|
||||
.Li \&"$@\&"
|
||||
expands to
|
||||
the two arguments:
|
||||
.Bd -literal -offset indent
|
||||
|
Loading…
Reference in New Issue
Block a user