public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
From: "G. Branden Robinson" <g.branden.robinson@gmail.com>
To: Alejandro Colomar <alx@kernel.org>
Cc: linux-man@vger.kernel.org
Subject: [PATCH 08/10] console_codes.4, inode.7: srcfix
Date: Sat, 31 Aug 2024 22:26:03 -0500	[thread overview]
Message-ID: <20240901032603.khxdcqiqc2pxooky@illithid> (raw)
In-Reply-To: <5bec58a0a261f834a2fc29d471b0b984822905b7.1725161054.git.g.branden.robinson@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2334 bytes --]

Prepare for `MR` macro migration.

Rewrite man page cross references inside tbl(1) text blocks to use
man(7) macros instead of troff(1) font selection escape sequences.

$ cat fix-man-page-refs-in-tbl-tables-1.sed
	# Rewrite man page cross references inside tbl(1) text blocks to use
	# man(7) macros instead of troff(1) font selection escape sequences.
	/^\.\\"/b
	# Case: (handled in commit 9d21f97766, 2024-07-27)
	# T{
	# See \fBchown\fP(2) for
	# T}
	/T{$/,/^T}/s/ \\fB\([^\\]*\)\\fP\(([0-9][a-z]*)\) /\
	.BR \1 \2\
	/
	# Case:
	# T{
	# the map that is loaded by the utility \fBmapscrn\fP(8).
	# T}
	/T{$/,/^T}/s/ \\fB\([^\\]*\)\\fP\(([0-9][a-z]*)\)\([^0-9a-z]\+\)$/\
	.BR \1 \2\3/
	# Case:
	# T{
	# by \fBxterm\fP(1)'s \fBhpLowerleftBugCompat\fP resource).
	# T}
	/T{$/,/^T}/s/ \\fB\([^\\]*\)\\fP\(([0-9][a-z]*)\)\([^ ]\+\) \(.*\)/\
	.BR \1 \2\3\
	\4/

Signed-off-by: "G. Branden Robinson" <g.branden.robinson@gmail.com>
---
 man/man4/console_codes.4 | 7 +++++--
 man/man7/inode.7         | 3 ++-
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/man/man4/console_codes.4 b/man/man4/console_codes.4
index dfbb672ec..a12d21660 100644
--- a/man/man4/console_codes.4
+++ b/man/man4/console_codes.4
@@ -173,7 +173,8 @@ .SS Linux console controls
 Select null mapping \- straight to character ROM.
 T}
 ESC ( K		T{
-Select user mapping \- the map that is loaded by the utility \fBmapscrn\fP(8).
+Select user mapping \- the map that is loaded by the utility
+.BR mapscrn (8).
 T}
 ESC )		T{
 Start sequence defining G1 (followed by one of B, 0, U, K, as above).
@@ -709,7 +710,9 @@ .SS Comparisons with other terminals
 l l lx.
 ESC F		T{
 Cursor to lower left corner of screen (if enabled
-by \fBxterm\fP(1)'s \fBhpLowerleftBugCompat\fP resource).
+by
+.BR xterm (1)'s
+\fBhpLowerleftBugCompat\fP resource).
 T}
 ESC l		Memory lock (per HP terminals).
 		Locks memory above the cursor.
diff --git a/man/man7/inode.7 b/man/man7/inode.7
index 497e30e8a..1fd3de85d 100644
--- a/man/man7/inode.7
+++ b/man/man7/inode.7
@@ -347,7 +347,8 @@ .SS The file type and mode
 .TS
 lB l lx.
 S_ISUID	  04000	T{
-set-user-ID bit (see \fBexecve\fP(2))
+set-user-ID bit (see
+.BR execve (2))
 T}
 S_ISGID	  02000	T{
 set-group-ID bit (see below)
-- 
2.30.2


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  parent reply	other threads:[~2024-09-01  3:26 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 ` [PATCH 03/10] wctrans.3, wctype.3: srcfix G. Branden Robinson
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 ` G. Branden Robinson [this message]
2024-09-01  8:33   ` [PATCH 08/10] console_codes.4, inode.7: srcfix 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=20240901032603.khxdcqiqc2pxooky@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