Skip to contentSkip to conversation

man*/: ffix (un-bracket tables, continued)

PATCH New G. Branden Robinson 1 participant 1 message Jul 30, 2023 Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

PATCH 2/9 man*/: ffix (un-bracket tables, continued)

Continue commit 9e54434ead, 19 July.

4 pages issued requests to manipulate adjustment and automatic hyphenation around tbl(1) tables in a different order from the other 525 documents in the tree that performed this trick.

I produced this change with the following GNU sed script.

/^\.nh/{N;/\n\.ad l/{N;/\n\.TS/s/.*/.TS/}}
/^\.TE/{N;/\n\.ad/{N;/\n\.hy/s/.*/.TE/}}

---
 man2/syscalls.2 |  4 ----
 man3/stdio.3    |  4 ----
 man7/inode.7    |  4 ----
 man7/netlink.7  | 12 ------------
 4 files changed, 24 deletions(-)
man2/syscalls.2 +0 -4
index 8babb3e91..8473a50d6 100644
@@ -136,8 +136,6 @@ .SS System call list
 .\" Looking at scripts/checksyscalls.sh in the kernel source is
 .\" instructive about x86 specifics.
 .\"
-.nh
-.ad l
 .TS
 l2 le l
 ---
@@ -834,8 +832,6 @@ .SS System call list
 .\" 5a0015d62668e64c8b6e02e360fbbea121bfd5e6
 \fBxtensa\fP(2)	2.6.13	Xtensa only
 .TE
-.ad
-.hy
 .PP
 On many platforms, including x86-32, socket calls are all multiplexed
 (via glibc wrapper functions) through
man3/stdio.3 +0 -4
index fb99cdd21..fef56df80 100644
@@ -156,8 +156,6 @@ .SH DESCRIPTION
 .B putchar
 exist and will be used if the macros definitions are explicitly removed.
 .SS List of functions
-.nh
-.ad l
 .TS
 ;
 lb lbx
@@ -330,8 +328,6 @@ .SS List of functions
 input format conversion
 T}
 .TE
-.ad
-.hy
 .SH STANDARDS
 C11, POSIX.1-2008.
 .SH HISTORY
man7/inode.7 +0 -4
index dc2c38d1d..2fc4fde3c 100644
@@ -345,8 +345,6 @@ .SS The file type and mode
 .I st_mode
 field:
 .in +4n
-.nh
-.ad l
 .TS
 lB l lx.
 S_ISUID	  04000	T{
@@ -398,8 +396,6 @@ .SS The file type and mode
 others have execute permission
 T}
 .TE
-.ad
-.hy
 .in
 .PP
 The set-group-ID bit
man7/netlink.7 +0 -12
index 84b24f308..e2205482d 100644
@@ -218,8 +218,6 @@ .SH DESCRIPTION
 .BR rtnetlink (7)
 for
 .BR NETLINK_ROUTE .
-.nh
-.ad l
 .TS
 tab(:);
 l s
@@ -240,11 +238,7 @@ .SH DESCRIPTION
 Echo this request.
 T}
 .TE
-.ad
-.hy
 .\" No right adjustment for text blocks in tables
-.nh
-.ad l
 .TS
 tab(:);
 l s
@@ -266,8 +260,6 @@ .SH DESCRIPTION
 (NLM_F_ROOT|NLM_F_MATCH).
 T}
 .TE
-.ad
-.hy
 .\" FIXME NLM_F_ATOMIC is not used anymore?
 .PP
 Note that
@@ -275,8 +267,6 @@ .SH DESCRIPTION
 requires the
 .B CAP_NET_ADMIN
 capability or an effective UID of 0.
-.nh
-.ad l
 .TS
 tab(:);
 l s
@@ -296,8 +286,6 @@ .SH DESCRIPTION
 Add to the end of the object list.
 T}
 .TE
-.ad
-.hy
 .PP
 .I nlmsg_seq
 and
Signature · 1 line
2.30.2