Skip to contentSkip to conversation

utmp.5: Oxford comma

PATCH In review Alejandro Colomar 2 participants 2 messages Nov 21, 2020 Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 utmp.5: Oxford comma

Found using:

$ grep -rn '\\f., [^ ]*\\f. and' man?

I also updated the markup in that paragraph: \f -> .

---
 man5/utmp.5 | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)
man5/utmp.5 +12 -3
index 3b8340858..3b8afc199 100644
@@ -176,9 +176,18 @@ records may be located by
 .PP
 When
 .BR init (1)
-finds that a process has exited, it locates its utmp
-entry by \fIut_pid\fP, sets \fIut_type\fP to \fBDEAD_PROCESS\fP, and
-clears \fIut_user\fP, \fIut_host\fP and \fIut_time\fP with null bytes.
+finds that a process has exited, it locates its utmp entry by
+.IR ut_pid ,
+sets
+.I ut_type
+to
+.BR DEAD_PROCESS ,
+and clears
+.IR ut_user ,
+.IR ut_host ,
+and
+.I ut_time
+with null bytes.
 .PP
 .BR xterm (1)
 and other terminal emulators directly create a
Signature · 1 line
2.29.2
#1 lore raw
Quoted 6 lines · Alejandro Colomar

Found using:

$ grep -rn '\\f., [^ ]*\\f. and' man?

I also updated the markup in that paragraph: \f -> .

Thanks, ALex.

Patch applied.

Cheers,

Michael

Quoted 31 lines
---
 man5/utmp.5 | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)
man5/utmp.5 +12 -3
index 3b8340858..3b8afc199 100644
@@ -176,9 +176,18 @@ records may be located by
 .PP
 When
 .BR init (1)
-finds that a process has exited, it locates its utmp
-entry by \fIut_pid\fP, sets \fIut_type\fP to \fBDEAD_PROCESS\fP, and
-clears \fIut_user\fP, \fIut_host\fP and \fIut_time\fP with null bytes.
+finds that a process has exited, it locates its utmp entry by
+.IR ut_pid ,
+sets
+.I ut_type
+to
+.BR DEAD_PROCESS ,
+and clears
+.IR ut_user ,
+.IR ut_host ,
+and
+.I ut_time
+with null bytes.
 .PP
 .BR xterm (1)
 and other terminal emulators directly create a
Signature · 3 lines
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/