svn commit: r201787 - stable/8/bin/sh
Jilles Tjoelker
jilles at FreeBSD.org
Fri Jan 8 14:30:03 UTC 2010
Author: jilles
Date: Fri Jan 8 14:30:03 2010
New Revision: 201787
URL: http://svn.freebsd.org/changeset/base/201787
Log:
MFC r201354: sh(1): Correct two places where "$@" lacked necessary quotes.
Modified:
stable/8/bin/sh/sh.1
Directory Properties:
stable/8/bin/sh/ (props changed)
Modified: stable/8/bin/sh/sh.1
==============================================================================
--- stable/8/bin/sh/sh.1 Fri Jan 8 12:08:41 2010 (r201786)
+++ stable/8/bin/sh/sh.1 Fri Jan 8 14:30:03 2010 (r201787)
@@ -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
More information about the svn-src-stable-8
mailing list