diff options
author | Gerard Beekmans <gerard@linuxfromscratch.org> | 2001-08-29 20:22:38 +0000 |
---|---|---|
committer | Gerard Beekmans <gerard@linuxfromscratch.org> | 2001-08-29 20:22:38 +0000 |
commit | 56c46bdd54faadaf94b6780a29faf8950c5cfd88 (patch) | |
tree | dd9885695bbd54f638ba9c1063356ff9020f81b4 | |
parent | e30bc19d79cdcb592ee1c22ec48781183becdeae (diff) |
fixed sed command (removed necessary newline)
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1118 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-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> |