commit 6777bc7a3ce98e703f2943b2c3a502a2bfc60798
Author: Laslo Hunhold <[email protected]>
AuthorDate: Sun Aug 28 16:34:57 2022 +0200
Commit: Laslo Hunhold <[email protected]>
CommitDate: Sun Aug 28 16:52:26 2022 +0200
Properly guard variable within name-sequence
Signed-off-by: Laslo Hunhold <[email protected]>
diff --git a/man/template/to_case.sh b/man/template/to_case.sh
index d365756..3c6a103 100644
--- a/man/template/to_case.sh
+++ b/man/template/to_case.sh
@@ -33,7 +33,7 @@ is interpreted to be NUL-terminated and processing stops when
a
NUL-byte is encountered.
.Pp
For UTF-8-encoded input data
-.Xr grapheme_to_$CASE_utf8 3
+.Xr grapheme_to_$(printf $CASE)_utf8 3
can be used instead.
.Sh RETURN VALUES
The
@@ -48,7 +48,7 @@ is not large enough or
is
.Dv NULL .
.Sh SEE ALSO
-.Xr grapheme_to_$CASE_utf8 3 ,
+.Xr grapheme_to_$(printf $CASE)_utf8 3 ,
.Xr libgrapheme 7
.Sh STANDARDS
.Fn grapheme_to_$CASE