diff --git a/Makefile b/Makefile
index 1a60086d0..701dc1861 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,5 @@
BASEDIR=~/lfs-book
+DUMPDIR=~/lfs-commands
CHUNK_QUIET=0
PDF_OUTPUT=LFS-BOOK.pdf
NOCHUNKS_OUTPUT=LFS-BOOK.html
@@ -61,6 +62,10 @@ nochunks:
sed -i -e "s@text/html@application/xhtml+xml@g" \
$(BASEDIR)/$(NOCHUNKS_OUTPUT)
+dump-commands:
+ xsltproc --xinclude --nonet --output $(DUMPDIR)/ \
+ stylesheets/dump-commands.xsl index.xml
+
validate:
xmllint --noout --nonet --xinclude --postvalid index.xml
diff --git a/chapter02/creatingfilesystem.xml b/chapter02/creatingfilesystem.xml
index aa79776a5..414ca6a77 100644
--- a/chapter02/creatingfilesystem.xml
+++ b/chapter02/creatingfilesystem.xml
@@ -29,7 +29,7 @@ e2fsprogs; you will get an error similar to unsupported filesystem
features, upgrade your e2fsprogs
. To check if your host system
uses custom enhancements, run the following command:
-debugfs -R feature /dev/[xxx]
+debugfs -R feature /dev/[xxx]
If the output contains features other than: dir_index; filetype;
large_file; resize_inode or sparse_super then your host system may have custom
@@ -37,7 +37,7 @@ enhancements. In that case, to avoid later problems, you should compile the
stock e2fsprogs package and use the resulting binaries to re-create the
filesystem on your LFS partition:
-cd /tmp
+cd /tmp
tar xjf /path/to/sources/e2fsprogs-&e2fsprogs-version;.tar.bz2
cd e2fsprogs-&e2fsprogs-version;
mkdir build
diff --git a/prologue/typography.xml b/prologue/typography.xml
index 84ff4ca16..b101817fe 100644
--- a/prologue/typography.xml
+++ b/prologue/typography.xml
@@ -12,7 +12,7 @@ conventions used throughout this book. This section contains some
examples of the typographical format found throughout Linux From
Scratch.
-./configure --prefix=/usr
+./configure --prefix=/usr
This form of text is designed to be typed exactly as seen unless
otherwise noted in the surrounding text. It is also used in the
@@ -37,7 +37,7 @@ purpose is to emphasize important points or items.
community and to external pages. It includes HOWTOs, download locations,
and websites.
-cat > $LFS/etc/group << "EOF"
+cat > $LFS/etc/group << "EOF"
root:x:0:
bin:x:1:
......
diff --git a/stylesheets/dump-commands.xsl b/stylesheets/dump-commands.xsl
new file mode 100644
index 000000000..a91bb1cac
--- /dev/null
+++ b/stylesheets/dump-commands.xsl
@@ -0,0 +1,84 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 00
+
+
+
+ 0
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ # Run this as root
+
+ # End root commands
+
+
+
+
+
+
+
+
+
+
+
+
+ # This block must be edited to suit your needs.
+
+
+
+
+
+ # End of editable block.
+
+
+
+
+
+ **EDITME
+
+ EDITME**
+
+
+