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

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

 



Hi Branden,

On Sat, Jul 27, 2024 at 02:27:45PM GMT, G. Branden Robinson wrote:
> 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\
> /
> 
> Signed-off-by: "G. Branden Robinson" <g.branden.robinson@xxxxxxxxx>
> ---

I've applied this patch.  Thanks!

Have a lovely day!
Alex

>  man/man2/syscalls.2 | 12 +++++++++---
>  1 file changed, 9 insertions(+), 3 deletions(-)
> 
> diff --git a/man/man2/syscalls.2 b/man/man2/syscalls.2
> index 7a7d6d730..c8afd537b 100644
> --- a/man/man2/syscalls.2
> +++ b/man/man2/syscalls.2
> @@ -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
> -- 
> 2.30.2
> 



-- 
<https://www.alejandro-colomar.es/>

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