diff --git a/usr.bin/sed/compile.c b/usr.bin/sed/compile.c index d26df561193..20762974e60 100644 --- a/usr.bin/sed/compile.c +++ b/usr.bin/sed/compile.c @@ -467,7 +467,7 @@ compile_subst(p, s) int asize, size; u_char ref; char c, *text, *op, *sp; - int more = 0; + int more = 1; c = *p++; /* Terminator character */ if (c == '\0')