aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/procinfo-exp.xml
diff options
context:
space:
mode:
authorMark Hymers <markh@linuxfromscratch.org>2001-08-15 12:50:02 +0000
committerMark Hymers <markh@linuxfromscratch.org>2001-08-15 12:50:02 +0000
commit8f5efb62001439e55fbacf47e2b4a9f21b6faa01 (patch)
tree2da80211de9958c3003fbc2721ba240c7b0a41c5 /chapter06/procinfo-exp.xml
parent2bcd77192f30d42f7001d711e33a94a86a3eedf1 (diff)
Bug 125: simplify seds
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@973 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/procinfo-exp.xml')
-rw-r--r--chapter06/procinfo-exp.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/chapter06/procinfo-exp.xml b/chapter06/procinfo-exp.xml
index 18a53165a..fc880cb73 100644
--- a/chapter06/procinfo-exp.xml
+++ b/chapter06/procinfo-exp.xml
@@ -1,7 +1,7 @@
<sect2>
<title>Command explanations</title>
-<para><userinput>sed "s/-ltermcap/-lncurses/" Makefile | make -f -:</userinput>
+<para><userinput>sed 's/-ltermcap/-lncurses/' Makefile | make -f -:</userinput>
This will replace -ltermcap with -lncurses in the Makefile and pipe the
output of sed (the modified Makefile) directly to the make program. This
is an alternate and more efficient way to direct the output to a file