From 0d15977875b20bbfdff22727ad090f716ac6a8c4 Mon Sep 17 00:00:00 2001 From: Dianne Skoll Date: Thu, 5 Feb 2026 22:47:28 -0500 Subject: [PATCH] Tweak man pages. --- man/remind.1.in | 19 ++++++++----------- tests/manpage-personal-dict | 1 + 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/man/remind.1.in b/man/remind.1.in index 08acb264..ba1f57ed 100644 --- a/man/remind.1.in +++ b/man/remind.1.in @@ -2588,16 +2588,13 @@ a sequence of more than one byte. For example, in a UTF-8 environment, the string "🙂" contains one character but four bytes. And the string "één" contains three characters but five bytes. .PP -\fBRemind\fR has a set of functions -that work on \fIbytes\fR, namely \fBindex\fR, \fBstrlen\fR and \fBsubstr\fR. -These are not safe to use on multi-byte strings; instead use -\fBmbindex\fR, \fBmbstrlen\fR and \fBmbsubstr\fR. If you know \fIfor sure\fR -that a string contains only single-byte characters, then the byte-oriented -versions may be used and are faster than the multi-byte versions. -.PP -Some ancient or embedded systems may lack the C library functions needed -to deal with multi-byte strings. In that case, the \fBmb\fIxxx\fR functions -all return an error. +\fBRemind\fR has a set of functions that work on \fIbytes\fR, namely +\fBindex\fR, \fBstrlen\fR and \fBsubstr\fR, and several more. These +are not safe to use on multi-byte strings; instead use \fBmbindex\fR, +\fBmbstrlen\fR and \fBmbsubstr\fR, and the \fBmb\fR variants of the +others. If you know \fIfor sure\fR that a string contains only +single-byte characters, then the byte-oriented versions may be used +and are faster than the multi-byte versions. .RE .TP .B TIME @@ -2638,7 +2635,7 @@ The following examples illustrate constants in \fBRemind\fR expressions: 12, 36, \-10, 0, 1209, 0x1F, 0xfe00 (the last two demonstrate the use of hexadecimal constants) .TP .B STRING constants -"Hello there", "This is a test", "\\nHello\\tThere", "" +"Hello there", "This is a test", "\\nHello\\tThere", "", "π is Cool! 🙂" .PP .RS Note that the empty string is represented by "". \fBRemind\fR supports diff --git a/tests/manpage-personal-dict b/tests/manpage-personal-dict index 7433e39f..9cf15048 100644 --- a/tests/manpage-personal-dict +++ b/tests/manpage-personal-dict @@ -997,6 +997,7 @@ ziens zj zn één +π א אב אדר