fixed sed command (removed necessary newline)

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1118 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Gerard Beekmans 2001-08-29 20:22:38 +00:00
parent e30bc19d79
commit 56c46bdd54

View File

@ -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>