diff --git a/chapter05/gawk.xml b/chapter05/gawk.xml
index 8a3ba4d92..87a95f48e 100644
--- a/chapter05/gawk.xml
+++ b/chapter05/gawk.xml
@@ -46,7 +46,7 @@
e.g., Gettext testsuite failures. Work around this issue by appending the
missing macro definitions to config.h:
-cat >>config.h <<"EOF"
+cat >> config.h << "EOF"
#define HAVE_LANGINFO_CODESET 1
#define HAVE_LC_MESSAGES 1
EOF
diff --git a/chapter06/gawk.xml b/chapter06/gawk.xml
index 5c157bc03..cb45bb9cd 100644
--- a/chapter06/gawk.xml
+++ b/chapter06/gawk.xml
@@ -49,7 +49,7 @@
e.g., Gettext testsuite failures. Work around this issue by appending the
missing macro definitions to config.h:
-cat >>config.h <<"EOF"
+cat >> config.h << "EOF"
#define HAVE_LANGINFO_CODESET 1
#define HAVE_LC_MESSAGES 1
EOF
diff --git a/chapter06/man-db.xml b/chapter06/man-db.xml
index 482ae7a17..82b374447 100644
--- a/chapter06/man-db.xml
+++ b/chapter06/man-db.xml
@@ -57,7 +57,7 @@ sed -i 's,\*_\*,??,' man/Makefile.in
The third change accounts for programs that Man-DB should be able
to find at runtime, but that haven't been installed yet:
-cat >>include/manconfig.h.in <<"EOF"
+cat >> include/manconfig.h.in << "EOF"
#define WEB_BROWSER "exec /usr/bin/lynx"
#define COL "/usr/bin/col"
#define VGRIND "/usr/bin/vgrind"
@@ -119,7 +119,7 @@ EOF
during the system build, for public data, we will not bother with error
checking, nor use a non-predictable temporary file name.
-cat >>convert-mans <<"EOF"
+cat >> convert-mans << "EOF"
#!/bin/sh -e
FROM="$1"
TO="$2"
diff --git a/chapter07/symlinks.xml b/chapter07/symlinks.xml
index 4775403ae..d19ce4155 100644
--- a/chapter07/symlinks.xml
+++ b/chapter07/symlinks.xml
@@ -32,7 +32,7 @@
location of the device on the bus. If you are going to use the first
approach, create a file similar to the following:
-cat >/etc/udev/rules.d/82-cdrom.rules << EOF
+cat > /etc/udev/rules.d/82-cdrom.rules << EOF
# Custom CD-ROM symlinks
SUBSYSTEM=="block", ENV{ID_MODEL}=="SAMSUNG_CD-ROM_SC-148F", \
@@ -64,7 +64,7 @@ EOF
The second approach yields:
-cat >/etc/udev/rules.d/82-cdrom.rules << EOF
+cat > /etc/udev/rules.d/82-cdrom.rules << EOF
# Custom CD-ROM symlinks
SUBSYSTEM=="block", ENV{ID_TYPE}=="cd", \
@@ -116,7 +116,7 @@ EOF
Then write rules that create the symlinks, e.g.:
-cat >/etc/udev/rules.d/83-duplicate_devs.rules << EOF
+cat > /etc/udev/rules.d/83-duplicate_devs.rules << EOF
# Persistent symlinks for webcam and tuner
KERNEL=="video*", SYSFS{idProduct}=="1910", SYSFS{idVendor}=="0d81", \
diff --git a/general.ent b/general.ent
index 8e56fb497..52284f46a 100644
--- a/general.ent
+++ b/general.ent
@@ -1,6 +1,6 @@
-
-
+
+