aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/bzip2-exp.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05/bzip2-exp.xml')
-rw-r--r--chapter05/bzip2-exp.xml10
1 files changed, 5 insertions, 5 deletions
diff --git a/chapter05/bzip2-exp.xml b/chapter05/bzip2-exp.xml
index 64735fb61..d3b74f9a0 100644
--- a/chapter05/bzip2-exp.xml
+++ b/chapter05/bzip2-exp.xml
@@ -3,7 +3,7 @@
<para>
<userinput>sed: </userinput> The sed command here searches for the
-string "$(CC) $(CFLAGS) -o" and replaced it by "$(CC) $(CFLAGS)
+string "$(CC) $(CFLAGS) -o" and replaces it by "$(CC) $(CFLAGS)
$(LDFLAGS) -o" in the Makefile file. We make that modification so it
will be easier to link bzip2 statically.
</para>
@@ -11,10 +11,10 @@ will be easier to link bzip2 statically.
<para>
<userinput>...Makefile | make -f -:</userinput> Makefile
is the last parameter of the sed command which indicates the file to
-search and replace in. sed normally sends the modified file to stdout
-(standard output) which will be the console. With the construction we
-use, sed's output will be piped to the make program. Normally when make
-is started it tries to find a number of files like Makefile. But we have
+search and replace in. Sed normally sends the modified file to stdout
+(standard output), which will be the console. With the construction we
+use, sed's output will be piped to the make program. Normally, when make
+is started, it tries to find a number of files like Makefile. But we have
modified the Makefile file so we don't want make to use it. The "-f -"
parameter tells make to read it's input from another file, or from stdin
(standard input) which the dash (-) implies. This is one way to do it.