Randy McMurchy wrote:

> What I meant to say was that it would be a *long* sed expression.
> However, using /1 syntax we can probably keep it under 70 chars.

Here's what I've been using:

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

Tho' there is probably a better way...

Regards
Greg
-- 
http://www.diy-linux.org/

-- 
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