Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 May 2014 21:39:01 +0000 (UTC)
From:      Glen Barber <gjb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r265615 - stable/9/release/doc/en_US.ISO8859-1/relnotes
Message-ID:  <201405072139.s47Ld15o000695@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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=&dollar;1</literal> will assign the first positional
+	parameter to <literal>v</literal>, even if
+	<literal>&dollar;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>
 



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