aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/file-inst.xml7
1 files changed, 1 insertions, 6 deletions
diff --git a/chapter06/file-inst.xml b/chapter06/file-inst.xml
index 94a03afa6..cc1e0990c 100644
--- a/chapter06/file-inst.xml
+++ b/chapter06/file-inst.xml
@@ -1,15 +1,10 @@
<sect2>
<title>Installation of File</title>
-<para>Note that the sed used in this installation only works if the line
-break is placed exactly where it below. Don't try and put it
-all on one line otherwise it won't work.</para>
-
<para>Install File by running the following commands:</para>
<para><screen><userinput>cp readelf.h readelf.h.backup &amp;&amp;</userinput>
-<userinput>sed '/#define __/a \</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;#include &lt;stdint.h&gt;' readelf.h.backup &gt; readelf.h &amp;&amp;</userinput>
+<userinput>sed $'/#define __/a \\\n#include &lt;stdint.h&gt;' readelf.h.backup &gt; readelf.h &amp;&amp;</userinput>
<userinput>./configure --prefix=/usr --datadir=/usr/share/misc &amp;&amp;</userinput>
<userinput>make &amp;&amp;</userinput>
<userinput>make install</userinput></screen></para>