console_codes.4, inode.7: srcfix

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>
Message-ID: <20240901032603.khxdcqiqc2pxooky@illithid>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2 files changed