the dosed section in the ebuild.5 man page is slightly broken, it prints: dosed "s:orig:change:g" <filename> Performs sed (including cp/mv filename) on file- name. <B4<B4>dosed "s:/usr/local:/usr:g" /usr/bin/some-script' runs sed on ${D}/usr/bin/some-script The <B4<B4> stuff shouldn't be there. I've written a patch which fixes it by copying the syntax of the dodir section a little bit below it. Please check that this is the right way to do it, I don't know manpage stuff very well.
Created attachment 11889 [details, diff] fixes the dosed weirdness in the man page
Added, thanks.