Greg Schafer wrote:

sed -i.bak \
        -e '/def.*BYTE/s,^/\* ,,' \
        -e '/def.*BYTE/s, \*/$,,' \
        include/freetype/config/ftoption.h

Tho' there is probably a better way...


Not sure if it's better, but it's shorter:

sed -i '[EMAIL PROTECTED]/\* \(.*BYTE.*\) \*/@\1@' \
    include/freetype/config/ftoption.h

Ends up producing this diff:

-/* #define TT_CONFIG_OPTION_BYTECODE_INTERPRETER */
+#define TT_CONFIG_OPTION_BYTECODE_INTERPRETER

--
JH
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to