sed: Alias -r to -E for GNU compat

This commit is contained in:
sin 2015-06-03 18:50:13 +01:00
parent ced76f3b03
commit 7e035a9a2e

1
sed.c
View File

@ -1691,6 +1691,7 @@ main(int argc, char *argv[])
case 'n': case 'n':
gflags.n = 1; gflags.n = 1;
break; break;
case 'r':
case 'E': case 'E':
gflags.E = 1; gflags.E = 1;
break; break;