diff options
author | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | 2008-12-31 10:02:47 +0100 |
---|---|---|
committer | Paolo Bonzini <bonzini@gnu.org> | 2008-12-31 10:05:03 +0100 |
commit | ed1c249d94bfc34f58f5f3e40fdbd857edb90531 (patch) | |
tree | ac38f428d550b9f3203de23f7334f849a8fb0083 /NEWS | |
parent | 559a106598e83e18ddb9fcd00600cb66507a533f (diff) | |
download | sed-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-- | NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |