diff options
author | gjb <gjb@FreeBSD.org> | 2016-04-06 01:44:21 +0000 |
---|---|---|
committer | gjb <gjb@FreeBSD.org> | 2016-04-06 01:44:21 +0000 |
commit | 5fec2ae02d4c395fbaf2b7fc2c1886261de6fffa (patch) | |
tree | 4e392cf9bc6cfa93ebca841a52b3b1a40702f7ee /usr.bin/sed | |
parent | 0fbf2c0dab5e5c8490a06e915b67e939b0dce0b6 (diff) | |
download | FreeBSD-src-5fec2ae02d4c395fbaf2b7fc2c1886261de6fffa.zip FreeBSD-src-5fec2ae02d4c395fbaf2b7fc2c1886261de6fffa.tar.gz |
MFH
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'usr.bin/sed')
-rw-r--r-- | usr.bin/sed/compile.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/sed/compile.c b/usr.bin/sed/compile.c index 68cbbc5..2d7f8d2 100644 --- a/usr.bin/sed/compile.c +++ b/usr.bin/sed/compile.c @@ -730,7 +730,7 @@ compile_tr(char *p, struct s_tr **py) } /* - * Compile the text following an a or i command. + * Compile the text following an a, c, or i command. */ static char * compile_text(void) @@ -746,7 +746,6 @@ compile_text(void) while (cu_fgets(lbuf, sizeof(lbuf), NULL)) { op = s = text + size; p = lbuf; - EATSPACE(); for (esc_nl = 0; *p != '\0'; p++) { if (*p == '\\' && p[1] != '\0' && *++p == '\n') esc_nl = 1; |