Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jan 2010 16:28:17 +0000 (UTC)
From:      Jilles Tjoelker <jilles@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org
Subject:   svn commit: r201802 - stable/7/bin/sh
Message-ID:  <201001081628.o08GSHrR025285@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001081628.o08GSHrR025285>