aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chapter03/chapter03.xml12
-rw-r--r--chapter04/chapter04.xml8
-rw-r--r--chapter04/packages.xml144
-rw-r--r--entities/autoconf.ent2
-rw-r--r--entities/automake.ent2
-rw-r--r--entities/bash.ent2
-rw-r--r--entities/bin86.ent2
-rw-r--r--entities/binutils.ent2
-rw-r--r--entities/bison.ent2
-rw-r--r--entities/bootscripts.ent2
-rw-r--r--entities/bzip2.ent2
-rw-r--r--entities/chapter03.ent10
-rw-r--r--entities/chapter04.ent10
-rw-r--r--entities/diffutils.ent2
-rw-r--r--entities/e2fsprogs.ent2
-rw-r--r--entities/ed.ent4
-rw-r--r--entities/file.ent2
-rw-r--r--entities/fileutils.ent4
-rw-r--r--entities/findutils.ent6
-rw-r--r--entities/flex.ent2
-rw-r--r--entities/gawk.ent4
-rw-r--r--entities/gcc.ent4
-rw-r--r--entities/gettext.ent2
-rw-r--r--entities/glibc.ent6
-rw-r--r--entities/grep.ent2
-rw-r--r--entities/groff.ent2
-rw-r--r--entities/gzip.ent4
-rw-r--r--entities/kbd.ent4
-rw-r--r--entities/kernel.ent2
-rw-r--r--entities/less.ent2
-rw-r--r--entities/libtool.ent4
-rw-r--r--entities/lilo.ent2
-rw-r--r--entities/m4.ent2
-rw-r--r--entities/make.ent2
-rw-r--r--entities/makedev.ent2
-rw-r--r--entities/man.ent4
-rw-r--r--entities/manpages.ent2
-rw-r--r--entities/modutils.ent2
-rw-r--r--entities/ncurses.ent2
-rw-r--r--entities/netkitbase.ent2
-rw-r--r--entities/nettools.ent2
-rw-r--r--entities/patch.ent2
-rw-r--r--entities/perl.ent4
-rw-r--r--entities/procinfo.ent2
-rw-r--r--entities/procps.ent4
-rw-r--r--entities/psmisc.ent2
-rw-r--r--entities/sed.ent2
-rw-r--r--entities/shadow.ent2
-rw-r--r--entities/shellutils.ent6
-rw-r--r--entities/sysklogd.ent2
-rw-r--r--entities/sysvinit.ent2
-rw-r--r--entities/tar.ent4
-rw-r--r--entities/texinfo.ent2
-rw-r--r--entities/textutils.ent2
-rw-r--r--entities/utillinux.ent2
-rw-r--r--entities/vim.ent4
-rw-r--r--entities/zlib.ent2
57 files changed, 162 insertions, 162 deletions
diff --git a/chapter03/chapter03.xml b/chapter03/chapter03.xml
index eb2f2e7ec..31a7e074d 100644
--- a/chapter03/chapter03.xml
+++ b/chapter03/chapter03.xml
@@ -1,10 +1,10 @@
-<chapter id="chapter04">
+<chapter id="chapter03">
<title>Preparing a new partition</title>
-<?dbhtml filename="chapter04.html" dir="chapter04"?>
+<?dbhtml filename="chapter03.html" dir="chapter03"?>
-&c4-introduction;
-&c4-creatingpart;
-&c4-creatingfs;
-&c4-mounting;
+&c3-introduction;
+&c3-creatingpart;
+&c3-creatingfs;
+&c3-mounting;
</chapter>
diff --git a/chapter04/chapter04.xml b/chapter04/chapter04.xml
index b71e0b8c0..687ba5264 100644
--- a/chapter04/chapter04.xml
+++ b/chapter04/chapter04.xml
@@ -1,9 +1,9 @@
-<chapter id="chapter03">
+<chapter id="chapter04">
<title>Packages that need to be downloaded</title>
-<?dbhtml filename="chapter03.html" dir="chapter03"?>
+<?dbhtml filename="chapter04.html" dir="chapter04"?>
-&c3-introduction;
-&c3-packages;
+&c4-introduction;
+&c4-packages;
</chapter>
diff --git a/chapter04/packages.xml b/chapter04/packages.xml
index 54783d1fe..0092efa50 100644
--- a/chapter04/packages.xml
+++ b/chapter04/packages.xml
@@ -1,78 +1,78 @@
-<sect1 id="ch03-packages">
+<sect1 id="ch04-packages">
<title>Packages that need to be downloaded</title>
-<?dbhtml filename="packages.html" dir="chapter03"?>
+<?dbhtml filename="packages.html" dir="chapter04"?>
<literallayout>
-&c3-toplevel;
-&c3-all;
-&c3-autoconf;
-&c3-automake;
-&c3-bash;
-&c3-bin86;
-&c3-binutils;
-&c3-bison;
-&c3-bzip2;
-&c3-diffutils;
-&c3-e2fsprogs;
-&c3-ed;
-&c3-ed-patch;
-&c3-file;
-&c3-fileutils;
-&c3-fileutils-patch;
-&c3-findutils;
-&c3-findutils-patch;
-&c3-flex;
-&c3-gawk;
-&c3-gawk-patch;
-&c3-gcc;
-&c3-gcc-patch;
-&c3-gettext;
-&c3-glibc;
-&c3-glibc-patch;
-&c3-glibc-threads;
-&c3-grep;
-&c3-groff;
-&c3-gzip;
-&c3-gzip-patch;
-&c3-kbd;
-&c3-kbd-patch;
-&c3-less;
-&c3-bootscripts;
-&c3-libtool;
-&c3-libtool-patch;
-&c3-lilo;
-&c3-kernel;
-&c3-m4;
-&c3-make;
-&c3-makedev;
-&c3-man;
-&c3-man-patch;
-&c3-manpages;
-&c3-modutils;
-&c3-ncurses;
-&c3-netkitbase;
-&c3-nettools;
-&c3-patch;
-&c3-perl;
-&c3-procinfo;
-&c3-procps;
-&c3-procps-patch;
-&c3-psmisc;
-&c3-sed;
-&c3-shadowpwd;
-&c3-shellutils;
-&c3-shellutils-hostname-patch;
-&c3-shellutils-patch;
-&c3-sysklogd;
-&c3-sysvinit;
-&c3-tar;
-&c3-tar-patch;
-&c3-texinfo;
-&c3-textutils;
-&c3-utillinux;
-&c3-vim;
-&c3-vim-patch;
-&c3-zlib;
+&c4-toplevel;
+&c4-all;
+&c4-autoconf;
+&c4-automake;
+&c4-bash;
+&c4-bin86;
+&c4-binutils;
+&c4-bison;
+&c4-bzip2;
+&c4-diffutils;
+&c4-e2fsprogs;
+&c4-ed;
+&c4-ed-patch;
+&c4-file;
+&c4-fileutils;
+&c4-fileutils-patch;
+&c4-findutils;
+&c4-findutils-patch;
+&c4-flex;
+&c4-gawk;
+&c4-gawk-patch;
+&c4-gcc;
+&c4-gcc-patch;
+&c4-gettext;
+&c4-glibc;
+&c4-glibc-patch;
+&c4-glibc-threads;
+&c4-grep;
+&c4-groff;
+&c4-gzip;
+&c4-gzip-patch;
+&c4-kbd;
+&c4-kbd-patch;
+&c4-less;
+&c4-bootscripts;
+&c4-libtool;
+&c4-libtool-patch;
+&c4-lilo;
+&c4-kernel;
+&c4-m4;
+&c4-make;
+&c4-makedev;
+&c4-man;
+&c4-man-patch;
+&c4-manpages;
+&c4-modutils;
+&c4-ncurses;
+&c4-netkitbase;
+&c4-nettools;
+&c4-patch;
+&c4-perl;
+&c4-procinfo;
+&c4-procps;
+&c4-procps-patch;
+&c4-psmisc;
+&c4-sed;
+&c4-shadowpwd;
+&c4-shellutils;
+&c4-shellutils-hostname-patch;
+&c4-shellutils-patch;
+&c4-sysklogd;
+&c4-sysvinit;
+&c4-tar;
+&c4-tar-patch;
+&c4-texinfo;
+&c4-textutils;
+&c4-utillinux;
+&c4-vim;
+&c4-vim-patch;
+&c4-zlib;
Total size of all packages: &all-size-kb; (&all-size-mb;)
</literallayout>
diff --git a/entities/autoconf.ent b/entities/autoconf.ent
index 6b9fca240..3cd6947e5 100644
--- a/entities/autoconf.ent
+++ b/entities/autoconf.ent
@@ -1,4 +1,4 @@
-<!ENTITY c3-autoconf SYSTEM "../chapter03/autoconf.xml">
+<!ENTITY c4-autoconf SYSTEM "../chapter04/autoconf.xml">
<!ENTITY c6-autoconf SYSTEM "../chapter06/autoconf.xml">
<!ENTITY c6-autoconf-inst SYSTEM "../chapter06/autoconf-inst.xml">
diff --git a/entities/automake.ent b/entities/automake.ent
index 149bd397a..0c1131bfe 100644
--- a/entities/automake.ent
+++ b/entities/automake.ent
@@ -1,4 +1,4 @@
-<!ENTITY c3-automake SYSTEM "../chapter03/automake.xml">
+<!ENTITY c4-automake SYSTEM "../chapter04/automake.xml">
<!ENTITY c6-automake SYSTEM "../chapter06/automake.xml">
<!ENTITY c6-automake-inst SYSTEM "../chapter06/automake-inst.xml">
diff --git a/entities/bash.ent b/entities/bash.ent
index cd7916965..3b2df4831 100644
--- a/entities/bash.ent
+++ b/entities/bash.ent
@@ -1,4 +1,4 @@
-<!ENTITY c3-bash SYSTEM "../chapter03/bash.xml">
+<!ENTITY c4-bash SYSTEM "../chapter04/bash.xml">
<!ENTITY c5-bash SYSTEM "../chapter05/bash.xml">
<!ENTITY c5-bash-inst SYSTEM "../chapter05/bash-inst.xml">
diff --git a/entities/bin86.ent b/entities/bin86.ent
index 12963f697..2a629ef9f 100644
--- a/entities/bin86.ent
+++ b/entities/bin86.ent
@@ -1,4 +1,4 @@
-<!ENTITY c3-bin86 SYSTEM "../chapter03/bin86.xml">
+<!ENTITY c4-bin86 SYSTEM "../chapter04/bin86.xml">
<!ENTITY c6-bin86 SYSTEM "../chapter06/bin86.xml">
<!ENTITY c6-bin86-inst SYSTEM "../chapter06/bin86-inst.xml">
diff --git a/entities/binutils.ent b/entities/binutils.ent
index f06d51e32..337ae8aa0 100644
--- a/entities/binutils.ent
+++ b/entities/binutils.ent
@@ -1,4 +1,4 @@
-<!ENTITY c3-binutils SYSTEM "../chapter03/binutils.xml">
+<!ENTITY c4-binutils SYSTEM "../chapter04/binutils.xml">
<!ENTITY c5-binutils SYSTEM "../chapter05/binutils.xml">
<!ENTITY c5-binutils-inst SYSTEM "../chapter05/binutils-inst.xml">
diff --git a/entities/bison.ent b/entities/bison.ent
index 130c2f4c1..20ba83713 100644
--- a/entities/bison.ent
+++ b/entities/bison.ent
@@ -1,4 +1,4 @@
-<!ENTITY c3-bison SYSTEM "../chapter03/bison.xml">
+<!ENTITY c4-bison SYSTEM "../chapter04/bison.xml">
<!ENTITY c6-bison SYSTEM "../chapter06/bison.xml">
<!ENTITY c6-bison-inst SYSTEM "../chapter06/bison-inst.xml">
diff --git a/entities/bootscripts.ent b/entities/bootscripts.ent
index 3b93cc704..d444b3c2d 100644
--- a/entities/bootscripts.ent
+++ b/entities/bootscripts.ent
@@ -1,4 +1,4 @@
-<!ENTITY c3-bootscripts SYSTEM "../chapter03/bootscripts.xml">
+<!ENTITY c4-bootscripts SYSTEM "../chapter04/bootscripts.xml">
<!ENTITY c6-bootscripts SYSTEM "../chapter06/bootscripts.xml">
<!ENTITY c6-bootscripts-inst SYSTEM "../chapter06/bootscripts-inst.xml">
diff --git a/entities/bzip2.ent b/entities/bzip2.ent
index 5ca40133f..bd70c1a2c 100644
--- a/entities/bzip2.ent
+++ b/entities/bzip2.ent
@@ -1,4 +1,4 @@
-<!ENTITY c3-bzip2 SYSTEM "../chapter03/bzip2.xml">
+<!ENTITY c4-bzip2 SYSTEM "../chapter04/bzip2.xml">
<!ENTITY c5-bzip2 SYSTEM "../chapter05/bzip2.xml">
<!ENTITY c5-bzip2-inst SYSTEM "../chapter05/bzip2-inst.xml">
diff --git a/entities/chapter03.ent b/entities/chapter03.ent
index 061eac3f4..5df5c9f86 100644
--- a/entities/chapter03.ent
+++ b/entities/chapter03.ent
@@ -1,5 +1,5 @@
-<!ENTITY chapter04 SYSTEM "../chapter04/chapter04.xml">
-<!ENTITY c4-introduction SYSTEM "../chapter04/introduction.xml">
-<!ENTITY c4-creatingpart SYSTEM "../chapter04/creatingpart.xml">
-<!ENTITY c4-creatingfs SYSTEM "../chapter04/creatingfs.xml">
-<!ENTITY c4-mounting SYSTEM "../chapter04/mounting.xml">
+<!ENTITY chapter03 SYSTEM "../chapter03/chapter03.xml">
+<!ENTITY c3-introduction SYSTEM "../chapter03/introduction.xml">
+<!ENTITY c3-creatingpart SYSTEM "../chapter03/creatingpart.xml">
+<!ENTITY c3-creatingfs SYSTEM "../chapter03/creatingfs.xml">
+<!ENTITY c3-mounting SYSTEM "../chapter03/mounting.xml">
diff --git a/entities/chapter04.ent b/entities/chapter04.ent
index e0266ab5f..ebaf3c09e 100644
--- a/entities/chapter04.ent
+++ b/entities/chapter04.ent
@@ -1,5 +1,5 @@
-<!ENTITY chapter03 SYSTEM "../chapter03/chapter03.xml">
-<!ENTITY c3-introduction SYSTEM "../chapter03/introduction.xml">
-<!ENTITY c3-packages SYSTEM "../chapter03/packages.xml">
-<!ENTITY c3-toplevel SYSTEM "../chapter03/toplevel.xml">
-<!ENTITY c3-all SYSTEM "../chapter03/all.xml">
+<!ENTITY chapter04 SYSTEM "../chapter04/chapter04.xml">
+<!ENTITY c4-introduction SYSTEM "../chapter04/introduction.xml">
+<!ENTITY c4-packages SYSTEM "../chapter04/packages.xml">
+<!ENTITY c4-toplevel SYSTEM "../chapter04/toplevel.xml">
+<!ENTITY c4-all SYSTEM "../chapter04/all.xml">
diff --git a/entities/diffutils.ent b/entities/diffutils.ent
index bc5be4456..4be11e950 100644
--- a/entities/diffutils.ent
+++ b/entities/diffutils.ent
@@ -1,4 +1,4 @@
-<!ENTITY c3-diffutils SYSTEM "../chapter03/diffutils.xml">
+<!ENTITY c4-diffutils SYSTEM "../chapter04/diffutils.xml">
<!ENTITY c5-diffutils SYSTEM "../chapter05/diffutils.xml">
<!ENTITY c5-diffutils-inst SYSTEM "../chapter05/diffutils-inst.xml">
diff --git a/entities/e2fsprogs.ent b/entities/e2fsprogs.ent
index 6e6ee7710..5747b22ff 100644
--- a/entities/e2fsprogs.ent
+++ b/entities/e2fsprogs.ent
@@ -1,4 +1,4 @@
-<!ENTITY c3-e2fsprogs SYSTEM "../chapter03/e2fsprogs.xml">
+<!ENTITY c4-e2fsprogs SYSTEM "../chapter04/e2fsprogs.xml">
<!ENTITY c6-e2fsprogs SYSTEM "../chapter06/e2fsprogs.xml">
<!ENTITY c6-e2fsprogs-inst SYSTEM "../chapter06/e2fsprogs-inst.xml">
diff --git a/entities/ed.ent b/entities/ed.ent
index 5b0647115..352e8132c 100644
--- a/entities/ed.ent
+++ b/entities/ed.ent
@@ -1,5 +1,5 @@
-<!ENTITY c3-ed SYSTEM "../chapter03/ed.xml">
-<!ENTITY c3-ed-patch SYSTEM "../chapter03/ed-patch.xml">
+<!ENTITY c4-ed SYSTEM "../chapter04/ed.xml">
+<!ENTITY c4-ed-patch SYSTEM "../chapter04/ed-patch.xml">
<!ENTITY c6-ed SYSTEM "../chapter06/ed.xml">
<!ENTITY c6-ed-inst SYSTEM "../chapter06/ed-inst.xml">
diff --git a/entities/file.ent b/entities/file.ent
index a734ce390..e42d69728 100644
--- a/entities/file.ent
+++ b/entities/file.ent
@@ -1,4 +1,4 @@
-<!ENTITY c3-file SYSTEM "../chapter03/file.xml">
+<!ENTITY c4-file SYSTEM "../chapter04/file.xml">
<!ENTITY c6-file SYSTEM "../chapter06/file.xml">
<!ENTITY c6-file-inst SYSTEM "../chapter06/file-inst.xml">
diff --git a/entities/fileutils.ent b/entities/fileutils.ent
index 1f8ffdd64..9ccf022a9 100644
--- a/entities/fileutils.ent
+++ b/entities/fileutils.ent
@@ -1,5 +1,5 @@
-<!ENTITY c3-fileutils SYSTEM "../chapter03/fileutils.xml">
-<!ENTITY c3-fileutils-patch SYSTEM "../chapter03/fileutils-patch.xml">
+<!ENTITY c4-fileutils SYSTEM "../chapter04/fileutils.xml">
+<!ENTITY c4-fileutils-patch SYSTEM "../chapter04/fileutils-patch.xml">
<!ENTITY c5-fileutils SYSTEM "../chapter05/fileutils.xml">
<!ENTITY c5-fileutils-inst SYSTEM "../chapter05/fileutils-inst.xml">
diff --git a/entities/findutils.ent b/entities/findutils.ent
index 2db8250b9..3176346c5 100644
--- a/entities/findutils.ent
+++ b/entities/findutils.ent
@@ -1,6 +1,6 @@
-<!ENTITY c3-findutils SYSTEM "../chapter03/findutils.xml">
-<!ENTITY c3-findutils-patch SYSTEM "../chapter03/findutils-patch.xml">
-<!ENTITY c3-findutils-segfault-patch SYSTEM "../chapter03/findutils-patch.xml">
+<!ENTITY c4-findutils SYSTEM "../chapter04/findutils.xml">
+<!ENTITY c4-findutils-patch SYSTEM "../chapter04/findutils-patch.xml">
+<!ENTITY c4-findutils-segfault-patch SYSTEM "../chapter04/findutils-patch.xml">
<!ENTITY c5-findutils SYSTEM "../chapter05/findutils.xml">
<!ENTITY c5-findutils-exp SYSTEM "../chapter05/findutils-exp.xml">
diff --git a/entities/flex.ent b/entities/flex.ent
index e5ad971a8..22323b004 100644
--- a/entities/flex.ent
+++ b/entities/flex.ent
@@ -1,4 +1,4 @@
-<!ENTITY c3-flex SYSTEM "../chapter03/flex.xml">
+<!ENTITY c4-flex SYSTEM "../chapter04/flex.xml">
<!ENTITY c6-flex SYSTEM "../chapter06/flex.xml">
<!ENTITY c6-flex-inst SYSTEM "../chapter06/flex-inst.xml">
diff --git a/entities/gawk.ent b/entities/gawk.ent
index 4beb7271e..9ccbd2ff7 100644
--- a/entities/gawk.ent
+++ b/entities/gawk.ent
@@ -1,5 +1,5 @@
-<!ENTITY c3-gawk SYSTEM "../chapter03/gawk.xml">
-<!ENTITY c3-gawk-patch SYSTEM "../chapter03/gawk-patch.xml">
+<!ENTITY c4-gawk SYSTEM "../chapter04/gawk.xml">
+<!ENTITY c4-gawk-patch SYSTEM "../chapter04/gawk-patch.xml">
<!ENTITY c5-gawk SYSTEM "../chapter05/gawk.xml">
<!ENTITY c5-gawk-inst SYSTEM "../chapter05/gawk-inst.xml">
diff --git a/entities/gcc.ent b/entities/gcc.ent
index 348a6c678..05377d893 100644
--- a/entities/gcc.ent
+++ b/entities/gcc.ent
@@ -1,5 +1,5 @@
-<!ENTITY c3-gcc SYSTEM "../chapter03/gcc.xml">
-<!ENTITY c3-gcc-patch SYSTEM "../chapter03/gcc-patch.xml">
+<!ENTITY c4-gcc SYSTEM "../chapter04/gcc.xml">
+<!ENTITY c4-gcc-patch SYSTEM "../chapter04/gcc-patch.xml">
<!ENTITY c5-gcc SYSTEM "../chapter05/gcc.xml">
<!ENTITY c5-gcc-inst SYSTEM "../chapter05/gcc-inst.xml">
diff --git a/entities/gettext.ent b/entities/gettext.ent
index e2fd7b12a..812ccc7a7 100644
--- a/entities/gettext.ent
+++ b/entities/gettext.ent
@@ -1,4 +1,4 @@
-<!ENTITY c3-gettext SYSTEM "../chapter03/gettext.xml">
+<!ENTITY c4-gettext SYSTEM "../chapter04/gettext.xml">
<!ENTITY c6-gettext SYSTEM "../chapter06/gettext.xml">
<!ENTITY c6-gettext-inst SYSTEM "../chapter06/gettext-inst.xml">
diff --git a/entities/glibc.ent b/entities/glibc.ent
index eb87d1aa4..bbedc7de4 100644
--- a/entities/glibc.ent
+++ b/entities/glibc.ent
@@ -1,6 +1,6 @@
-<!ENTITY c3-glibc SYSTEM "../chapter03/glibc.xml">
-<!ENTITY c3-glibc-threads SYSTEM "../chapter03/glibc-threads.xml">
-<!ENTITY c3-glibc-patch SYSTEM "../chapter03/glibc-patch.xml">
+<!ENTITY c4-glibc SYSTEM "../chapter04/glibc.xml">
+<!ENTITY c4-glibc-threads SYSTEM "../chapter04/glibc-threads.xml">
+<!ENTITY c4-glibc-patch SYSTEM "../chapter04/glibc-patch.xml">
<!ENTITY c6-glibc SYSTEM "../chapter06/glibc.xml">
<!ENTITY c6-glibc-inst SYSTEM "../chapter06/glibc-inst.xml">
diff --git a/entities/grep.ent b/entities/grep.ent
index 74b27404d..29885d7af 100644
--- a/entities/grep.ent
+++ b/entities/grep.ent
@@ -1,4 +1,4 @@
-<!ENTITY c3-grep SYSTEM "../chapter03/grep.xml">
+<!ENTITY c4-grep SYSTEM "../chapter04/grep.xml">
<!ENTITY c5-grep SYSTEM "../chapter05/grep.xml">
<!ENTITY c5-grep-inst SYSTEM "../chapter05/grep-inst.xml">
diff --git a/entities/groff.ent b/entities/groff.ent
index 4c92fae43..139a82673 100644
--- a/entities/groff.ent
+++ b/entities/groff.ent
@@ -1,4 +1,4 @@
-<!ENTITY c3-groff SYSTEM "../chapter03/groff.xml">
+<!ENTITY c4-groff SYSTEM "../chapter04/groff.xml">
<!ENTITY c6-groff SYSTEM "../chapter06/groff.xml">
<!ENTITY c6-groff-inst SYSTEM "../chapter06/groff-inst.xml">
diff --git a/entities/gzip.ent b/entities/gzip.ent
index acab63634..fde666891 100644
--- a/entities/gzip.ent
+++ b/entities/gzip.ent
@@ -1,5 +1,5 @@
-<!ENTITY c3-gzip SYSTEM "../chapter03/gzip.xml">
-<!ENTITY c3-gzip-patch SYSTEM "../chapter03/gzip-patch.xml">
+<!ENTITY c4-gzip SYSTEM "../chapter04/gzip.xml">
+<!ENTITY c4-gzip-patch SYSTEM "../chapter04/gzip-patch.xml">
<!ENTITY c5-gzip SYSTEM "../chapter05/gzip.xml">
<!ENTITY c5-gzip-inst SYSTEM "../chapter05/gzip-inst.xml">
diff --git a/entities/kbd.ent b/entities/kbd.ent
index 2f7bed518..9f79c470e 100644
--- a/entities/kbd.ent
+++ b/entities/kbd.ent
@@ -1,5 +1,5 @@
-<!ENTITY c3-kbd SYSTEM "../chapter03/kbd.xml">
-<!ENTITY c3-kbd-patch SYSTEM "../chapter03/kbd-patch.xml">
+<!ENTITY c4-kbd SYSTEM "../chapter04/kbd.xml">
+<!ENTITY c4-kbd-patch SYSTEM "../chapter04/kbd-patch.xml">
<!ENTITY c6-kbd SYSTEM "../chapter06/kbd.xml">
<!ENTITY c6-kbd-inst SYSTEM "../chapter06/kbd-inst.xml">
diff --git a/entities/kernel.ent b/entities/kernel.ent
index 8a68a6ebb..c0cff7d4d 100644
--- a/entities/kernel.ent
+++ b/entities/kernel.ent
@@ -1,4 +1,4 @@
-<!ENTITY c3-kernel SYSTEM "../chapter03/kernel.xml">
+<!ENTITY c4-kernel SYSTEM "../chapter04/kernel.xml">
<!ENTITY c6-kernel SYSTEM "../chapter06/kernel.xml">
<!ENTITY c6-kernel-inst SYSTEM "../chapter06/kernel-inst.xml">
diff --git a/entities/less.ent b/entities/less.ent
index 5f469b535..6ca4f2449 100644
--- a/entities/less.ent
+++ b/entities/less.ent
@@ -1,4 +1,4 @@
-<!ENTITY c3-less SYSTEM "../chapter03/less.xml">
+<!ENTITY c4-less SYSTEM "../chapter04/less.xml">
<!ENTITY c6-less SYSTEM "../chapter06/less.xml">
<!ENTITY c6-less-inst SYSTEM "../chapter06/less-inst.xml">
diff --git a/entities/libtool.ent b/entities/libtool.ent
index c24a19b6f..e17b26476 100644
--- a/entities/libtool.ent
+++ b/entities/libtool.ent
@@ -1,5 +1,5 @@
-<!ENTITY c3-libtool SYSTEM "../chapter03/libtool.xml">
-<!ENTITY c3-libtool-patch SYSTEM "../chapter03/libtool-patch.xml">
+<!ENTITY c4-libtool SYSTEM "../chapter04/libtool.xml">
+<!ENTITY c4-libtool-patch SYSTEM "../chapter04/libtool-patch.xml">
<!ENTITY c6-libtool SYSTEM "../chapter06/libtool.xml">
<!ENTITY c6-libtool-inst SYSTEM "../chapter06/libtool-inst.xml">
diff --git a/entities/lilo.ent b/entities/lilo.ent
index 68d44c93e..1a8eceb3b 100644
--- a/entities/lilo.ent
+++ b/entities/lilo.ent
@@ -1,4 +1,4 @@
-<!ENTITY c3-lilo SYSTEM "../chapter03/lilo.xml">
+<!ENTITY c4-lilo SYSTEM "../chapter04/lilo.xml">
<!ENTITY c6-lilo SYSTEM "../chapter06/lilo.xml">
<!ENTITY c6-lilo-inst SYSTEM "../chapter06/lilo-inst.xml">
diff --git a/entities/m4.ent b/entities/m4.ent
index c4d439f65..0d98b0f36 100644
--- a/entities/m4.ent
+++ b/entities/m4.ent
@@ -1,4 +1,4 @@
-<!ENTITY c3-m4 SYSTEM "../chapter03/m4.xml">
+<!ENTITY c4-m4 SYSTEM "../chapter04/m4.xml">
<!ENTITY c6-m4 SYSTEM "../chapter06/m4.xml">
<!ENTITY c6-m4-inst SYSTEM "../chapter06/m4-inst.xml">
diff --git a/entities/make.ent b/entities/make.ent
index bd67510b7..5f0a9ca03 100644
--- a/entities/make.ent
+++ b/entities/make.ent
@@ -1,4 +1,4 @@
-<!ENTITY c3-make SYSTEM "../chapter03/make.xml">
+<!ENTITY c4-make SYSTEM "../chapter04/make.xml">
<!ENTITY c5-make SYSTEM "../chapter05/make.xml">
<!ENTITY c5-make-inst SYSTEM "../chapter05/make-inst.xml">
diff --git a/entities/makedev.ent b/entities/makedev.ent
index 2e7ce78d7..783d3e17c 100644
--- a/entities/makedev.ent
+++ b/entities/makedev.ent
@@ -1,4 +1,4 @@
-<!ENTITY c3-makedev SYSTEM "../chapter03/makedev.xml">
+<!ENTITY c4-makedev SYSTEM "../chapter04/makedev.xml">
<!ENTITY c6-makedev SYSTEM "../chapter06/makedev.xml">
<!ENTITY c6-makedev-inst SYSTEM "../chapter06/makedev-inst.xml">
diff --git a/entities/man.ent b/entities/man.ent
index 7ffe254ac..c1e941b95 100644
--- a/entities/man.ent
+++ b/entities/man.ent
@@ -1,5 +1,5 @@
-<!ENTITY c3-man SYSTEM "../chapter03/man.xml">
-<!ENTITY c3-man-patch SYSTEM "../chapter03/man-patch.xml">
+<!ENTITY c4-man SYSTEM "../chapter04/man.xml">
+<!ENTITY c4-man-patch SYSTEM "../chapter04/man-patch.xml">
<!ENTITY c6-man SYSTEM "../chapter06/man.xml">
<!ENTITY c6-man-inst SYSTEM "../chapter06/man-inst.xml">
diff --git a/entities/manpages.ent b/entities/manpages.ent
index fe38536d7..f2033041b 100644
--- a/entities/manpages.ent
+++ b/entities/manpages.ent
@@ -1,4 +1,4 @@
-<!ENTITY c3-manpages SYSTEM "../chapter03/manpages.xml">
+<!ENTITY c4-manpages SYSTEM "../chapter04/manpages.xml">
<!ENTITY c6-manpages SYSTEM "../chapter06/manpages.xml">
<!ENTITY c6-manpages-inst SYSTEM "../chapter06/manpages-inst.xml">
diff --git a/entities/modutils.ent b/entities/modutils.ent
index dd7f20ccc..6e6ddb02e 100644
--- a/entities/modutils.ent
+++ b/entities/modutils.ent
@@ -1,4 +1,4 @@
-<!ENTITY c3-modutils SYSTEM "../chapter03/modutils.xml">
+<!ENTITY c4-modutils SYSTEM "../chapter04/modutils.xml">
<!ENTITY c6-modutils SYSTEM "../chapter06/modutils.xml">
<!ENTITY c6-modutils-inst SYSTEM "../chapter06/modutils-inst.xml">
diff --git a/entities/ncurses.ent b/entities/ncurses.ent
index d5cd3bc21..7c207a07f 100644
--- a/entities/ncurses.ent
+++ b/entities/ncurses.ent
@@ -1,4 +1,4 @@
-<!ENTITY c3-ncurses SYSTEM "../chapter03/ncurses.xml">
+<!ENTITY c4-ncurses SYSTEM "../chapter04/ncurses.xml">
<!ENTITY c6-ncurses SYSTEM "../chapter06/ncurses.xml">
<!ENTITY c6-ncurses-inst SYSTEM "../chapter06/ncurses-inst.xml">
diff --git a/entities/netkitbase.ent b/entities/netkitbase.ent
index 723df9f55..e0e11bff0 100644
--- a/entities/netkitbase.ent
+++ b/entities/netkitbase.ent
@@ -1,4 +1,4 @@
-<!ENTITY c3-netkitbase SYSTEM "../chapter03/netkitbase.xml">
+<!ENTITY c4-netkitbase SYSTEM "../chapter04/netkitbase.xml">
<!ENTITY c6-netkitbase SYSTEM "../chapter06/netkitbase.xml">
<!ENTITY c6-netkitbase-inst SYSTEM "../chapter06/netkitbase-inst.xml">
diff --git a/entities/nettools.ent b/entities/nettools.ent
index b6f6453f9..1505c8c78 100644
--- a/entities/nettools.ent
+++ b/entities/nettools.ent
@@ -1,4 +1,4 @@
-<!ENTITY c3-nettools SYSTEM "../chapter03/nettools.xml">
+<!ENTITY c4-nettools SYSTEM "../chapter04/nettools.xml">
<!ENTITY c6-nettools SYSTEM "../chapter06/nettools.xml">
<!ENTITY c6-nettools-inst SYSTEM "../chapter06/nettools-inst.xml">
diff --git a/entities/patch.ent b/entities/patch.ent
index c5d7453a0..f6197fb6b 100644
--- a/entities/patch.ent
+++ b/entities/patch.ent
@@ -1,4 +1,4 @@
-<!ENTITY c3-patch SYSTEM "../chapter03/patch.xml">
+<!ENTITY c4-patch SYSTEM "../chapter04/patch.xml">
<!ENTITY c5-patch SYSTEM "../chapter05/patch.xml">
<!ENTITY c5-patch-inst SYSTEM "../chapter05/patch-inst.xml">
diff --git a/entities/perl.ent b/entities/perl.ent
index 04aaaf029..199ee8a74 100644
--- a/entities/perl.ent
+++ b/entities/perl.ent
@@ -1,5 +1,5 @@
-<!ENTITY c3-perl SYSTEM "../chapter03/perl.xml">
-<!ENTITY c3-perl-patch SYSTEM "../chapter03/perl-patch.xml">
+<!ENTITY c4-perl SYSTEM "../chapter04/perl.xml">
+<!ENTITY c4-perl-patch SYSTEM "../chapter04/perl-patch.xml">
<!ENTITY c6-perl SYSTEM "../chapter06/perl.xml">
<!ENTITY c6-perl-inst SYSTEM "../chapter06/perl-inst.xml">
diff --git a/entities/procinfo.ent b/entities/procinfo.ent
index f143ba376..11e50e86d 100644
--- a/entities/procinfo.ent
+++ b/entities/procinfo.ent
@@ -1,4 +1,4 @@
-<!ENTITY c3-procinfo SYSTEM "../chapter03/procinfo.xml">
+<!ENTITY c4-procinfo SYSTEM "../chapter04/procinfo.xml">
<!ENTITY c6-procinfo SYSTEM "../chapter06/procinfo.xml">
<!ENTITY c6-procinfo-exp SYSTEM "../chapter06/procinfo-exp.xml">
diff --git a/entities/procps.ent b/entities/procps.ent
index 1e474f82b..145f3e16b 100644
--- a/entities/procps.ent
+++ b/entities/procps.ent
@@ -1,5 +1,5 @@
-<!ENTITY c3-procps SYSTEM "../chapter03/procps.xml">
-<!ENTITY c3-procps-patch SYSTEM "../chapter03/procps-patch.xml">
+<!ENTITY c4-procps SYSTEM "../chapter04/procps.xml">
+<!ENTITY c4-procps-patch SYSTEM "../chapter04/procps-patch.xml">
<!ENTITY c6-procps SYSTEM "../chapter06/procps.xml">
<!ENTITY c6-procps-inst SYSTEM "../chapter06/procps-inst.xml">
diff --git a/entities/psmisc.ent b/entities/psmisc.ent
index 8d08f1dd9..41d409dd2 100644
--- a/entities/psmisc.ent
+++ b/entities/psmisc.ent
@@ -1,4 +1,4 @@
-<!ENTITY c3-psmisc SYSTEM "../chapter03/psmisc.xml">
+<!ENTITY c4-psmisc SYSTEM "../chapter04/psmisc.xml">
<!ENTITY c6-psmisc SYSTEM "../chapter06/psmisc.xml">
<!ENTITY c6-psmisc-inst SYSTEM "../chapter06/psmisc-inst.xml">
diff --git a/entities/sed.ent b/entities/sed.ent
index 7b03dd845..be5bcf4f1 100644
--- a/entities/sed.ent
+++ b/entities/sed.ent
@@ -1,4 +1,4 @@
-<!ENTITY c3-sed SYSTEM "../chapter03/sed.xml">
+<!ENTITY c4-sed SYSTEM "../chapter04/sed.xml">
<!ENTITY c5-sed SYSTEM "../chapter05/sed.xml">
<!ENTITY c5-sed-inst SYSTEM "../chapter05/sed-inst.xml">
diff --git a/entities/shadow.ent b/entities/shadow.ent
index 0fe8b2af5..3b8924444 100644
--- a/entities/shadow.ent
+++ b/entities/shadow.ent
@@ -1,4 +1,4 @@
-<!ENTITY c3-shadowpwd SYSTEM "../chapter03/shadowpwd.xml">
+<!ENTITY c4-shadowpwd SYSTEM "../chapter04/shadowpwd.xml">
<!ENTITY c6-shadowpwd SYSTEM "../chapter06/shadowpwd.xml">
<!ENTITY c6-shadowpwd-inst SYSTEM "../chapter06/shadowpwd-inst.xml">
diff --git a/entities/shellutils.ent b/entities/shellutils.ent
index 592a7fe11..ee5c7262b 100644
--- a/entities/shellutils.ent
+++ b/entities/shellutils.ent
@@ -1,6 +1,6 @@
-<!ENTITY c3-shellutils SYSTEM "../chapter03/shellutils.xml">
-<!ENTITY c3-shellutils-hostname-patch SYSTEM "../chapter03/shellutils-hostname-patch.xml">
-<!ENTITY c3-shellutils-patch SYSTEM "../chapter03/shellutils-patch.xml">
+<!ENTITY c4-shellutils SYSTEM "../chapter04/shellutils.xml">
+<!ENTITY c4-shellutils-hostname-patch SYSTEM "../chapter04/shellutils-hostname-patch.xml">
+<!ENTITY c4-shellutils-patch SYSTEM "../chapter04/shellutils-patch.xml">
<!ENTITY c5-shellutils SYSTEM "../chapter05/shellutils.xml">
<!ENTITY c5-shellutils-inst SYSTEM "../chapter05/shellutils-inst.xml">
diff --git a/entities/sysklogd.ent b/entities/sysklogd.ent
index 1c8c09933..7032bcaed 100644
--- a/entities/sysklogd.ent
+++ b/entities/sysklogd.ent
@@ -1,4 +1,4 @@
-<!ENTITY c3-sysklogd SYSTEM "../chapter03/sysklogd.xml">
+<!ENTITY c4-sysklogd SYSTEM "../chapter04/sysklogd.xml">
<!ENTITY c6-sysklogd SYSTEM "../chapter06/sysklogd.xml">
<!ENTITY c6-sysklogd-inst SYSTEM "../chapter06/sysklogd-inst.xml">
diff --git a/entities/sysvinit.ent b/entities/sysvinit.ent
index 2c2cb16ba..aa8981901 100644
--- a/entities/sysvinit.ent
+++ b/entities/sysvinit.ent
@@ -1,4 +1,4 @@
-<!ENTITY c3-sysvinit SYSTEM "../chapter03/sysvinit.xml">
+<!ENTITY c4-sysvinit SYSTEM "../chapter04/sysvinit.xml">
<!ENTITY c6-sysvinit SYSTEM "../chapter06/sysvinit.xml">
<!ENTITY c6-sysvinit-inst SYSTEM "../chapter06/sysvinit-inst.xml">
diff --git a/entities/tar.ent b/entities/tar.ent
index 7ceb3c4a3..e1d3e4765 100644
--- a/entities/tar.ent
+++ b/entities/tar.ent
@@ -1,5 +1,5 @@
-<!ENTITY c3-tar SYSTEM "../chapter03/tar.xml">
-<!ENTITY c3-tar-patch SYSTEM "../chapter03/tar-patch.xml">
+<!ENTITY c4-tar SYSTEM "../chapter04/tar.xml">
+<!ENTITY c4-tar-patch SYSTEM "../chapter04/tar-patch.xml">
<!ENTITY c5-tar SYSTEM "../chapter05/tar.xml">
<!ENTITY c5-tar-inst SYSTEM "../chapter05/tar-inst.xml">
diff --git a/entities/texinfo.ent b/entities/texinfo.ent
index 213c59d54..965db8ef9 100644
--- a/entities/texinfo.ent
+++ b/entities/texinfo.ent
@@ -1,4 +1,4 @@
-<!ENTITY c3-texinfo SYSTEM "../chapter03/texinfo.xml">
+<!ENTITY c4-texinfo SYSTEM "../chapter04/texinfo.xml">
<!ENTITY c5-texinfo SYSTEM "../chapter05/texinfo.xml">
<!ENTITY c5-texinfo-inst SYSTEM "../chapter05/texinfo-inst.xml">
diff --git a/entities/textutils.ent b/entities/textutils.ent
index ddf9fd3be..9d85068d2 100644
--- a/entities/textutils.ent
+++ b/entities/textutils.ent
@@ -1,4 +1,4 @@
-<!ENTITY c3-textutils SYSTEM "../chapter03/textutils.xml">
+<!ENTITY c4-textutils SYSTEM "../chapter04/textutils.xml">
<!ENTITY c5-textutils SYSTEM "../chapter05/textutils.xml">
<!ENTITY c5-textutils-inst SYSTEM "../chapter05/textutils-inst.xml">
diff --git a/entities/utillinux.ent b/entities/utillinux.ent
index bbe53be3c..6a5fc05be 100644
--- a/entities/utillinux.ent
+++ b/entities/utillinux.ent
@@ -1,4 +1,4 @@
-<!ENTITY c3-utillinux SYSTEM "../chapter03/utillinux.xml">
+<!ENTITY c4-utillinux SYSTEM "../chapter04/utillinux.xml">
<!ENTITY c5-utillinux SYSTEM "../chapter05/utillinux.xml">
<!ENTITY c5-utillinux-inst SYSTEM "../chapter05/utillinux-inst.xml">
diff --git a/entities/vim.ent b/entities/vim.ent
index 353d264a7..316aecf68 100644
--- a/entities/vim.ent
+++ b/entities/vim.ent
@@ -1,5 +1,5 @@
-<!ENTITY c3-vim SYSTEM "../chapter03/vim.xml">
-<!ENTITY c3-vim-patch SYSTEM "../chapter03/vim-patch.xml">
+<!ENTITY c4-vim SYSTEM "../chapter04/vim.xml">
+<!ENTITY c4-vim-patch SYSTEM "../chapter04/vim-patch.xml">
<!ENTITY c6-vim SYSTEM "../chapter06/vim.xml">
<!ENTITY c6-vim-inst SYSTEM "../chapter06/vim-inst.xml">
diff --git a/entities/zlib.ent b/entities/zlib.ent
index 1fc89fda9..2db600e28 100644
--- a/entities/zlib.ent
+++ b/entities/zlib.ent
@@ -1,4 +1,4 @@
-<!ENTITY c3-zlib SYSTEM "../chapter03/zlib.xml">
+<!ENTITY c4-zlib SYSTEM "../chapter04/zlib.xml">
<!ENTITY c6-zlib SYSTEM "../chapter06/zlib.xml">
<!ENTITY c6-zlib-inst SYSTEM "../chapter06/zlib-inst.xml">