--- ed.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/ed.c b/ed.c index e41fbdd..ae9e6d7 100644 --- a/ed.c +++ b/ed.c _AT_@ -900,13 +900,8 @@ getrhs(int delim) free(s); s = NULL; siz = cap = 0; - while ((c = input()) != '\n' && c != EOF && c != delim) { - if (c == '\\') { - if ((c = input()) == '&' || isdigit(c)) - s = addchar(c, s, &siz, &cap); - } + while ((c = input()) != '\n' && c != EOF && c != delim) s = addchar(c, s, &siz, &cap); - } s = addchar('\0', s, &siz, &cap); if (c == EOF) error("invalid pattern delimiter"); -- 2.9.0Received on Mon Jul 25 2016 - 03:04:28 CEST
This archive was generated by hypermail 2.3.0 : Mon Jul 25 2016 - 03:12:18 CEST