aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2025-09-25 10:55:10 +0200
committerAlejandro Colomar <alx@kernel.org>2025-09-25 11:13:56 +0200
commit0bce36fac7288efce881d655bc607fabfcbb7d88 (patch)
treeaf2b885c92a2278edcdcfb0e9175e7afa86341fa
parent733f8b465c5ba636de218d2d8ba1dd5825b5911b (diff)
downloadman-pages-0bce36fac7288efce881d655bc607fabfcbb7d88.tar.gz
man/: ffix (escape dashes)
Most of these have been reported by 'make lint-man-dash'. A couple of them were found manually. Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r--man/man3/ctime.32
-rw-r--r--man/man3/fmod.38
-rw-r--r--man/man3/pthread_getattr_np.36
-rw-r--r--man/man3/strverscmp.32
-rw-r--r--man/man3attr/gnu::format.3attr4
-rw-r--r--man/man5/nscd.conf.54
-rw-r--r--man/man7/man-pages.72
7 files changed, 14 insertions, 14 deletions
diff --git a/man/man3/ctime.3 b/man/man3/ctime.3
index d5f2fc1035..7d69dd83cf 100644
--- a/man/man3/ctime.3
+++ b/man/man3/ctime.3
@@ -503,7 +503,7 @@ The following shell session shows sample runs of the program:
$
.RB $\~ "export TZ=Europe/Madrid" ;
$
-.RB $\~ "./a.out 2147483647 2147483647 00 00 00 00 -1" ;
+.RB $\~ "./a.out 2147483647 2147483647 00 00 00 00 \-1" ;
a.out: mktime: Value too large for defined data type
$
.RB $\~ "./a.out 2024 08 23 00 17 53 \-1" ;
diff --git a/man/man3/fmod.3 b/man/man3/fmod.3
index c0cbaa5bd9..b6d8f92c48 100644
--- a/man/man3/fmod.3
+++ b/man/man3/fmod.3
@@ -166,11 +166,11 @@ The call
returns 12.
.P
The call
-.I fmod(-372, 360)
-returns -12.
+.I fmod(\-372, 360)
+returns \-12.
.P
The call
-.I fmod(-372, -360)
-also returns -12.
+.I fmod(\-372, \-360)
+also returns \-12.
.SH SEE ALSO
.BR remainder (3)
diff --git a/man/man3/pthread_getattr_np.3 b/man/man3/pthread_getattr_np.3
index c8bcb2a356..a879e45a83 100644
--- a/man/man3/pthread_getattr_np.3
+++ b/man/man3/pthread_getattr_np.3
@@ -271,7 +271,7 @@ get_thread_attributes_from_cl(int argc, char *argv[],
if (argc > optind)
usage(argv[0], "Extraneous command\-line arguments\[rs]n");
\&
- if (stack_size != -1 || guard_size > 0) {
+ if (stack_size != \-1 || guard_size > 0) {
ret_attrp = attrp;
\&
s = pthread_attr_init(attrp);
@@ -279,7 +279,7 @@ get_thread_attributes_from_cl(int argc, char *argv[],
errc(EXIT_FAILURE, s, "pthread_attr_init");
}
\&
- if (stack_size != -1) {
+ if (stack_size != \-1) {
if (!allocate_stack) {
s = pthread_attr_setstacksize(attrp, stack_size);
if (s != 0)
@@ -297,7 +297,7 @@ get_thread_attributes_from_cl(int argc, char *argv[],
}
}
\&
- if (guard_size != -1) {
+ if (guard_size != \-1) {
s = pthread_attr_setguardsize(attrp, guard_size);
if (s != 0)
errc(EXIT_FAILURE, s, "pthread_attr_setstacksize");
diff --git a/man/man3/strverscmp.3 b/man/man3/strverscmp.3
index 46747ac010..fab8bc9841 100644
--- a/man/man3/strverscmp.3
+++ b/man/man3/strverscmp.3
@@ -34,7 +34,7 @@ so is meant mostly for situations
where the strings are expected to be in ASCII.
This is different from the ordering produced by
.BR sort (1)
-.BR -V .
+.BR \-V .
.\" sort -V sorts a-1.0a < a-1.0.1a; strverscmp() does not
.P
What this function does is the following.
diff --git a/man/man3attr/gnu::format.3attr b/man/man3attr/gnu::format.3attr
index e48670ad71..92ea4ef74b 100644
--- a/man/man3attr/gnu::format.3attr
+++ b/man/man3attr/gnu::format.3attr
@@ -124,13 +124,13 @@ vstprintf(int size;
\&
if (size == 0) {
errno = EOVERFLOW;
- return -1;
+ return \-1;
}
\&
len = vsnprintf(buf, size, fmt, args);
if (len >= size) {
errno = E2BIG;
- return -1;
+ return \-1;
}
\&
return len;
diff --git a/man/man5/nscd.conf.5 b/man/man5/nscd.conf.5
index ec6eb8a76b..62392b8aa9 100644
--- a/man/man5/nscd.conf.5
+++ b/man/man5/nscd.conf.5
@@ -286,7 +286,7 @@ and only then will it actually be removed from the cache.
A request from a client which hits the entry will
reset the reload counter on the entry.
Purging the cache using
-.I nscd\~-i
+.I nscd\~\-i
overrides the reload logic and removes the entry.
.P
Reloading has the effect of extending cache entry TTLs
@@ -337,7 +337,7 @@ Some distributions have an init script for
with a
.I reload
command which uses
-.I nscd\~-i
+.I nscd\~\-i
to purge the cache.
That use of the word "reload" is entirely different
from the "reloading" described here.
diff --git a/man/man7/man-pages.7 b/man/man7/man-pages.7
index 0ce9a174fc..f5315e37d5 100644
--- a/man/man7/man-pages.7
+++ b/man/man7/man-pages.7
@@ -1003,7 +1003,7 @@ when rendering a page with, say:
.P
.in +4n
.EX
-BROWSER=firefox man -H pagename
+BROWSER=firefox man \-H pagename
.EE
.in
.SS Use of e.g., i.e., etc., a.k.a., and similar