svn commit: r265615 - stable/9/release/doc/en_US.ISO8859-1/relnotes

Glen Barber gjb at FreeBSD.org
Wed May 7 21:39:02 UTC 2014


Author: gjb
Date: Wed May  7 21:39:01 2014
New Revision: 265615
URL: http://svnweb.freebsd.org/changeset/base/265615

Log:
  Document r264423, sh(1) changes in variable assignments
  with 'local', 'export', and 'readonly'.
  
  Helped by:	jilles (thanks!)
  Sponsored by:	The FreeBSD Foundation

Modified:
  stable/9/release/doc/en_US.ISO8859-1/relnotes/article.xml

Modified: stable/9/release/doc/en_US.ISO8859-1/relnotes/article.xml
==============================================================================
--- stable/9/release/doc/en_US.ISO8859-1/relnotes/article.xml	Wed May  7 21:38:33 2014	(r265614)
+++ stable/9/release/doc/en_US.ISO8859-1/relnotes/article.xml	Wed May  7 21:39:01 2014	(r265615)
@@ -568,6 +568,17 @@
 	&man.openpam.ttyconv.3; library has been completely
 	rewritten.</para>
 
+      <para revision="264423">The &man.sh.1; command interpreter has
+	been updated to expand assignments after
+	<literal>export</literal>, <literal>local</literal>, and
+	<literal>readonly</literal> differently.  As result of this
+	change, variable assignment such as <literal>local
+	  v=$1</literal> will assign the first positional
+	parameter to <literal>v</literal>, even if
+	<literal>$1</literal> contains spaces, and
+	<literal>local w=<replaceable>~/myfile</replaceable></literal>
+	will expand the tilde (<literal>~</literal>).</para>
+
       <sect3 xml:id="periodic-scripts">
 	<title>&man.periodic.8; Scripts</title>
 


More information about the svn-src-all mailing list