aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/procinfo-exp.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/procinfo-exp.xml')
-rw-r--r--chapter06/procinfo-exp.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/chapter06/procinfo-exp.xml b/chapter06/procinfo-exp.xml
new file mode 100644
index 000000000..0b0684ff7
--- /dev/null
+++ b/chapter06/procinfo-exp.xml
@@ -0,0 +1,14 @@
+<sect2>
+<title>Command explanations</title>
+
+<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
+and tell make to use that alternate file. We do this because libtermcap
+is declared obsolete in favour of libncurses.
+</para>
+
+</sect2>
+