summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>2008-12-31 10:02:47 +0100
committerPaolo Bonzini <bonzini@gnu.org>2008-12-31 10:05:03 +0100
commited1c249d94bfc34f58f5f3e40fdbd857edb90531 (patch)
treeac38f428d550b9f3203de23f7334f849a8fb0083 /NEWS
parent559a106598e83e18ddb9fcd00600cb66507a533f (diff)
downloadsed-ed1c249d94bfc34f58f5f3e40fdbd857edb90531.tar.gz
Let --posix turn off more GNU extensions.
2008-12-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> Let --posix turn off more GNU extensions. * sed/compile.c (mark_subst_opts): Turn off subst options i, I, s, S, x, X, m, and M in --posix mode. (compile_address): Disallow address modifiers, `FIRST~STEP', `ADDR1,+N', and `ADDR1,~N' in --posix mode. (compile_program): In --posix mode, do not accept e or z commands; do not accept text between an a, c, or i command and the following backslash; do not accept an argument to the l command.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 89f93ff..6c51674 100644
--- a/NEWS
+++ b/NEWS
@@ -8,6 +8,11 @@ GNU sed with NLS support
* multibyte processing fixed
+* the following GNU extensions are turned off by --posix: options [iImMsSxX]
+in the `s' command, address kinds `FIRST~STEP' and `ADDR1,+N' and `ADDR1,~N',
+`e' or `z' commands, text between an `a' or `c' or `i' command and the
+following backslash, arguments to the `l' command.
+
----------------------------------------------------------------------------
Sed 4.1e