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