Skip to contentSkip to conversation

man[13]/*: ffix: change '--' to '\-\-' (options) or '\(em' (em-dash)

PATCH In review Bjarni Ingi Gislason 2 participants 2 messages Jul 5, 2020 – Jul 6, 2020 Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 man[13]/*: ffix: change '--' to '\-\-' (options) or '\(em' (em-dash)

Change '--' to '\-\-' for options and '--' between words to '\(em'
(em-dash).

---
 man1/memusagestat.1 | 2 +-
 man3/dlsym.3        | 2 +-
 man3/posix_spawn.3  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
man1/memusagestat.1 +1 -1
index a1c40cd86..809f4ba3e 100644
@@ -33,7 +33,7 @@ memory profiling data in the file
 that file is generated via the
 .I \-d
 (or
-.IR --data )
+.IR \-\-data )
 option of
 .BR memusage (1).
 .PP
man3/dlsym.3 +1 -1
index 2abb0b1d0..58519b5d8 100644
@@ -145,7 +145,7 @@ function is a GNU extension.
 There are several scenarios when the address of a global symbol is NULL.
 For example, a symbol can be placed at zero address by the linker, via
 a linker script or with
-.I --defsym
+.I \-\-defsym
 command-line option. Undefined weak symbols also have NULL value.
 Finally, the symbol value may be the result of
 a GNU indirect function (IFUNC) resolver function that returns
man3/posix_spawn.3 +1 -1
index f425a39e3..cb7faabcc 100644
@@ -429,7 +429,7 @@ If
 .I file_actions
 is NULL, then no special action is taken, and standard
 .BR exec (3)
-semantics apply--file descriptors open before the exec
+semantics apply\(emfile descriptors open before the exec
 remain open in the new process,
 except those for which the
 .B FD_CLOEXEC
Signature · 1 line
2.27.0
#1 lore raw
Quoted 2 lines · Bjarni Ingi Gislason

Change '--' to '\-\-' for options and '--' between words to '\(em'
(em-dash).

Thanks, Bjarni. Patch applied.

Cheers,

Michael

Quoted 47 lines
---
 man1/memusagestat.1 | 2 +-
 man3/dlsym.3        | 2 +-
 man3/posix_spawn.3  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
man1/memusagestat.1 +1 -1
index a1c40cd86..809f4ba3e 100644
@@ -33,7 +33,7 @@ memory profiling data in the file
 that file is generated via the
 .I \-d
 (or
-.IR --data )
+.IR \-\-data )
 option of
 .BR memusage (1).
 .PP
man3/dlsym.3 +1 -1
index 2abb0b1d0..58519b5d8 100644
@@ -145,7 +145,7 @@ function is a GNU extension.
 There are several scenarios when the address of a global symbol is NULL.
 For example, a symbol can be placed at zero address by the linker, via
 a linker script or with
-.I --defsym
+.I \-\-defsym
 command-line option. Undefined weak symbols also have NULL value.
 Finally, the symbol value may be the result of
 a GNU indirect function (IFUNC) resolver function that returns
man3/posix_spawn.3 +1 -1
index f425a39e3..cb7faabcc 100644
@@ -429,7 +429,7 @@ If
 .I file_actions
 is NULL, then no special action is taken, and standard
 .BR exec (3)
-semantics apply--file descriptors open before the exec
+semantics apply\(emfile descriptors open before the exec
 remain open in the new process,
 except those for which the
 .B FD_CLOEXEC
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/