aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2017-08-19 21:42:31 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2017-08-19 21:42:31 +0200
commitd2fdb1e30a5fa3673de8ef2007abe9673297cfdc (patch)
treec92cab7ebd8e4822811d4a2b03f847f9757c221e
parentba4924aab6de92949e90bc7a76668d856075ba5a (diff)
downloadman-pages-d2fdb1e30a5fa3673de8ef2007abe9673297cfdc.tar.gz
memusage.1, time.1, ioctl_console.2, mmap.2, msync.2, perf_event_open.2, syslog.2, strptime.3, hd.4, sd.4: Use en-dash for ranges
Based on a patch by Bjarni Ingi Gislason. Reported-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man1/memusage.122
-rw-r--r--man1/time.12
-rw-r--r--man2/ioctl_console.26
-rw-r--r--man2/mmap.22
-rw-r--r--man2/msync.22
-rw-r--r--man2/perf_event_open.24
-rw-r--r--man2/syslog.22
-rw-r--r--man3/strptime.346
-rw-r--r--man4/hd.42
-rw-r--r--man4/sd.42
10 files changed, 45 insertions, 45 deletions
diff --git a/man1/memusage.1 b/man1/memusage.1
index 640a1b8c3a..22f98c1152 100644
--- a/man1/memusage.1
+++ b/man1/memusage.1
@@ -211,7 +211,7 @@ a graph of the memory usage of the program can be found in the file
.PP
.in +4n
.EX
-$ \fBmemusage --data=memusage.dat ./a.out\fP
+$ \fBmemusage \-\-data=memusage.dat ./a.out\fP
\&...
Memory usage summary: heap total: 45200, heap peak: 6440, stack peak: 224
total calls total memory failed calls
@@ -220,17 +220,17 @@ realloc| 40 44800 0 (nomove:40, dec:19, free:0)
calloc| 0 0 0
free| 1 440
Histogram for block sizes:
- 192-207 1 2% ================
+ 192\-207 1 2% ================
\&...
- 2192-2207 1 2% ================
- 2240-2255 2 4% =================================
- 2832-2847 2 4% =================================
- 3440-3455 2 4% =================================
- 4032-4047 2 4% =================================
- 4640-4655 2 4% =================================
- 5232-5247 2 4% =================================
- 5840-5855 2 4% =================================
- 6432-6447 1 2% ================
+ 2192\-2207 1 2% ================
+ 2240\-2255 2 4% =================================
+ 2832\-2847 2 4% =================================
+ 3440\-3455 2 4% =================================
+ 4032\-4047 2 4% =================================
+ 4640\-4655 2 4% =================================
+ 5232\-5247 2 4% =================================
+ 5840\-5855 2 4% =================================
+ 6432\-6447 1 2% ================
$ \fBmemusagestat memusage.dat memusage.png\fP
.EE
.in
diff --git a/man1/time.1 b/man1/time.1
index 1df692e049..500c390a31 100644
--- a/man1/time.1
+++ b/man1/time.1
@@ -73,7 +73,7 @@ was invoked, the exit status is that of
Otherwise, it is 127 if
.I command
could not be found, 126 if it could be found but could not be invoked,
-and some other nonzero value (1-125) if something else went wrong.
+and some other nonzero value (1\(en125) if something else went wrong.
.SH ENVIRONMENT
The variables
.BR LANG ,
diff --git a/man2/ioctl_console.2 b/man2/ioctl_console.2
index 5966e660a1..3f191008c5 100644
--- a/man2/ioctl_console.2
+++ b/man2/ioctl_console.2
@@ -114,12 +114,12 @@ Equivalent to
.B KDENABIO
Enable I/O to video board.
Equivalent to
-.IR "ioperm(0x3b4, 0x3df-0x3b4+1, 1)" .
+.IR "ioperm(0x3b4, 0x3df\-0x3b4+1, 1)" .
.TP
.B KDDISABIO
Disable I/O to video board.
Equivalent to
-.IR "ioperm(0x3b4, 0x3df-0x3b4+1, 0)" .
+.IR "ioperm(0x3b4, 0x3df\-0x3b4+1, 0)" .
.TP
.B KDSETMODE
Set text/graphics mode.
@@ -250,7 +250,7 @@ struct consolefontdesc {
unsigned short charcount; /* characters in font
(256 or 512) */
unsigned short charheight; /* scan lines per
- character (1-32) */
+ character (1\-32) */
char *chardata; /* font data in
expanded form */
};
diff --git a/man2/mmap.2 b/man2/mmap.2
index 401da62d2d..df527809e0 100644
--- a/man2/mmap.2
+++ b/man2/mmap.2
@@ -845,7 +845,7 @@ The descriptions of the following files in
and
.IR /proc/[pid]/smaps .
.PP
-B.O. Gallmeister, POSIX.4, O'Reilly, pp. 128-129 and 389-391.
+B.O. Gallmeister, POSIX.4, O'Reilly, pp. 128\(en129 and 389\(en391.
.\"
.\" Repeat after me: private read-only mappings are 100% equivalent to
.\" shared read-only mappings. No ifs, buts, or maybes. -- Linus
diff --git a/man2/msync.2 b/man2/msync.2
index 4d16ee493e..0b84798ab5 100644
--- a/man2/msync.2
+++ b/man2/msync.2
@@ -150,4 +150,4 @@ in
.SH SEE ALSO
.BR mmap (2)
.PP
-B.O. Gallmeister, POSIX.4, O'Reilly, pp. 128-129 and 389-391.
+B.O. Gallmeister, POSIX.4, O'Reilly, pp. 128\(en129 and 389\(en391.
diff --git a/man2/perf_event_open.2 b/man2/perf_event_open.2
index 5b70091221..3070b3dfc7 100644
--- a/man2/perf_event_open.2
+++ b/man2/perf_event_open.2
@@ -2978,8 +2978,8 @@ commas.
For example, the file
.I event
may contain the value
-.I config1:1,6-10,44
-which indicates that event is an attribute that occupies bits 1,6-10, and 44
+.I config1:1,6\-10,44
+which indicates that event is an attribute that occupies bits 1,6\(en10, and 44
of
.IR perf_event_attr::config1 .
.TP
diff --git a/man2/syslog.2 b/man2/syslog.2
index 740e784316..15445aee7a 100644
--- a/man2/syslog.2
+++ b/man2/syslog.2
@@ -261,7 +261,7 @@ and to 15 in case
of a kernel fault (the 10 and 15 are just silly, and equivalent to 8).
The value of
.IR console_loglevel
-can be set (to a value in the range 1-8) by a
+can be set (to a value in the range 1\(en8) by a
.BR syslog ()
call with a
.I type
diff --git a/man3/strptime.3 b/man3/strptime.3
index 3e50c3d23d..ed436e8bcd 100644
--- a/man3/strptime.3
+++ b/man3/strptime.3
@@ -61,14 +61,14 @@ as follows:
.in +4n
.EX
struct tm {
- int tm_sec; /* Seconds (0-60) */
- int tm_min; /* Minutes (0-59) */
- int tm_hour; /* Hours (0-23) */
- int tm_mday; /* Day of the month (1-31) */
- int tm_mon; /* Month (0-11) */
- int tm_year; /* Year - 1900 */
- int tm_wday; /* Day of the week (0-6, Sunday = 0) */
- int tm_yday; /* Day in the year (0-365, 1 Jan = 0) */
+ int tm_sec; /* Seconds (0\-60) */
+ int tm_min; /* Minutes (0\-59) */
+ int tm_hour; /* Hours (0\-23) */
+ int tm_mday; /* Day of the month (1\-31) */
+ int tm_mon; /* Month (0\-11) */
+ int tm_year; /* Year \- 1900 */
+ int tm_wday; /* Day of the week (0\-6, Sunday = 0) */
+ int tm_yday; /* Day in the year (0\-365, 1 Jan = 0) */
int tm_isdst; /* Daylight saving time */
};
.EE
@@ -129,10 +129,10 @@ in abbreviated form or the full name.
The date and time representation for the current locale.
.TP
.B %C
-The century number (0-99).
+The century number (0\(en99).
.TP
.BR %d " or " %e
-The day of month (1-31).
+The day of month (1\(en31).
.TP
.B %D
Equivalent to
@@ -145,19 +145,19 @@ The ISO 8601 standard format is
.BR %Y-%m-%d .)
.TP
.B %H
-The hour (0-23).
+The hour (0\(en23).
.TP
.B %I
-The hour on a 12-hour clock (1-12).
+The hour on a 12-hour clock (1\(en12).
.TP
.B %j
-The day number in the year (1-366).
+The day number in the year (1\(en366).
.TP
.B %m
-The month number (1-12).
+The month number (1\(en12).
.TP
.B %M
-The minute (0-59).
+The minute (0\(en59).
.TP
.B %n
Arbitrary whitespace.
@@ -182,7 +182,7 @@ Equivalent to
.BR %H:%M .
.TP
.B %S
-The second (0-60; 60 may occur for leap seconds;
+The second (0\(en60; 60 may occur for leap seconds;
earlier also 61 was allowed).
.TP
.B %t
@@ -193,14 +193,14 @@ Equivalent to
.BR %H:%M:%S .
.TP
.B %U
-The week number with Sunday the first day of the week (0-53).
+The week number with Sunday the first day of the week (0\(en53).
The first Sunday of January is the first day of week 1.
.TP
.B %w
-The ordinal number of the day of the week (0-6), with Sunday = 0.
+The ordinal number of the day of the week (0\(en6), with Sunday = 0.
.TP
.B %W
-The week number with Monday the first day of the week (0-53).
+The week number with Monday the first day of the week (0\(en53).
The first Monday of January is the first day of week 1.
.TP
.B %x
@@ -210,10 +210,10 @@ The date, using the locale's date format.
The time, using the locale's time format.
.TP
.B %y
-The year within century (0-99).
-When a century is not otherwise specified, values in the range 69-99 refer
-to years in the twentieth century (1969-1999); values in the
-range 00-68 refer to years in the twenty-first century (2000-2068).
+The year within century (0\(en99).
+When a century is not otherwise specified, values in the range 69\(en99 refer
+to years in the twentieth century (1969\(en1999); values in the
+range 00\(en68 refer to years in the twenty-first century (2000\(en2068).
.TP
.B %Y
The year, including century (for example, 1991).
diff --git a/man4/hd.4 b/man4/hd.4
index 9a7b71ce79..073866db44 100644
--- a/man4/hd.4
+++ b/man4/hd.4
@@ -60,7 +60,7 @@ The first form,
Partition numbers are assigned in the order the partitions
are discovered, and only nonempty, nonextended partitions
get a number.
-However, partition numbers 1-4 are given to the
+However, partition numbers 1\(en4 are given to the
four partitions described in the MBR (the "primary" partitions),
regardless of whether they are unused or extended.
Thus, the first logical partition will be
diff --git a/man4/sd.4 b/man4/sd.4
index f7e88db75d..70d8e26a91 100644
--- a/man4/sd.4
+++ b/man4/sd.4
@@ -54,7 +54,7 @@ is as follows:
.IP +3
partition 0 is the whole drive
.IP
-partitions 1-4 are the DOS "primary" partitions
+partitions 1\(en4 are the DOS "primary" partitions
.IP
partitions 5-8 are the DOS "extended" (or "logical") partitions
.PP