summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorPaolo Bonzini <bonzini@gnu.org>2012-04-13 10:39:09 +0200
committerPaolo Bonzini <bonzini@gnu.org>2012-04-13 10:42:10 +0200
commit0f968ceb7bc1a65773979ef419872ce43677c790 (patch)
tree146483b688dd750fe30642b9ff58054cd71e3d93 /NEWS
parent2e41f70b498af67a9a588421551e9fd90deadbf6 (diff)
downloadsed-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--NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 2e71f46..e3c94c7 100644
--- a/NEWS
+++ b/NEWS
@@ -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