From 0e00010064a39c1f915d894ccc1fa7a8086c0a8b Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sun, 15 Sep 2019 15:47:42 -0500 Subject: Fix failing test. --- toys/posix/sed.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toys/posix/sed.c b/toys/posix/sed.c index 1935417d..fa40dbf5 100644 --- a/toys/posix/sed.c +++ b/toys/posix/sed.c @@ -973,7 +973,7 @@ resume_a: // btTqQ: end with space or semicolon, aicrw continue to newline. if (!(end = strcspn(line, strchr(":btTqQ", c) ? "}; \t\r\n\v\f" : "\n"))){ // Argument's optional for btTqQ - if (strchr("btT", c)) continue; + if (strchr("btTqQ", c)) continue; else if (!command->arg1) break; } // Error checking: qQ can only have digits after them -- cgit v1.2.3