Index: chapter06/bash.xml
===================================================================
--- chapter06/bash.xml	(revision e02afe02557114c28ca956486434270798accef4)
+++ chapter06/bash.xml	(revision 851829a70359aefbaada8ce167b4f772848b819c)
@@ -50,4 +50,9 @@
 sed -i "s|htmldir = @htmldir@|htmldir = /usr/share/doc/bash-&bash-version;|" \
     Makefile.in</userinput></screen>
+
+    <para>Upstream developers have fixed several issues since the initial
+     release of Bash-&bash-version;.  Apply those fixes:</para>
+
+<screen><userinput>patch -Np1 -i ../&bash-fixes-patch;</userinput></screen>
 
     <para>Prepare Bash for compilation:</para>
Index: chapter06/coreutils.xml
===================================================================
--- chapter06/coreutils.xml	(revision e02afe02557114c28ca956486434270798accef4)
+++ chapter06/coreutils.xml	(revision 851829a70359aefbaada8ce167b4f772848b819c)
@@ -26,6 +26,6 @@
 
       <seglistitem>
-        <seg>0.9 SBU</seg>
-        <seg>52.8 MB</seg>
+        <seg>1.1 SBU</seg>
+        <seg>58.0 MB</seg>
       </seglistitem>
     </segmentedlist>
Index: chapter06/db.xml
===================================================================
--- chapter06/db.xml	(revision e02afe02557114c28ca956486434270798accef4)
+++ chapter06/db.xml	(revision 851829a70359aefbaada8ce167b4f772848b819c)
@@ -109,7 +109,7 @@
     <para>Fix the ownerships of the installed files:</para>
 
-<screen><userinput>chown root:root /usr/bin/db_* \
+<screen><userinput>chown -v root:root /usr/bin/db_* \
     /usr/lib/libdb* /usr/include/db* &amp;&amp;
-chown -R root:root /usr/share/doc/db-&db-version;</userinput></screen>
+chown -Rv root:root /usr/share/doc/db-&db-version;</userinput></screen>
 
   </sect2>
Index: chapter06/gcc.xml
===================================================================
--- chapter06/gcc.xml	(revision e02afe02557114c28ca956486434270798accef4)
+++ chapter06/gcc.xml	(revision 851829a70359aefbaada8ce167b4f772848b819c)
@@ -74,5 +74,5 @@
     will simulate its presence.</para>
 
-<screen>sed -i 's/@have_mktemp_command@/yes/' gcc/gccbug.in</screen>
+<screen><userinput>sed -i 's/@have_mktemp_command@/yes/' gcc/gccbug.in</userinput></screen>
 
     <para>The GCC documentation recommends building GCC outside of the source
Index: chapter06/linux-libc-headers.xml
===================================================================
--- chapter06/linux-libc-headers.xml	(revision e02afe02557114c28ca956486434270798accef4)
+++ chapter06/linux-libc-headers.xml	(revision 851829a70359aefbaada8ce167b4f772848b819c)
@@ -54,5 +54,5 @@
     <para>Install the header files:</para>
 
-<screen><userinput>install -d /usr/include/asm
+<screen><userinput>install -dv /usr/include/asm
 cp -Rv include/asm-i386/* /usr/include/asm
 cp -Rv include/linux /usr/include</userinput></screen>
Index: chapter06/man-pages.xml
===================================================================
--- chapter06/man-pages.xml	(revision e02afe02557114c28ca956486434270798accef4)
+++ chapter06/man-pages.xml	(revision 851829a70359aefbaada8ce167b4f772848b819c)
@@ -26,5 +26,5 @@
       <seglistitem>
         <seg>0.1 SBU</seg>
-        <seg>18.6 MB</seg>
+        <seg>18.7 MB</seg>
       </seglistitem>
     </segmentedlist>
Index: chapter06/perl.xml
===================================================================
--- chapter06/perl.xml	(revision e02afe02557114c28ca956486434270798accef4)
+++ chapter06/perl.xml	(revision 851829a70359aefbaada8ce167b4f772848b819c)
@@ -44,15 +44,4 @@
   <sect2 role="installation">
     <title>Installation of Perl</title>
-
-    <para>A security vulnerability exists in Perl's sprintf function. Apply the
-    following patch to fix it.</para>
-
-<screen><userinput>patch -Np1 -i ../&perl-sprintf-patch;</userinput></screen>
-
-    <para>The DB_File module that comes with Perl-&perl-version; is incompatible
-    with Berkeley DB-&db-version; (the testsuite fails if this module gets built).
-    Apply the following patch in order to update the DB_File module:</para>
-
-<screen><userinput>patch -Np1 -i ../&perl-db_file-patch;</userinput></screen>
 
     <para>First create a basic <filename>/etc/hosts</filename> file which will be
Index: chapter06/readline.xml
===================================================================
--- chapter06/readline.xml	(revision e02afe02557114c28ca956486434270798accef4)
+++ chapter06/readline.xml	(revision 851829a70359aefbaada8ce167b4f772848b819c)
@@ -44,4 +44,9 @@
   <sect2 role="installation">
     <title>Installation of Readline</title>
+
+    <para>Upstream developers have fixed several issues since the initial
+    release of Readline-&readline-version;.  Apply those fixes:</para>
+
+<screen><userinput>patch -Np1 -i ../&readline-fixes-patch;</userinput></screen>
 
     <para>Prepare Readline for compilation:</para>
Index: chapter06/sed.xml
===================================================================
--- chapter06/sed.xml	(revision e02afe02557114c28ca956486434270798accef4)
+++ chapter06/sed.xml	(revision 851829a70359aefbaada8ce167b4f772848b819c)
@@ -26,5 +26,5 @@
       <seglistitem>
         <seg>0.2 SBU</seg>
-        <seg>8.4 MB</seg>
+        <seg>7.9 MB</seg>
       </seglistitem>
     </segmentedlist>
@@ -44,14 +44,18 @@
     <title>Installation of Sed</title>
 
-    <para>By default, Sed installs its HTML documentation in
-    <filename class="directory">/usr/share/doc</filename>.  Alter this to
-    <filename class="directory">/usr/share/doc/sed-&sed-version;</filename> by
-    applying the following <command>sed</command>:</para>
-
-<screen><userinput>sed -i 's@/doc@&amp;/sed-&sed-version;@' doc/Makefile.in</userinput></screen>
-
     <para>Prepare Sed for compilation:</para>
 
-<screen><userinput>./configure --prefix=/usr --bindir=/bin</userinput></screen>
+<screen><userinput>./configure --prefix=/usr --bindir=/bin --enable-html</userinput></screen>
+
+    <variablelist>
+      <title>The meaning of the new configure option:</title>
+
+      <varlistentry>
+        <term><parameter>--enable-html</parameter></term>
+        <listitem>
+          <para>This builds the HTML documentation.</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
 
     <para>Compile the package:</para>
