diff options
author | Paolo Bonzini <bonzini@gnu.org> | 2012-04-13 10:39:09 +0200 |
---|---|---|
committer | Paolo Bonzini <bonzini@gnu.org> | 2012-04-13 10:42:10 +0200 |
commit | 0f968ceb7bc1a65773979ef419872ce43677c790 (patch) | |
tree | 146483b688dd750fe30642b9ff58054cd71e3d93 /NEWS | |
parent | 2e41f70b498af67a9a588421551e9fd90deadbf6 (diff) | |
download | sed-0f968ceb7bc1a65773979ef419872ce43677c790.tar.gz |
fix \x26 on RHS of s command
2012-04-13 Paolo Bonzini <bonzini@gnu.org>
* sed/compile.c (convert_number): Remove default_char argument,
expect buf to point to it. Remove maxdigits argument and compute
it on the fly.
(normalize_text): Unify calls to convert_number under the convert
label. For TEXT_REPLACEMENT add a backslash to the output if
convert_number returns ch == '&'.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -16,6 +16,10 @@ Sed 4.2.2 * New option -z (--null-data) to separate lines by ASCII NUL characters. +* \x26 (and similar escaped sequences) produces a literal & in the + replacement argument of the s/// command, rather than including the + matched text. + ---------------------------------------------------------------------------- Sed 4.2.1 |