summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2010-01-08 14:30:03 +0000
committerjilles <jilles@FreeBSD.org>2010-01-08 14:30:03 +0000
commit4cf52e012401b95e6622e86b1ccb108ecef549da (patch)
tree0000f6b004973444a7c8964eeb4a21e33c3ffa1e /bin
parent20f92156b53b09c622ea0513ff351f7a1fef3a94 (diff)
downloadFreeBSD-src-4cf52e012401b95e6622e86b1ccb108ecef549da.zip
FreeBSD-src-4cf52e012401b95e6622e86b1ccb108ecef549da.tar.gz
MFC r201354: sh(1): Correct two places where "$@" lacked necessary quotes.
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 2739dcc..bdf464b 100644
--- a/bin/sh/sh.1
+++ b/bin/sh/sh.1
@@ -862,7 +862,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.
@@ -1077,7 +1077,7 @@ and
is
.Dq Li "def ghi" ,
then
-.Dq Li $@
+.Li \&"$@\&"
expands to
the two arguments:
.Bd -literal -offset indent
OpenPOWER on IntegriCloud