diff --git a/chapter05/adjusting.xml b/chapter05/adjusting.xml
index 4e9727fc7..bad013455 100644
--- a/chapter05/adjusting.xml
+++ b/chapter05/adjusting.xml
@@ -19,7 +19,7 @@
to be renamed so that it can be properly found and used. First, backup the
original linker, then replace it with the adjusted linker. We'll also
create a link to its counterpart in
- /tools/$(gcc -dumpmachine)/bin
+ /tools/$(gcc -dumpmachine)/bin:
mv -v /tools/bin/{ld,ld-old}
mv -v /tools/$(gcc -dumpmachine)/bin/{ld,ld-old}
@@ -37,7 +37,7 @@ ln -sv /tools/bin/ld /tools/$(gcc -dumpmachine)/bin/ldFor the sake of accuracy, it is recommended to use a copy-and-paste
method when issuing the following command. Be sure to visually inspect the
specs file and verify that all occurrences of /lib/ld-linux.so.2
- have been replaced with /tools/lib/ld-linux.so.2.
+ have been replaced with /tools/lib/ld-linux.so.2:
If working on a platform where the name of the dynamic linker is
diff --git a/chapter05/expect.xml b/chapter05/expect.xml
index 4d92964c1..c813839fe 100644
--- a/chapter05/expect.xml
+++ b/chapter05/expect.xml
@@ -43,7 +43,7 @@
Next, force Expect's configure script to use /bin/stty
instead of a /usr/local/bin/stty it may find on the host system.
This will ensure that our testsuite tools remain sane for the final builds of our
- toolchain.
+ toolchain:cp configure{,.bak}
sed 's:/usr/local/bin:/bin:' configure.bak > configure
diff --git a/chapter05/gcc-pass1.xml b/chapter05/gcc-pass1.xml
index 7f2354fdd..75331bed3 100644
--- a/chapter05/gcc-pass1.xml
+++ b/chapter05/gcc-pass1.xml
@@ -131,7 +131,7 @@ cd ../gcc-build
used to keep programs generic and therefore usable on all kinds of UNIX
systems where the GNU C compiler is not always installed. Running
cc leaves the system administrator free to decide
- which C compiler to install.
+ which C compiler to install:
ln -vs gcc /tools/bin/cc
diff --git a/chapter05/gcc-pass2.xml b/chapter05/gcc-pass2.xml
index df1dd5094..92874a456 100644
--- a/chapter05/gcc-pass2.xml
+++ b/chapter05/gcc-pass2.xml
@@ -78,7 +78,7 @@ sed 's@\./fixinc\.sh@-c true@' gcc/Makefile.in.orig > gcc/Makefile.in-fomit-frame-pointer compiler flag.
Non-bootstrap builds omit this flag by default, so apply the following
sed to use it in order to ensure consistent compiler
- builds.
+ builds:
cp -v gcc/Makefile.in{,.tmp} &&
sed 's/^XCFLAGS =$/& -fomit-frame-pointer/' gcc/Makefile.in.tmp \
diff --git a/chapter06/bison.xml b/chapter06/bison.xml
index 67156fb10..cb4822e17 100644
--- a/chapter06/bison.xml
+++ b/chapter06/bison.xml
@@ -41,7 +41,7 @@
The configure system causes bison to be built without support for
internationalization of error messages if a bison
program is not already in $PATH. The following addition will correct
- this.
+ this:
echo '#define YYENABLE_NLS 1' >> config.h
diff --git a/chapter06/createfiles.xml b/chapter06/createfiles.xml
index 1edb40b93..4aa8d987c 100644
--- a/chapter06/createfiles.xml
+++ b/chapter06/createfiles.xml
@@ -37,7 +37,7 @@
Some programs use hard-wired paths to programs which do not exist yet. In
order to satisfy these programs, create a number of symbolic links which will be
replaced by real files throughout the course of this chapter after the software
- has been installed.
+ has been installed:
ln -sv /tools/bin/{bash,cat,grep,pwd,stty} /bin
ln -sv /tools/bin/perl /usr/bin
@@ -109,7 +109,7 @@ EOF
linkend="chapter-temporary-tools"/> and the
/etc/passwd and /etc/group
files have been created, user name and group name resolution will now
- work.
+ work:
exec /tools/bin/bash --login +h
diff --git a/chapter06/gcc.xml b/chapter06/gcc.xml
index 261b81a77..66fdad552 100644
--- a/chapter06/gcc.xml
+++ b/chapter06/gcc.xml
@@ -46,7 +46,7 @@
built GCC with the compiler flag.
Non-bootstrap builds omit this flag by default, so apply the following
sed to use it in order to ensure consistent compiler
- builds.
+ builds:
sed -i 's/^XCFLAGS =$/& -fomit-frame-pointer/' gcc/Makefile.in
@@ -62,7 +62,7 @@
compile time whether mktemp is present, and hardcodes the result in a test.
This will cause the script to fall back to using less random names for
temporary files. We will be installing mktemp later, so the following sed
- will simulate its presence.
+ will simulate its presence:
sed -i 's/@have_mktemp_command@/yes/' gcc/gccbug.in
diff --git a/chapter06/gzip.xml b/chapter06/gzip.xml
index 3d09edace..a819a884a 100644
--- a/chapter06/gzip.xml
+++ b/chapter06/gzip.xml
@@ -50,7 +50,7 @@
make install
- Move some programs that do not need to be on the root filesystem.
+ Move some programs that do not need to be on the root filesystem:mv -v /bin/{gzexe,uncompress,zcmp,zdiff,zegrep} /usr/bin
mv -v /bin/{zfgrep,zforce,zgrep,zless,zmore,znew} /usr/bin
diff --git a/chapter06/man-db.xml b/chapter06/man-db.xml
index 3c1822d29..cc20e8bad 100644
--- a/chapter06/man-db.xml
+++ b/chapter06/man-db.xml
@@ -117,7 +117,7 @@ EOF
encoding when it displays them, so that they will display in both UTF-8
and traditional locales. Because this script is intended for limited use
during the system build, for public data, we will not bother with error
- checking, nor use a non-predictable temporary file name.
+ checking, nor use a non-predictable temporary file name:
cat >> convert-mans << "EOF"
#!/bin/sh -e
diff --git a/chapter06/patch.xml b/chapter06/patch.xml
index fc733196f..beaac68a1 100644
--- a/chapter06/patch.xml
+++ b/chapter06/patch.xml
@@ -36,7 +36,7 @@
Installation of Patch
- Prepare Patch for compilation.
+ Prepare Patch for compilation:./configure --prefix=/usr
diff --git a/chapter06/perl.xml b/chapter06/perl.xml
index 6abe77805..9c9104eee 100644
--- a/chapter06/perl.xml
+++ b/chapter06/perl.xml
@@ -37,7 +37,7 @@
First create a basic /etc/hosts file which will be
referenced in one of Perl's configuration files as well as being used used by
- the testsuite if you run that.
+ the testsuite if you run that:
echo "127.0.0.1 localhost $(hostname)" > /etc/hosts
diff --git a/chapter06/readjusting.xml b/chapter06/readjusting.xml
index f7fce4c32..63d7a0dce 100644
--- a/chapter06/readjusting.xml
+++ b/chapter06/readjusting.xml
@@ -25,7 +25,7 @@
First, backup the /tools linker,
and replace it with the adjusted linker we made in chapter 5. We'll also create
a link to its counterpart in /tools/$(gcc
- -dumpmachine)/bin.
+ -dumpmachine)/bin:
mv -v /tools/bin/{ld,ld-old}
mv -v /tools/$(gcc -dumpmachine)/bin/{ld,ld-old}
@@ -35,7 +35,7 @@ ln -sv /tools/bin/ld /tools/$(gcc -dumpmachine)/bin/ldNext, amend the GCC specs file so that it points to the new
dynamic linker, and so that GCC knows where to find the correct headers
and Glibc start files. A sed command accomplishes
- this.
+ this:
If working on a platform where the name of the dynamic linker is
diff --git a/chapter06/shadow.xml b/chapter06/shadow.xml
index f51d53ffc..a1d5bccdb 100644
--- a/chapter06/shadow.xml
+++ b/chapter06/shadow.xml
@@ -81,7 +81,7 @@ find man -name Makefile -exec sed -i 's/groups\.1 / /' {} \;Shadow supplies other manual pages in a UTF-8 encoding. Man-DB
can display these in the recommended encodings by using the
- convert-mans script which we installed.
+ convert-mans script which we installed:
for i in de es fi fr id it pt_BR; do
convert-mans UTF-8 ISO-8859-1 man/${i}/*.?
@@ -101,7 +101,7 @@ convert-mans UTF-8 ISO-8859-9 man/tr/*.?
passwords longer than 8 characters. It is also necessary to change the
obsolete /var/spool/mail location
for user mailboxes that Shadow uses by default to the /var/mail location used currently.
+ class="directory">/var/mail location used currently:
sed -i -e 's@#MD5_CRYPT_ENAB.no@MD5_CRYPT_ENAB yes@' \
-e 's@/var/spool/mail@/var/mail@' etc/login.defs
diff --git a/chapter07/console.xml b/chapter07/console.xml
index be36fd80c..8a614ea7d 100644
--- a/chapter07/console.xml
+++ b/chapter07/console.xml
@@ -153,7 +153,7 @@ EOF
a framebuffer is used. If one wants to have bright colors without
framebuffer and can live without characters not belonging to his language,
it is still possible to use a language-specific 256-glyph font, as
- illustrated below.
+ illustrated below:
cat > /etc/sysconfig/console << "EOF"
# Begin /etc/sysconfig/console