From: "G. Branden Robinson" <g.branden.robinson@gmail.com>
To: Alejandro Colomar <alx@kernel.org>
Cc: linux-man@vger.kernel.org
Subject: [PATCH 03/10] wctrans.3, wctype.3: srcfix
Date: Sat, 31 Aug 2024 22:25:13 -0500 [thread overview]
Message-ID: <20240901032513.afty634vpnhe24zi@illithid> (raw)
In-Reply-To: <5bec58a0a261f834a2fc29d471b0b984822905b7.1725161054.git.g.branden.robinson@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 3352 bytes --]
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>
---
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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2024-09-01 3:25 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <5bec58a0a261f834a2fc29d471b0b984822905b7.1725161054.git.g.branden.robinson@gmail.com>
2024-09-01 3:25 ` [PATCH 02/10] namespaces.7: srcfix G. Branden Robinson
2024-09-01 3:25 ` G. Branden Robinson [this message]
2024-09-01 3:25 ` [PATCH 04/10] utmp.5: ffix G. Branden Robinson
2024-09-01 3:25 ` [PATCH 05/10] utmp.5: srcfix G. Branden Robinson
2024-09-01 3:25 ` [PATCH 06/10] suffixes.7: srcfix G. Branden Robinson
2024-09-01 3:25 ` [PATCH 07/10] lirc.4: srcfix G. Branden Robinson
2024-09-01 3:26 ` [PATCH 08/10] console_codes.4, inode.7: srcfix G. Branden Robinson
2024-09-01 8:33 ` Alejandro Colomar
2024-09-01 3:26 ` [PATCH 09/10] man/: srcfix (1/2) G. Branden Robinson
2024-09-01 8:35 ` Alejandro Colomar
2024-09-01 3:26 ` [PATCH 10/10] man/: srcfix (2/2) G. Branden Robinson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240901032513.afty634vpnhe24zi@illithid \
--to=g.branden.robinson@gmail.com \
--cc=alx@kernel.org \
--cc=linux-man@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox