aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorG. Branden Robinson <g.branden.robinson@gmail.com>2024-08-31 22:25:13 -0500
committerAlejandro Colomar <alx@kernel.org>2024-09-01 10:23:33 +0200
commit43d2366430f3d763bd1676d501416948bd000281 (patch)
tree53486d2e9b029e9f74b48742aba55d00f636dcf0
parentcfcf0b031dcb6317e041ea5d66c229814103677a (diff)
downloadman-pages-43d2366430f3d763bd1676d501416948bd000281.tar.gz
wctrans.3, wctype.3: srcfix
Convert from unfilled text using `nf` and `fi` requests to `IP` macro calls and tbl(1) tables. This change increases the item indentation slightly, as I elected not to specify one in the `IP` calls. The content still fits easily in an 80-column terminal. The reason for this change is to make the man page cross references susceptible to scripted rewriting (and ultimately to make them hyperlinkable). See, e.g., <https://lore.kernel.org/linux-man/20240831182027.b6pduwkthk5b3tcf@illithid/>. Signed-off-by: "G. Branden Robinson" <g.branden.robinson@gmail.com> Message-ID: <20240901032513.afty634vpnhe24zi@illithid> Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r--man/man3/wctrans.311
-rw-r--r--man/man3/wctype.331
2 files changed, 22 insertions, 20 deletions
diff --git a/man/man3/wctrans.3 b/man/man3/wctrans.3
index c4f107e1a6..63faaa9982 100644
--- a/man/man3/wctrans.3
+++ b/man/man3/wctrans.3
@@ -46,11 +46,12 @@ valid names depends on the
.B LC_CTYPE
category of the current locale, but the
following names are valid in all locales.
-.P
-.nf
- "tolower" \- realizes the \fBtolower\fP(3) mapping
- "toupper" \- realizes the \fBtoupper\fP(3) mapping
-.fi
+.IP
+.TS
+L1 Lx.
+"tolower" \- realizes the \fBtolower\fP(3) mapping
+"toupper" \- realizes the \fBtoupper\fP(3) mapping
+.TE
.SH RETURN VALUE
The
.BR wctrans ()
diff --git a/man/man3/wctype.3 b/man/man3/wctype.3
index dc4d51c6ac..0e7a7b0475 100644
--- a/man/man3/wctype.3
+++ b/man/man3/wctype.3
@@ -47,21 +47,22 @@ valid names depends on the
.B LC_CTYPE
category of the current locale, but the
following names are valid in all locales.
-.P
-.nf
- "alnum" \- realizes the \fBisalnum\fP(3) classification function
- "alpha" \- realizes the \fBisalpha\fP(3) classification function
- "blank" \- realizes the \fBisblank\fP(3) classification function
- "cntrl" \- realizes the \fBiscntrl\fP(3) classification function
- "digit" \- realizes the \fBisdigit\fP(3) classification function
- "graph" \- realizes the \fBisgraph\fP(3) classification function
- "lower" \- realizes the \fBislower\fP(3) classification function
- "print" \- realizes the \fBisprint\fP(3) classification function
- "punct" \- realizes the \fBispunct\fP(3) classification function
- "space" \- realizes the \fBisspace\fP(3) classification function
- "upper" \- realizes the \fBisupper\fP(3) classification function
- "xdigit" \- realizes the \fBisxdigit\fP(3) classification function
-.fi
+.IP
+.TS
+L1 Lx.
+"alnum" \- realizes the \fBisalnum\fP(3) classification function
+"alpha" \- realizes the \fBisalpha\fP(3) classification function
+"blank" \- realizes the \fBisblank\fP(3) classification function
+"cntrl" \- realizes the \fBiscntrl\fP(3) classification function
+"digit" \- realizes the \fBisdigit\fP(3) classification function
+"graph" \- realizes the \fBisgraph\fP(3) classification function
+"lower" \- realizes the \fBislower\fP(3) classification function
+"print" \- realizes the \fBisprint\fP(3) classification function
+"punct" \- realizes the \fBispunct\fP(3) classification function
+"space" \- realizes the \fBisspace\fP(3) classification function
+"upper" \- realizes the \fBisupper\fP(3) classification function
+"xdigit" \- realizes the \fBisxdigit\fP(3) classification function
+.TE
.SH RETURN VALUE
The
.BR wctype ()