diff options
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/file-inst.xml | 7 |
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 &&</userinput> -<userinput>sed '/#define __/a \</userinput> -<userinput> #include <stdint.h>' readelf.h.backup > readelf.h &&</userinput> +<userinput>sed $'/#define __/a \\\n#include <stdint.h>' readelf.h.backup > readelf.h &&</userinput> <userinput>./configure --prefix=/usr --datadir=/usr/share/misc &&</userinput> <userinput>make &&</userinput> <userinput>make install</userinput></screen></para> |