[PATCH 03/10] wctrans.3, wctype.3: srcfix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
---
 man/man3/wctrans.3 | 11 ++++++-----
 man/man3/wctype.3  | 31 ++++++++++++++++---------------
 2 files changed, 22 insertions(+), 20 deletions(-)

diff --git a/man/man3/wctrans.3 b/man/man3/wctrans.3
index c4f107e1a..63faaa998 100644
--- a/man/man3/wctrans.3
+++ b/man/man3/wctrans.3
@@ -46,11 +46,12 @@ .SH DESCRIPTION
 .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 dc4d51c6a..0e7a7b047 100644
--- a/man/man3/wctype.3
+++ b/man/man3/wctype.3
@@ -47,21 +47,22 @@ .SH DESCRIPTION
 .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 ()
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux