Index: general/prog/tcl.xml
===================================================================
--- general/prog/tcl.xml	(revision cb8a404bfdece09b1e57407a63c43f807236532f)
+++ general/prog/tcl.xml	(revision 4c34d6e29db6a2c34d4afb084d0f8f3a90e7662d)
@@ -81,10 +81,11 @@
 export DIR=$PWD &amp;&amp;
 cd unix &amp;&amp;
+sed -i "s/relid'/relid/" configure &amp;&amp;
 ./configure --prefix=/usr --enable-threads &amp;&amp;
 make &amp;&amp;
-sed -i "s:${DIR}/unix:/usr/lib:" tclConfig.sh &amp;&amp;
-sed -i "s:${DIR}:/usr/include/tcl${V}:" tclConfig.sh &amp;&amp;
-sed -i "s,^TCL_LIB_FILE='libtcl${V}..TCL_DBGX..so',\
-TCL_LIB_FILE=\"libtcl${V}\$\{TCL_DBGX\}.so\"," tclConfig.sh</userinput></screen>
+sed -i -e "s:${DIR}/unix:/usr/lib:" \
+       -e "s:${DIR}:/usr/include/tcl${V}:" \
+       -e "s:^TCL_LIB_FILE='libtcl${V}..TCL_DBGX..so':\
+TCL_LIB_FILE=\"libtcl${V}\$\{TCL_DBGX\}.so\":" tclConfig.sh</userinput></screen>
 
     <para>To test the results, issue: <command>make test</command>.</para>
@@ -124,9 +125,12 @@
     to build with thread support.</para>
 
-    <para><command>sed -i ...</command>: The <application>Tcl</application>
-    package assumes that the source used to build
+    <para><command>sed -i "s/relid'/relid/" configure</command>: This command
+    fixes a syntax error in the <command>configure</command> script.</para>
+
+    <para><command>sed -i -e ... tclConfig.sh</command>: The
+    <application>Tcl</application> package assumes that the source used to build
     <application>Tcl</application> is always kept around for compiling packages
-    that depend on <application>Tcl</application>. These <command>sed</command>s
-    remove the reference to the build directory and replace them by saner
+    that depend on <application>Tcl</application>. This <command>sed</command>
+    removes the references to the build directory and replaces them by saner
     system-wide locations.</para>
 
Index: general/prog/tk.xml
===================================================================
--- general/prog/tk.xml	(revision cb8a404bfdece09b1e57407a63c43f807236532f)
+++ general/prog/tk.xml	(revision 4c34d6e29db6a2c34d4afb084d0f8f3a90e7662d)
@@ -78,8 +78,9 @@
 export DIR=$PWD &amp;&amp;
 cd unix &amp;&amp;
+sed -i "s/relid'/relid/" configure &amp;&amp;
 ./configure --prefix=/usr --enable-threads &amp;&amp;
 make &amp;&amp;
-sed -i "s:${DIR}/unix:/usr/lib:" tkConfig.sh &amp;&amp;
-sed -i "s:${DIR}:/usr/include/tk${V}:" tkConfig.sh</userinput></screen>
+sed -i -e "s:${DIR}/unix:/usr/lib:" \
+       -e "s:${DIR}:/usr/include/tk${V}:" tkConfig.sh</userinput></screen>
 
     <para>The test is not recommended.  Some tests may crash your X Server.  To
@@ -122,10 +123,13 @@
     to build with thread support.</para>
 
-    <para><command>sed -i ...</command>: The <application>Tk</application> package
-    assumes that the source used to build <application>Tk</application> is
-    always kept around for compiling packages that depend on
-    <application>Tk</application>. These <command>sed</command>s remove the
-    reference to the build directory and replace them by saner system-wide
-    locations.</para>
+    <para><command>sed -i "s/relid'/relid/" configure</command>: This command
+    fixes a syntax error in the <command>configure</command> script.</para>
+
+    <para><command>sed -i -e ... tkConfig.sh</command>: The
+    <application>Tk</application> package assumes that the source used to build
+    <application>Tk</application> is always kept around for compiling packages
+    that depend on <application>Tk</application>. This <command>sed</command>
+    removes the references to the build directory and replaces them by saner
+    system-wide locations.</para>
 
     <para><command>install ...</command>: These commands install the internal
Index: introduction/welcome/changelog.xml
===================================================================
--- introduction/welcome/changelog.xml	(revision cb8a404bfdece09b1e57407a63c43f807236532f)
+++ introduction/welcome/changelog.xml	(revision 4c34d6e29db6a2c34d4afb084d0f8f3a90e7662d)
@@ -46,4 +46,9 @@
       <itemizedlist>
         <listitem>
+          <para>[randy] - Fixed a syntax error in the configure scripts and
+          simplified the existing sed commands in the Tcl and Tk
+          instructions.</para>
+        </listitem>
+        <listitem>
           <para>[randy] - Added pkg-config and ALSA Library as required
           dependencies of the ALSA Plugins package, thanks to Joe Ciccone for
