svn commit: r201802 - stable/7/bin/sh

Jilles Tjoelker jilles at FreeBSD.org
Fri Jan 8 16:28:18 UTC 2010


Author: jilles
Date: Fri Jan  8 16:28:17 2010
New Revision: 201802
URL: http://svn.freebsd.org/changeset/base/201802

Log:
  MFC r201354: sh(1): Correct two places where "$@" lacked necessary quotes.

Modified:
  stable/7/bin/sh/sh.1
Directory Properties:
  stable/7/bin/sh/   (props changed)

Modified: stable/7/bin/sh/sh.1
==============================================================================
--- stable/7/bin/sh/sh.1	Fri Jan  8 16:14:41 2010	(r201801)
+++ stable/7/bin/sh/sh.1	Fri Jan  8 16:28:17 2010	(r201802)
@@ -856,7 +856,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.
@@ -1071,7 +1071,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-all mailing list