From: Glenn L McGrath Date: Wed, 1 Oct 2003 06:45:11 +0000 (-0000) Subject: Patch by Rob Landley, fix "newline after edit command" X-Git-Tag: 1_00_pre4~152 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=738fb33994dd60ccbb33b328bd6028836a463490;p=oweals%2Fbusybox.git Patch by Rob Landley, fix "newline after edit command" --- diff --git a/editors/sed.c b/editors/sed.c index 6452a321c..3d6d72c68 100644 --- a/editors/sed.c +++ b/editors/sed.c @@ -176,8 +176,8 @@ static void parse_escapes(char *dest, const char *string, int len, char from, ch while(istring = bb_xstrdup(cmdstr); + parse_escapes(sed_cmd->string,sed_cmd->string,strlen(cmdstr),0,0); cmdstr += strlen(cmdstr); /* handle file cmds: (r)ead */ } else if(strchr("rw", sed_cmd->cmd)) {