diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-07-03 15:21:37 +0200 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-07-03 16:04:01 +0200 |
commit | 7bc7662f3cd1ceaf55e00f3d5f84e9772574afc8 (patch) | |
tree | 1f68eb72c387ee25a2f7d67225538252b6b17ef5 /doc/sciteco.7.template | |
parent | 9e3746a4e42f98cad7dfe5b41779ffa81bd4366a (diff) | |
download | sciteco-7bc7662f3cd1ceaf55e00f3d5f84e9772574afc8.tar.gz |
implemented ^E<code> string building constructs for embedding bytes and codepoints in a strtoul()-like manner
Diffstat (limited to 'doc/sciteco.7.template')
-rw-r--r-- | doc/sciteco.7.template | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/sciteco.7.template b/doc/sciteco.7.template index 51a4da2..ba43ac2 100644 --- a/doc/sciteco.7.template +++ b/doc/sciteco.7.template @@ -1846,6 +1846,19 @@ Operations on registers (\fBEU\fP) similarily consult the register's encoding. Everything else expects Unicode codepoints. .TP +.SCITECO_TOPIC ^E< ^E<> +.BI ^E< code > +Expands to the character, specified by \fIcode\fP. +\# This is Video-TECO-like. TECO-11 only accepts octal codes AFAIK. +It is read in decimal by default, but can be given in hexadecimal if lead by \(lq0x\(rq +or octal if given with a leading \(lq0\(rq. +The current radix as specified by \fB^R\fP does not influence parsing. +These semantics are compatible with libc's +.BR stroull (3). +The sequence \(lq^E<0x41>\(rq for instance expands to the character \(lqA\(rq. +The interpretation of this code as bytes or Unicode codepoints depends on the context +just like for \fB^EU\fP. +.TP .SCITECO_TOPIC ^EQ ^EQq .BI ^EQ q Expands to the string contents of the Q-Register specified by |