diff --git a/appendices/dependencies.xml b/appendices/dependencies.xml
index 6493aa1f9..3ad5c0097 100644
--- a/appendices/dependencies.xml
+++ b/appendices/dependencies.xml
@@ -244,7 +244,7 @@
&dependencies;
- Bash, Binutils, Coreutils, GCC, Glibc, Grep, and Make
+ Bash, Binutils, Coreutils, GCC, Glibc, Grep, Make, and Readline
@@ -2615,7 +2615,7 @@
&before;
- Bash and Gawk
+ Bash, Bc, and Gawk
diff --git a/bootscripts/lfs/init.d/cleanfs b/bootscripts/lfs/init.d/cleanfs
index c75923c34..9ab994fcc 100644
--- a/bootscripts/lfs/init.d/cleanfs
+++ b/bootscripts/lfs/init.d/cleanfs
@@ -105,7 +105,7 @@ case "${1}" in
(exit ${failed})
evaluate_retval
- if egrep -qv '^(#|$)' /etc/sysconfig/createfiles 2>/dev/null; then
+ if grep -E -qv '^(#|$)' /etc/sysconfig/createfiles 2>/dev/null; then
log_info_msg "Creating files and directories... "
create_files # Always returns 0
evaluate_retval
diff --git a/bootscripts/lfs/init.d/modules b/bootscripts/lfs/init.d/modules
index 3ef4cec0d..19d7b1388 100644
--- a/bootscripts/lfs/init.d/modules
+++ b/bootscripts/lfs/init.d/modules
@@ -35,7 +35,7 @@ case "${1}" in
# Exit if there's no modules file or there are no
# valid entries
[ -r /etc/sysconfig/modules ] || exit 0
- egrep -qv '^($|#)' /etc/sysconfig/modules || exit 0
+ grep -E -qv '^($|#)' /etc/sysconfig/modules || exit 0
log_info_msg "Loading modules:"
diff --git a/chapter08/bc.xml b/chapter08/bc.xml
index 9678ddd54..4493f8219 100644
--- a/chapter08/bc.xml
+++ b/chapter08/bc.xml
@@ -43,7 +43,7 @@
Prepare Bc for compilation:
-CC=gcc ./configure --prefix=/usr -G -O3
+CC=gcc ./configure --prefix=/usr -G -O3 -r
The meaning of the configure options:
@@ -55,6 +55,14 @@
+
+ -G
+
+ Omit parts of the test suite that won't work
+ without a GNU bc present.
+
+
+
-O3
@@ -63,10 +71,10 @@
- -G
+ -r
- Omit parts of the test suite that won't work
- without a GNU bc present.
+ Enable the use of Readline to
+ improve the line editing feature of bc.
diff --git a/chapter08/grep.xml b/chapter08/grep.xml
index d06a1ba85..9861d239f 100644
--- a/chapter08/grep.xml
+++ b/chapter08/grep.xml
@@ -77,7 +77,8 @@
egrep
- Prints lines matching an extended regular expression
+ Prints lines matching an extended regular expression.
+ It is obsoleted, use grep -E instead
egrep
@@ -87,7 +88,8 @@
fgrep
- Prints lines matching a list of fixed strings
+ Prints lines matching a list of fixed strings.
+ It is obsoleted, use grep -F instead
fgrep
diff --git a/chapter08/openssl.xml b/chapter08/openssl.xml
index ab8d33054..5bd7af62d 100644
--- a/chapter08/openssl.xml
+++ b/chapter08/openssl.xml
@@ -201,8 +201,11 @@ rm -rf DESTDIR
c_rehash
- is a Perl script that scans all files in
- a directory and adds symbolic links to their hash values
+ is a Perl script that
+ scans all files in a directory and adds symbolic links to their
+ hash values. Use of c_rehash is considered
+ obsolete and should be replaced by
+ openssl rehash command
c_rehash