summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2016-08-14 15:11:04 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2016-08-14 15:11:04 +0100
commit3367f8c2e08bf998efc84050e39d5a9fbdffb5dd (patch)
tree03f0de306aac8c835b7324678e7610be60ce0588 /doc
parent5bde3efabfec675b323501cae5e3a99784afcc31 (diff)
Expansions: new ${escape8bit:<string>} operator. Bug 1863
Diffstat (limited to 'doc')
-rw-r--r--doc/doc-docbook/spec.xfpt9
-rw-r--r--doc/doc-txt/NewStuff2
2 files changed, 11 insertions, 0 deletions
diff --git a/doc/doc-docbook/spec.xfpt b/doc/doc-docbook/spec.xfpt
index 7b5e3ccd5..3ab63e5ec 100644
--- a/doc/doc-docbook/spec.xfpt
+++ b/doc/doc-docbook/spec.xfpt
@@ -10158,6 +10158,15 @@ escape sequences starting with a backslash. Whether characters with the most
significant bit set (so-called &"8-bit characters"&) count as printing or not
is controlled by the &%print_topbitchars%& option.
+.new
+.vitem &*${escape8bit:*&<&'string'&>&*}*&
+.cindex "expansion" "escaping 8-bit characters"
+.cindex "&%escape8bit%& expansion item"
+If the string contains and characters with the most significant bit set,
+they are converted to escape sequences starting with a backslash.
+Backslashes and DEL characters are also converted.
+.wen
+
.vitem &*${eval:*&<&'string'&>&*}*&&~and&~&*${eval10:*&<&'string'&>&*}*&
.cindex "expansion" "expression evaluation"
diff --git a/doc/doc-txt/NewStuff b/doc/doc-txt/NewStuff
index cf1cf6d56..219c3c3fb 100644
--- a/doc/doc-txt/NewStuff
+++ b/doc/doc-txt/NewStuff
@@ -35,6 +35,8 @@ Version 4.88
8. LMDB lookup support, as Experimental. Patch supplied by Andrew Colin Kissa.
+ 9. Expansion operator escape8bit, like escape but not touching newline etc..
+
Version 4.87
------------