On 8/1/07 14:50, "John Levon" <levon@xxxxxxxxxxxxxxxxx> wrote:
>> snippet from xen/include/Makefile:
>>
>> sed -e 's,__InClUdE__,#include,' \
>> -e 's,"xen-compat.h",<public/xen-compat.h>,' \
>> -e 's,\(struct\|union\|enum\)[[:space:]]\+\(xen_\?\)\?
>> \([[:alpha:]_]\),\1 compat_\3,g' \
>
> It's very unlikely that Solaris sed does too, which I suppose explains
> the xen-compat.h issue at least.
Either we need to stipulate GNU sed, or re-code some of this stuff in Python
or Perl (probably Python, since that's already a dependency for the tools).
My hope would be that it would magically become a bit more readable. :-)
-- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|