On Saturday 03 May 2014 05:10, Rich Felker wrote: > On Wed, Apr 30, 2014 at 10:31:00AM +0200, Natanael Copa wrote: > > Hi, > > > > I came across a bug (or feature) in busybox sed when trying to build > > firefox-29. > > > > Testcase based on what firefox's configure scripts does: > > > > ASCII='AA' > > NONASCII=$'\246\246' > > > > echo -e "($ASCII)\n($NONASCII)" | busybox sed 's/$/,/' > > The above script is invalid; \246\246 is an illegal sequence and thus > is rejected by regexec. It will work only on non-UTF-8 systems/locales > (which musl does not support).
Lets refuse to find end of line if there is a non UTF-8 sequence inside that line? Sounds wrong to me... _______________________________________________ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox