summaryrefslogtreecommitdiffstats
path: root/man1
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2021-01-09 23:21:02 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2021-01-21 10:29:14 +0100
commitd064d41a4b95ba7f2c70f180ab5445384fb948ab (patch)
tree39b87c84ccfdfa6d35dd4698d68007e85b1b98d3 /man1
parentd5de9d1dc5a7d20e2bbd2578b8be2ce0a9369619 (diff)
Various pages: Inside code blocks (.EX/.EE) use \- to get real minus signs
A real minus can be cut and pasted... THere are a few exceptions that gave been excluded in the this change. For example, where there' is a string such as "<p1-name>", where p1-name is soome sort of pseudo-identifier. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man1')
-rw-r--r--man1/ldd.14
-rw-r--r--man1/locale.16
-rw-r--r--man1/memusage.12
3 files changed, 6 insertions, 6 deletions
diff --git a/man1/ldd.1 b/man1/ldd.1
index 01f44671e..d0c049284 100644
--- a/man1/ldd.1
+++ b/man1/ldd.1
@@ -31,13 +31,13 @@ is the following:
.in +4n
.EX
$ \fBldd /bin/ls | sed \(aqs/^ */ /\(aq\fP
- linux-vdso.so.1 (0x00007ffcc3563000)
+ linux\-vdso.so.1 (0x00007ffcc3563000)
libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f87e5459000)
libcap.so.2 => /lib64/libcap.so.2 (0x00007f87e5254000)
libc.so.6 => /lib64/libc.so.6 (0x00007f87e4e92000)
libpcre.so.1 => /lib64/libpcre.so.1 (0x00007f87e4c22000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f87e4a1e000)
- /lib64/ld-linux-x86-64.so.2 (0x00005574bf12e000)
+ /lib64/ld\-linux\-x86\-64.so.2 (0x00005574bf12e000)
libattr.so.1 => /lib64/libattr.so.1 (0x00007f87e4817000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f87e45fa000)
.EE
diff --git a/man1/locale.1 b/man1/locale.1
index 5506354bd..ec3bef7dc 100644
--- a/man1/locale.1
+++ b/man1/locale.1
@@ -196,10 +196,10 @@ subsequent user sessions:
.PP
.EX
$ \fBmkdir \-p $HOME/.locale\fP
-$ \fBI18NPATH=./wrk/ localedef \-f UTF-8 \-i fi_SE $HOME/.locale/fi_SE.UTF-8\fP
-$ \fBLOCPATH=$HOME/.locale LC_ALL=fi_SE.UTF-8 date\fP
+$ \fBI18NPATH=./wrk/ localedef \-f UTF\-8 \-i fi_SE $HOME/.locale/fi_SE.UTF\-8\fP
+$ \fBLOCPATH=$HOME/.locale LC_ALL=fi_SE.UTF\-8 date\fP
$ \fBecho "export LOCPATH=\e$HOME/.locale" >> $HOME/.bashrc\fP
-$ \fBecho "export LANG=fi_SE.UTF-8" >> $HOME/.bashrc\fP
+$ \fBecho "export LANG=fi_SE.UTF\-8" >> $HOME/.bashrc\fP
.EE
.SH SEE ALSO
.BR localedef (1),
diff --git a/man1/memusage.1 b/man1/memusage.1
index b44e49fa4..1800672f6 100644
--- a/man1/memusage.1
+++ b/man1/memusage.1
@@ -260,7 +260,7 @@ main(int argc, char *argv[])
if (i < CYCLES / 2)
j = i;
else
- j--;
+ j\-\-;
size = sizeof(*p) * (j * 50 + 110);
printf("realloc: %zu\en", size);