Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Dec 2009 22:01:17 +0000 (UTC)
From:      Jilles Tjoelker <jilles@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r201354 - head/bin/sh
Message-ID:  <200912312201.nBVM1Hmu020706@svn.freebsd.org>

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



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