summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2009-12-31 22:01:17 +0000
committerjilles <jilles@FreeBSD.org>2009-12-31 22:01:17 +0000
commit1612b12faf08e15003e2118e93b9287bf790f0a9 (patch)
treeb865780c42f893d1cb5a7815736345566761bf77 /bin
parentcfffc49d99b726c415e474966f2accca5c0d32b5 (diff)
downloadFreeBSD-src-1612b12faf08e15003e2118e93b9287bf790f0a9.zip
FreeBSD-src-1612b12faf08e15003e2118e93b9287bf790f0a9.tar.gz
sh(1): Correct two places where "$@" lacked necessary quotes.
MFC after: 1 week
Diffstat (limited to 'bin')
-rw-r--r--bin/sh/sh.14
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/sh/sh.1 b/bin/sh/sh.1
index db872fd..fd7ab13 100644
--- a/bin/sh/sh.1
+++ b/bin/sh/sh.1
@@ -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
OpenPOWER on IntegriCloud