From 31a410d2d5713faf538018f8f5fd1fd8d883e50c Mon Sep 17 00:00:00 2001 From: bug1 Date: Wed, 1 Oct 2003 06:45:11 +0000 Subject: Patch by Rob Landley, fix "newline after edit command" git-svn-id: svn://busybox.net/trunk/busybox@7584 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- editors/sed.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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)) { -- cgit v1.2.3-55-g6feb