[PATCH] fix sed parsing bug
Rob Landley
rob at landley.net
Tue Jul 25 01:26:31 UTC 2006
On Saturday 22 July 2006 11:51 pm, Rich Felker wrote:
> bb sed incorrectly considers brackets as special characters in the
> replacement text in a s/regex/replacement/ command, resulting in parse
> errors on valid sed programs such as:
>
> 's/enum \(.*\) {/let names_of_\1 = [|/'
>
> (example taken from the ocaml build process). the attached patch
> corrects the problem, perhaps not in the most graceful way, but with
> minimal impact on size/performance.
Ick.
Real bug, acknowledged, lemme think about this. (Feel free to poke me
tomorrow if I haven't applied a fix yet...)
> rich
Rob
--
Never bet against the cheap plastic solution.
More information about the busybox
mailing list