--- ed.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/ed.c b/ed.c index 30709f4..65ccd45 100644 --- a/ed.c +++ b/ed.c _AT_@ -769,13 +769,7 @@ execsh(void) } while ((c = input()) != EOF && c != '\n') { - if (c == '\\') { - cmd = addchar(*p, cmd, &cap, &siz); - if ((c = input()) == EOF) - break; - cmd = addchar(input(), cmd, &cap, &siz); - } - if (c == '%') { + if (c == '%' && cmd[siz - 1] != '\\') { if (savfname[0] == '\0') error("no current filename"); repl = 1; -- 2.6.4Received on Sun Dec 13 2015 - 17:25:40 CET
This archive was generated by hypermail 2.3.0 : Sun Dec 13 2015 - 17:36:36 CET