[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-commits-all
Subject:    svn commit: r201354 - head/bin/sh
From:       Jilles Tjoelker <jilles () freebsd ! org>
Date:       2009-12-31 22:01:17
Message-ID: 200912312201.nBVM1Hmu020706 () svn ! freebsd ! org
[Download RAW message or body]

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
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic