ref: 219741ac012ee7341bff6cfd8f4b49b09a66ab17
parent: 234aafb38da9d3486cceda5c28b529a5343fdf65
author: cinap_lenrek <[email protected]>
date: Wed Feb 19 14:26:43 EST 2020
sed: allow whitespace after ! negation (thanks k0ga)
--- a/sys/src/cmd/sed.c
+++ b/sys/src/cmd/sed.c
@@ -308,10 +308,10 @@
} else
rep->ad2.type = A_NONE;
}
+swit:
while(*cp == L' ' || *cp == L'\t')
cp++;
-swit:
switch(*cp++) {
default:
quit("Unrecognized command: %S", linebuf);