ref: 19cc46bc5ee1dd43537c4094d19d8da778b72bce
parent: d0c87bada6e1d3822a414a48c6ee75da68361a19
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sat May 2 12:56:52 EDT 2020
sed: accept and ignore -E and -r flags for unix compatibility
--- a/sys/src/cmd/sed.c
+++ b/sys/src/cmd/sed.c
@@ -239,6 +239,8 @@
case 'u':
uflag++;
continue;
+ case 'E': case 'r': /* unix compat */
+ continue;
default:
quit("Unknown flag: %c", ARGC());
} ARGEND