Skip to contentSkip to conversation

man/man2/syscalls.2: srcfix (1/3)

PATCH Applied G. Branden Robinson 2 participants 2 messages Jul 27, 2024 – Jul 31, 2024 Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 man/man2/syscalls.2: srcfix (1/3)

Migrate table entries from using font selection escape sequences to font alternation macros to set man page cross references.

This change was automatically driven by the following sed(1) script.

$ cat fix-syscall-table-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
/T{$/,/^T}/s/ \\fB\([a-z0-9_][a-z0-9_]*\)\\fP\(([0-9][a-z]*)\) /\
.BR \1 \2\
/
---
 man/man2/syscalls.2 | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)
man/man2/syscalls.2 +9 -3
index 7a7d6d730..c8afd537b 100644
@@ -187,7 +187,9 @@ .SS System call list
 \fBchdir\fP(2)	1.0
 \fBchmod\fP(2)	1.0
 \fBchown\fP(2)	2.2	T{
-See \fBchown\fP(2) for
+See
+.BR chown (2)
+for
 version details
 T}
 \fBchown32\fP(2)	2.4
@@ -398,7 +400,9 @@ .SS System call list
 \fBlandlock_create_ruleset\fP(2)	5.13
 \fBlandlock_restrict_self\fP(2)	5.13
 \fBlchown\fP(2)	1.0	T{
-See \fBchown\fP(2) for
+See
+.BR chown (2)
+for
 version details
 T}
 \fBlchown32\fP(2)	2.4
@@ -679,7 +683,9 @@ .SS System call list
 \fBsetns\fP(2)	3.0
 \fBsetpgid\fP(2)	1.0
 \fBsetpgrp\fP(2)	2.0	T{
-Alternative name for \fBsetpgid\fP(2) on Alpha
+Alternative name for
+.BR setpgid (2)
+on Alpha
 T}
 \fBsetpriority\fP(2)	1.0
 \fBsetregid\fP(2)	1.0
Signature · 1 line
2.30.2
maintainer Applied
#1 lore raw

Hi Branden,

Quoted 13 lines · G. Branden Robinson

Migrate table entries from using font selection escape sequences to font alternation macros to set man page cross references.

This change was automatically driven by the following sed(1) script.

$ cat fix-syscall-table-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
/T{$/,/^T}/s/ \\fB\([a-z0-9_][a-z0-9_]*\)\\fP\(([0-9][a-z]*)\) /\
.BR \1 \2\
/
Quoted 2 lines

---

I've applied this patch. Thanks!

Have a lovely day!
Alex

Quoted 43 lines
 man/man2/syscalls.2 | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)
man/man2/syscalls.2 +9 -3
index 7a7d6d730..c8afd537b 100644
@@ -187,7 +187,9 @@ .SS System call list
 \fBchdir\fP(2)	1.0
 \fBchmod\fP(2)	1.0
 \fBchown\fP(2)	2.2	T{
-See \fBchown\fP(2) for
+See
+.BR chown (2)
+for
 version details
 T}
 \fBchown32\fP(2)	2.4
@@ -398,7 +400,9 @@ .SS System call list
 \fBlandlock_create_ruleset\fP(2)	5.13
 \fBlandlock_restrict_self\fP(2)	5.13
 \fBlchown\fP(2)	1.0	T{
-See \fBchown\fP(2) for
+See
+.BR chown (2)
+for
 version details
 T}
 \fBlchown32\fP(2)	2.4
@@ -679,7 +683,9 @@ .SS System call list
 \fBsetns\fP(2)	3.0
 \fBsetpgid\fP(2)	1.0
 \fBsetpgrp\fP(2)	2.0	T{
-Alternative name for \fBsetpgid\fP(2) on Alpha
+Alternative name for
+.BR setpgid (2)
+on Alpha
 T}
 \fBsetpriority\fP(2)	1.0
 \fBsetregid\fP(2)	1.0
Signature · 1 line
2.30.2
Signature · 1 line
<https://www.alejandro-colomar.es/>