From 3367f8c2e08bf998efc84050e39d5a9fbdffb5dd Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Sun, 14 Aug 2016 15:11:04 +0100 Subject: Expansions: new ${escape8bit:} operator. Bug 1863 --- doc/doc-docbook/spec.xfpt | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'doc/doc-docbook/spec.xfpt') 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" -- cgit v1.2.3