Hi Kyle,
There is a sed regression between older 12.1 and 13-current likely
caused by libregex changes. I will try to bisect:
Can you have a look at this:
Expected result:
printf "#define MEDIA_BUS_FMT_SRGGB16_1X16\t\t\t0x3020\n" | sed -e 's/.*FMT_//; s/\t.*//; s/.*/{
\"&\", MEDIA_BUS_FMT_& },/;'
{ "SRGGB16_1X16", MEDIA_BUS_FMT_SRGGB16_1X16 },
Bad result:
printf "#define MEDIA_BUS_FMT_SRGGB16_1X16\t\t\t0x3020\n" | sed -e 's/.*FMT_//; s/\t.*//; s/.*/{
\"&\", MEDIA_BUS_FMT_& },/;'
{ "SRGGB16_1X16 0x3020", MEDIA_BUS_FMT_SRGGB16_1X16
0x3020 },
A little further inspection shows \t does not work like expected in:
s/\t.*//;
Trying to quickly bisect.
--HPS
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"