aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/ed-inst.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/ed-inst.xml')
-rw-r--r--chapter06/ed-inst.xml18
1 files changed, 9 insertions, 9 deletions
diff --git a/chapter06/ed-inst.xml b/chapter06/ed-inst.xml
index e464ed438..ba774a895 100644
--- a/chapter06/ed-inst.xml
+++ b/chapter06/ed-inst.xml
@@ -8,15 +8,15 @@ need to use ed, you can skip it.</para>
<para>Install Ed by running the following commands:</para>
-<para><screen><userinput>cp buf.c buf.c.backup &amp;&amp;</userinput>
-<userinput>sed 's/int u/int u, sfd/' buf.c.backup | \</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;sed '/.*\*mktemp.*/d' | \</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;sed 's/.*if (mktemp.*/ sfd = mkstemp(sfn);\</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;if ((sfd == -1) || (sfp = fopen (sfn, "w+")) == NULL)/' &gt; buf.c &amp;&amp;</userinput>
-<userinput>./configure --prefix=/usr &amp;&amp;</userinput>
-<userinput>make &amp;&amp;</userinput>
-<userinput>make install &amp;&amp;</userinput>
-<userinput>mv /usr/bin/ed /usr/bin/red /bin</userinput></screen></para>
+<para><screen><userinput>cp buf.c buf.c.backup &amp;&amp;
+sed 's/int u/int u, sfd/' buf.c.backup | \
+&nbsp;&nbsp;&nbsp;sed '/.*\*mktemp.*/d' | \
+&nbsp;&nbsp;&nbsp;sed 's/.*if (mktemp.*/ sfd = mkstemp(sfn);\
+&nbsp;&nbsp;&nbsp;if ((sfd == -1) || (sfp = fopen (sfn, "w+")) == NULL)/' &gt; buf.c &amp;&amp;
+./configure --prefix=/usr &amp;&amp;
+make &amp;&amp;
+make install &amp;&amp;
+mv /usr/bin/ed /usr/bin/red /bin</userinput></screen></para>
</sect2>