diff options
Diffstat (limited to 'toys/posix')
-rw-r--r-- | toys/posix/sed.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/posix/sed.c b/toys/posix/sed.c index 3073a69c..bab6fb00 100644 --- a/toys/posix/sed.c +++ b/toys/posix/sed.c @@ -944,7 +944,7 @@ resume_a: command->hit = 0; // btT: end with space or semicolon, aicrw continue to newline. - if (!(end = strcspn(line, strchr(":btT", c) ? "; \t\r\n\v\f" : "\n"))) { + if (!(end = strcspn(line, strchr(":btT", c) ? "}; \t\r\n\v\f" : "\n"))) { // Argument's optional for btT if (strchr("btT", c)) continue; else if (!command->arg1) break; |