Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jan 2010 14:30:03 +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-8@freebsd.org
Subject:   svn commit: r201787 - stable/8/bin/sh
Message-ID:  <201001081430.o08EU36P098513@svn.freebsd.org>

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



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