From 56c46bdd54faadaf94b6780a29faf8950c5cfd88 Mon Sep 17 00:00:00 2001 From: Gerard Beekmans Date: Wed, 29 Aug 2001 20:22:38 +0000 Subject: fixed sed command (removed necessary newline) git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1118 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/file-inst.xml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'chapter06') 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 @@ Installation of File -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. - Install File by running the following commands: cp readelf.h readelf.h.backup && -sed '/#define __/a \ -   #include <stdint.h>' readelf.h.backup > readelf.h && +sed $'/#define __/a \\\n#include <stdint.h>' readelf.h.backup > readelf.h && ./configure --prefix=/usr --datadir=/usr/share/misc && make && make install -- cgit v1.2.3-54-g00ecf