[patch] sed replace bb_get_chunk_from_file

Rich Felker dalias at aerifal.cx
Thu May 18 21:49:51 UTC 2006


On Thu, May 18, 2006 at 04:12:22PM -0400, Rob Landley wrote:
> On Wednesday 17 May 2006 10:44 pm, Rich Felker wrote:
> > > And the reason I have these in the todo heap is that I've got half a
> > > rewrite of sed to make it _properly_ handle embedded nul bytes (which
> > > requires changing the entire codepath to take buffer+length rather than a
> > > nul terminated buffer.)
> >
> > BTW how does one do this without a custom version of regex? Is there
> > some trick for replacing characters to make it work?
> 
> Iterating over the regex sections, which is presumably the same way the gnu 
> version does it.

What are regex "sections"?

Rich




More information about the busybox mailing list