svn commit: r201354 - head/bin/sh
Jilles Tjoelker
jilles at FreeBSD.org
Thu Dec 31 22:01:18 UTC 2009
Author: jilles
Date: Thu Dec 31 22:01:17 2009
New Revision: 201354
URL: http://svn.freebsd.org/changeset/base/201354
Log:
sh(1): Correct two places where "$@" lacked necessary quotes.
MFC after: 1 week
Modified:
head/bin/sh/sh.1
Modified: head/bin/sh/sh.1
==============================================================================
--- head/bin/sh/sh.1 Thu Dec 31 21:08:13 2009 (r201353)
+++ head/bin/sh/sh.1 Thu Dec 31 22:01:17 2009 (r201354)
@@ -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
More information about the svn-src-head
mailing list