diff --git a/man2/fcntl.2 b/man2/fcntl.2 index db2d46fac..838b88cf2 100644 --- a/man2/fcntl.2 +++ b/man2/fcntl.2 @@ -331,7 +331,7 @@ instead. The above record locks may be either advisory or mandatory, and are advisory by default. To make use of mandatory locks, mandatory locking must be enabled -(using the "-o mand" option to +(using the "\-o mand" option to .BR mount (8)) for the file system containing the file to be locked and enabled on the file itself (by disabling diff --git a/man2/getpriority.2 b/man2/getpriority.2 index 9019e7941..30eaa0736 100644 --- a/man2/getpriority.2 +++ b/man2/getpriority.2 @@ -155,7 +155,7 @@ The actual priority range varies between kernel versions. Linux before 1.3.36 had \-infinity..15. Linux since 1.3.43 has \-20..19, and the system call getpriority returns 40..1 for these values (since negative numbers are error codes). -The library call converts N into 20-N. +The library call converts N into 20\-N. .LP On some systems, the range of nice values is \-20..20. .LP diff --git a/man2/gettimeofday.2 b/man2/gettimeofday.2 index 54fec837f..f647bcd54 100644 --- a/man2/gettimeofday.2 +++ b/man2/gettimeofday.2 @@ -156,16 +156,16 @@ The following macros are defined to operate on a struct timeval : .nf #define timerisset(tvp)\\ .ti +8 -((tvp)->tv_sec || (tvp)->tv_usec) +((tvp)\->tv_sec || (tvp)\->tv_usec) #define timercmp(tvp, uvp, cmp)\\ .in +8 -((tvp)->tv_sec cmp (uvp)->tv_sec ||\\ -(tvp)->tv_sec == (uvp)->tv_sec &&\\ -(tvp)->tv_usec cmp (uvp)->tv_usec) +((tvp)\->tv_sec cmp (uvp)\->tv_sec ||\\ +(tvp)\->tv_sec == (uvp)\->tv_sec &&\\ +(tvp)\->tv_usec cmp (uvp)\->tv_usec) .in -8 #define timerclear(tvp)\\ .ti +8 -((tvp)->tv_sec = (tvp)->tv_usec = 0) +((tvp)\->tv_sec = (tvp)\->tv_usec = 0) .fi .PP If either diff --git a/man2/kill.2 b/man2/kill.2 index 3d277a764..fdda8aa68 100644 --- a/man2/kill.2 +++ b/man2/kill.2 @@ -113,7 +113,7 @@ POSIX 1003.1-2001 requires that \fIkill(\-1,sig)\fP send \fIsig\fP to all processes that the current process may send signals to, except possibly for some implementation-defined system processes. Linux allows a process to signal itself, but on Linux the call -\fIkill(-\1,sig)\fP does not signal the current process. +\fIkill(\-1,sig)\fP does not signal the current process. .LP POSIX 1003.1-2003 requires that if a process sends a signal to itself, and that process does not have the signal blocked, and no other thread diff --git a/man2/sysinfo.2 b/man2/sysinfo.2 index a2ec8e9f3..4dafb821d 100644 --- a/man2/sysinfo.2 +++ b/man2/sysinfo.2 @@ -58,7 +58,7 @@ struct sysinfo { unsigned long totalhigh; /* Total high memory size */ unsigned long freehigh; /* Available high memory size */ unsigned int mem_unit; /* Memory unit size in bytes */ - char _f[20-2*sizeof(long)-sizeof(int)]; /* Padding for libc5 */ + char _f[20\-2*sizeof(long)\-sizeof(int)]; /* Padding for libc5 */ }; .fi .RE diff --git a/man3/bsearch.3 b/man3/bsearch.3 index f065011cf..ec58c340a 100644 --- a/man3/bsearch.3 +++ b/man3/bsearch.3 @@ -80,7 +80,7 @@ struct mi { static int compmi(const void *m1, const void *m2) { struct mi *mi1 = (struct mi *) m1; struct mi *mi2 = (struct mi *) m2; - return strcmp(mi1->name, mi2->name); + return strcmp(mi1\->name, mi2\->name); } int main(int argc, char **argv) { diff --git a/man3/cacosh.3 b/man3/cacosh.3 index 6e4501aca..4fc9b0634 100644 --- a/man3/cacosh.3 +++ b/man3/cacosh.3 @@ -17,10 +17,10 @@ Link with \-lm. .SH DESCRIPTION The cacosh() function calculates the complex acosh(). If y = cacosh(z), then z = ccosh(y). -The imaginary part of y is chosen in the interval [-pi,pi]. +The imaginary part of y is chosen in the interval [\-pi,pi]. The real part of y is chosen nonnegative. .LP -One has cacosh(z) = (0.5)*clog((1+z)/(1-z)). +One has cacosh(z) = (0.5)*clog((1+z)/(1\-z)). .SH "CONFORMING TO" C99 .SH "SEE ALSO" diff --git a/man3/carg.3 b/man3/carg.3 index 3185c38cd..5cc464d8c 100644 --- a/man3/carg.3 +++ b/man3/carg.3 @@ -25,7 +25,7 @@ and a = carg(z) is the "phase angle", the argument of z. .LP One has carg(z) = atan(creal(z) / cimag(z)). .SH "RETURN VALUE" -The return value is the range of [-pi,pi]. +The return value is the range of [\-pi,pi]. .SH "CONFORMING TO" C99 .SH "SEE ALSO" diff --git a/man3/casin.3 b/man3/casin.3 index d1c77e5bd..24fcc790a 100644 --- a/man3/casin.3 +++ b/man3/casin.3 @@ -17,10 +17,10 @@ Link with \-lm. .SH DESCRIPTION The casin() function calculates the complex asin(). If y = casin(z), then z = csin(y). -The real part of y is chosen in the interval [-pi/2,pi/2]. +The real part of y is chosen in the interval [\-pi/2,pi/2]. .LP One has -casin(z) = \-i clog(iz+csqrt(1-z*z)). +casin(z) = \-i clog(iz+csqrt(1\-z*z)). .SH "CONFORMING TO" C99 .SH "SEE ALSO" diff --git a/man3/casinh.3 b/man3/casinh.3 index 7f819f1ea..4c1f94b2a 100644 --- a/man3/casinh.3 +++ b/man3/casinh.3 @@ -17,7 +17,7 @@ Link with \-lm. .SH DESCRIPTION The casinh() function calculates the complex asinh(). If y = casinh(z), then z = csinh(y). -The imaginary part of y is chosen in the interval [-pi/2,pi/2]. +The imaginary part of y is chosen in the interval [\-pi/2,pi/2]. .LP One has casinh(z) = clog(z+csqrt(z*z+1)). .SH "CONFORMING TO" diff --git a/man3/catan.3 b/man3/catan.3 index cb360a009..b9f1247a4 100644 --- a/man3/catan.3 +++ b/man3/catan.3 @@ -17,10 +17,10 @@ Link with \-lm. .SH DESCRIPTION The catan() function calculates the complex atan(). If y = catan(z), then z = ctan(y). -The real part of y is chosen in the interval [-pi/2,pi/2]. +The real part of y is chosen in the interval [\-pi/2,pi/2]. .LP One has -catan(z) = 1/2i clog((1+iz)/(1-iz)). +catan(z) = 1/2i clog((1+iz)/(1\-iz)). .SH "CONFORMING TO" C99 .SH "SEE ALSO" diff --git a/man3/catanh.3 b/man3/catanh.3 index 9e3388d88..9998ae023 100644 --- a/man3/catanh.3 +++ b/man3/catanh.3 @@ -17,9 +17,9 @@ Link with \-lm. .SH DESCRIPTION The catanh() function calculates the complex atanh(). If y = catanh(z), then z = ctanh(y). -The imaginary part of y is chosen in the interval [-pi/2,pi/2]. +The imaginary part of y is chosen in the interval [\-pi/2,pi/2]. .LP -One has catanh(z) = 0.5*clog((1+z)/(1-z)). +One has catanh(z) = 0.5*clog((1+z)/(1\-z)). .SH "CONFORMING TO" C99 .SH "SEE ALSO" diff --git a/man3/cerf.3 b/man3/cerf.3 index d8c71baa2..7265bf1d1 100644 --- a/man3/cerf.3 +++ b/man3/cerf.3 @@ -23,7 +23,7 @@ Link with \-lm. .SH DESCRIPTION The function cerf() is the complex version of the error function. erf(z) = 2/sqrt(pi) * integral from 0 to z of exp(\-t*t) dt. -The function cerfc() is defined as cerfc(z) = 1-cerf(z). +The function cerfc() is defined as cerfc(z) = 1\-cerf(z). .\" must check 1/sqrt(2*pi) ? .SH "CONFORMING TO" The function name is reserved for future use in C99. diff --git a/man3/clock.3 b/man3/clock.3 index 80a770581..5d7af4004 100644 --- a/man3/clock.3 +++ b/man3/clock.3 @@ -43,7 +43,7 @@ The value returned is the CPU time used so far as a to get the number of seconds used, divide by .BR CLOCKS_PER_SEC . If the processor time used is not available or its value cannot -be represented, the function returns the value (clock_t)-1. +be represented, the function returns the value (clock_t)\-1. .SH "CONFORMING TO" ANSI C. POSIX requires that CLOCKS_PER_SEC equals 1000000 independent diff --git a/man3/clog.3 b/man3/clog.3 index 8fb045c98..9300ea112 100644 --- a/man3/clog.3 +++ b/man3/clog.3 @@ -17,7 +17,7 @@ Link with \-lm. .SH DESCRIPTION The logarithm clog is the inverse function of the exponential cexp. Thus, if y = clog(z), then z = cexp(y). -The imaginary part of y is chosen in the interval [-pi,pi]. +The imaginary part of y is chosen in the interval [\-pi,pi]. .LP One has clog(z) = log(cabs(z))+I*carg(z). .LP diff --git a/man3/csinh.3 b/man3/csinh.3 index d2c7d04a5..3f775a218 100644 --- a/man3/csinh.3 +++ b/man3/csinh.3 @@ -16,7 +16,7 @@ csinh, csinhf, csinhl \- complex hyperbolic sine Link with \-lm. .SH DESCRIPTION The complex hyperbolic sine function sinh(z) is defined as -(exp(z)-exp(\-z))/2. +(exp(z)\-exp(\-z))/2. .SH "CONFORMING TO" C99 .SH "SEE ALSO" diff --git a/man3/getgrouplist.3 b/man3/getgrouplist.3 index eb68be394..c47cef92a 100644 --- a/man3/getgrouplist.3 +++ b/man3/getgrouplist.3 @@ -32,7 +32,7 @@ If .RI * ngroups is smaller than the total number of groups found, then .B getgrouplist() -returns a value of `-1'. +returns a value of `\-1'. In all cases the actual number of groups is stored in .RI * ngroups . .SH BUGS diff --git a/man3/getutent.3 b/man3/getutent.3 index 128577562..7a636b5f8 100644 --- a/man3/getutent.3 +++ b/man3/getutent.3 @@ -128,10 +128,10 @@ int main(int argc, char *argv[]) entry.ut_type=USER_PROCESS; entry.ut_pid=getpid(); strcpy(entry.ut_line,ttyname(0)+strlen("/dev/")); - /* only correct for ptys named /dev/tty[pqr][0-9a-z] */ + /* only correct for ptys named /dev/tty[pqr][0\-9a\-z] */ strcpy(entry.ut_id,ttyname(0)+strlen("/dev/tty")); time(&entry.ut_time); - strcpy(entry.ut_user,getpwuid(getuid())->pw_name); + strcpy(entry.ut_user,getpwuid(getuid())\->pw_name); memset(entry.ut_host,0,UT_HOSTSIZE); entry.ut_addr=0; setutent(); diff --git a/man3/glob.3 b/man3/glob.3 index 029f38b46..025c3bacf 100644 --- a/man3/glob.3 +++ b/man3/glob.3 @@ -217,7 +217,7 @@ globbuf.gl_offs = 2; glob("*.c", GLOB_DOOFFS, NULL, &globbuf); glob("../*.c", GLOB_DOOFFS | GLOB_APPEND, NULL, &globbuf); globbuf.gl_pathv[0] = "ls"; -globbuf.gl_pathv[1] = "-l"; +globbuf.gl_pathv[1] = "\-l"; execvp("ls", &globbuf.gl_pathv[0]); .fi .SH "CONFORMING TO" diff --git a/man3/printf.3 b/man3/printf.3 index 59cdc7d88..6876a4646 100644 --- a/man3/printf.3 +++ b/man3/printf.3 @@ -318,7 +318,7 @@ Instead of a decimal digit string one may write `*' or `*m$' is given in the next argument, or in the m-th argument, respectively, which must be of type .IR int . -A negative field width is taken as a `-' flag followed by a +A negative field width is taken as a `\-' flag followed by a positive field width. In no case does a non-existent or small field width cause truncation of a field; if the result of a conversion is wider than the field width, the @@ -562,10 +562,10 @@ If a decimal point appears, at least one digit appears before it. (The SUSv2 does not know about .B F and says that character string representations for infinity and NaN -may be made available. The C99 standard specifies `[-]inf' or `[-]infinity' +may be made available. The C99 standard specifies `[\-]inf' or `[\-]infinity' for infinity, and a string starting with `nan' for NaN, in the case of .B f -conversion, and `[-]INF' or `[-]INFINITY' or `NAN*' in the case of +conversion, and `[\-]INF' or `[\-]INFINITY' or `NAN*' in the case of .B F conversion.) .TP @@ -598,7 +598,7 @@ conversion, the .I double argument is converted to hexadecimal notation (using the letters abcdef) in the style -.BR "" [-] 0x h \&. hhhh p \\*(Pmd; +.BR "" [\-] 0x h \&. hhhh p \\*(Pmd; for .B A conversion the prefix diff --git a/man3/scandir.3 b/man3/scandir.3 index f11c96fdd..443b5e029 100644 --- a/man3/scandir.3 +++ b/man3/scandir.3 @@ -67,7 +67,7 @@ The former sorts directory entries using .BR strcoll (3), the latter using .BR strvers\%cmp (3) -on the strings \fI(*a)->d_name\fP and \fI(*b)->d_name\fP. +on the strings \fI(*a)\->d_name\fP and \fI(*b)\->d_name\fP. .SH "RETURN VALUE" The \fBscandir()\fP function returns the number of directory entries selected or \-1 if an error occurs. diff --git a/man3/scanf.3 b/man3/scanf.3 index 74b98bfd9..be1ccedcd 100644 --- a/man3/scanf.3 +++ b/man3/scanf.3 @@ -300,10 +300,10 @@ circumflex To include a close bracket in the set, make it the first character after the open bracket or the circumflex; any other position will end the set. The hyphen character -.B - +.B \- is also special; when placed between two other characters, it adds all intervening characters to the set. To include a hyphen, make it the last -character before the final close bracket. For instance, `[^]0-9-]' means +character before the final close bracket. For instance, `[^]0\-9-\]' means the set `everything except close bracket, zero through nine, and hyphen'. The string ends with the appearance of a character not in the (or, with a circumflex, in) set or when the field width runs out. diff --git a/man3/strfmon.3 b/man3/strfmon.3 index 9a87a08f3..3e3102b0b 100644 --- a/man3/strfmon.3 +++ b/man3/strfmon.3 @@ -55,7 +55,7 @@ for the current locale. By default, grouping is enabled. The ( flag indicates that negative amounts should be enclosed between parentheses. The + flag indicates that signs should be handled in the default way, that is, amounts are preceded by the locale's -sign indication, e.g., nothing for positive, "-" for negative. +sign indication, e.g., nothing for positive, "\-" for negative. .TP .BR ! Omit the currency symbol. diff --git a/man3/strtod.3 b/man3/strtod.3 index a0be27c9f..9dce83309 100644 --- a/man3/strtod.3 +++ b/man3/strtod.3 @@ -72,7 +72,7 @@ representation, respectively. The expected form of the (initial portion of the) string is optional leading white space as recognized by \fIis\%space\fP(3), -an optional plus (``+'') or minus sign (``-'') and then either +an optional plus (``+'') or minus sign (``\-'') and then either (i) a decimal number, or (ii) a hexadecimal number, or (iii) an infinity, or (iv) a NAN (not-a-number). .LP diff --git a/man3/strtol.3 b/man3/strtol.3 index e05cef145..eb70e6dc3 100644 --- a/man3/strtol.3 +++ b/man3/strtol.3 @@ -47,7 +47,7 @@ which must be between 2 and 36 inclusive, or be the special value 0. The string must begin with an arbitrary amount of white space (as determined by .BR isspace (3)) -followed by a single optional `+' or `-' +followed by a single optional `+' or `\-' sign. If \fIbase\fP is zero or 16, the string may then include a `0x' prefix, and the number will be read in base 16; otherwise, a zero \fIbase\fP is taken as 10 (decimal) unless the next character diff --git a/man3/strtoul.3 b/man3/strtoul.3 index a2cd1e33f..fbbecf72b 100644 --- a/man3/strtoul.3 +++ b/man3/strtoul.3 @@ -50,7 +50,7 @@ the special value 0. The string must begin with an arbitrary amount of white space (as determined by .BR isspace (3)) -followed by a single optional `+' or `-' +followed by a single optional `+' or `\-' sign. If \fIbase\fP is zero or 16, the string may then include a `0x' prefix, and the number will be read in base 16; otherwise, a zero \fIbase\fP is taken as 10 (decimal) unless the next character diff --git a/man3/tgamma.3 b/man3/tgamma.3 index dc4b2098d..4c9af08af 100644 --- a/man3/tgamma.3 +++ b/man3/tgamma.3 @@ -19,7 +19,7 @@ Compile with \-std=c99; link with \-lm. .SH DESCRIPTION The Gamma function is defined by .sp - Gamma(x) = integral from 0 to infinity of t^(x-1) e^-t dt + Gamma(x) = integral from 0 to infinity of t^(x\-1) e^\-t dt .sp It is defined for every real number except for nonpositive integers. For nonnegative integral \fIm\fP one has @@ -33,7 +33,7 @@ and, more generally, for all \fIx\fP: Furthermore, the following is valid for all values of \fIx\fP outside the poles: .sp - Gamma(x) * Gamma(1-x) = PI/sin(PI*x) + Gamma(x) * Gamma(1\-x) = PI/sin(PI*x) .PP This function returns the value of the Gamma function for the argument \fIx\fP. It had to be called "true gamma function" diff --git a/man3/ttyslot.3 b/man3/ttyslot.3 index 4b2570062..a40e90d28 100644 --- a/man3/ttyslot.3 +++ b/man3/ttyslot.3 @@ -50,8 +50,8 @@ The first character was either '0' or '1', where '0' meant "ignore". The second character denoted the terminal: '8' stood for "/dev/tty8". The third character was an argument to .BR getty (8) -indicating the sequence of line speeds to try ('-' was: start trying -110 baud). Thus a typical line was "18-". +indicating the sequence of line speeds to try ('\-' was: start trying +110 baud). Thus a typical line was "18\-". A hang on some line was solved by changing the '1' to a '0', signalling init, changing back again, and signalling init again. .LP diff --git a/man3/wordexp.3 b/man3/wordexp.3 index 880539721..13244c17c 100644 --- a/man3/wordexp.3 +++ b/man3/wordexp.3 @@ -119,7 +119,7 @@ by the output of command), arithmetic expansion, field splitting, wildcard expansion, quote removal. .LP The result of expansion of special parameters -($@, $*, $#, $?, $-, $$, $!, $0) is unspecified. +($@, $*, $#, $?, $\-, $$, $!, $0) is unspecified. .LP Field splitting is done using the environment variable $IFS. If it is not set, the field separators are space, tab and newline. diff --git a/man4/sd.4 b/man4/sd.4 index e923c73d0..1d9325039 100644 --- a/man4/sd.4 +++ b/man4/sd.4 @@ -122,8 +122,8 @@ parameter is required, and it is NULL, then .IR ioctl () will return \-EINVAL. .SH FILES -/dev/sd[a-h]: the whole device +/dev/sd[a\-h]: the whole device .br -/dev/sd[a-h][0-8]: individual block partitions +/dev/sd[a\-h][0\-8]: individual block partitions .SH "SEE ALSO" .BR scsi (4) diff --git a/man4/ttyS.4 b/man4/ttyS.4 index 3539b78ae..5eac806c2 100644 --- a/man4/ttyS.4 +++ b/man4/ttyS.4 @@ -25,7 +25,7 @@ .SH NAME ttyS \- serial terminal lines .SH DESCRIPTION -\fBttyS[0-3]\fP are character devices for the serial terminal lines. +\fBttyS[0\-3]\fP are character devices for the serial terminal lines. .LP They are typically created by: .RS @@ -38,11 +38,11 @@ mknod \-m 660 /dev/ttyS2 c 4 66 # base address 0x3e8 .br mknod \-m 660 /dev/ttyS3 c 4 67 # base address 0x2e8 .br -chown root:tty /dev/ttyS[0-3] +chown root:tty /dev/ttyS[0\-3] .sp .RE .SH FILES -/dev/ttyS[0-3] +/dev/ttyS[0\-3] .SH "SEE ALSO" .BR chown (1), .BR getty (1), diff --git a/man4/vcs.4 b/man4/vcs.4 index 7d189e729..03c6c16a7 100644 --- a/man4/vcs.4 +++ b/man4/vcs.4 @@ -32,9 +32,9 @@ vcs, vcsa \- virtual console memory of the currently displayed virtual console terminal. .LP -\fB/dev/vcs[1-63]\fP are character devices for virtual console +\fB/dev/vcs[1\-63]\fP are character devices for virtual console terminals, they have major number 7 and minor number 1 to 63, usually -mode 0644 and owner root.tty. \fB/dev/vcsa[0-63]\fP are the same, but +mode 0644 and owner root.tty. \fB/dev/vcsa[0\-63]\fP are the same, but including attributes, and prefixed with four bytes giving the screen dimensions and cursor position: \fIlines\fP, \fIcolumns\fP, \fIx\fP, \fIy\fP. (\fIx\fP = \fIy\fP = 0 at the top left corner of the screen.) @@ -100,9 +100,9 @@ there: .fi .SH FILES -/dev/vcs[0-63] +/dev/vcs[0\-63] .br -/dev/vcsa[0-63] +/dev/vcsa[0\-63] .SH AUTHOR Andries Brouwer .SH HISTORY diff --git a/man5/hosts.5 b/man5/hosts.5 index 7f7c1732e..05dd1be6d 100644 --- a/man5/hosts.5 +++ b/man5/hosts.5 @@ -43,7 +43,7 @@ IP_address canonical_hostname [aliases...] Fields of the entry are separated by any number of blanks and/or tab characters. Text from a "#" character until the end of the line is a comment, and is ignored. Host names may contain only alphanumeric -characters, minus signs ("-"), and periods ("."). They must begin with an +characters, minus signs ("\-"), and periods ("."). They must begin with an alphabetic character and end with an alphanumeric character. Optional aliases provide for name changes, alternate spellings, shorter hostnames, or generic hostnames (for example, diff --git a/man5/nsswitch.conf.5 b/man5/nsswitch.conf.5 index d596f868f..4c6c3d40c 100644 --- a/man5/nsswitch.conf.5 +++ b/man5/nsswitch.conf.5 @@ -217,7 +217,7 @@ require the single + entry in and .BR /etc/shadow . If this is not sufficient, the NSS `compat' service provides full -+/- semantics. By default, the source is `nis', but this may be ++/\- semantics. By default, the source is `nis', but this may be overridden by specifying `nisplus' as source for the pseudo-databases .BR passwd_compat, .B group_compat diff --git a/man5/services.5 b/man5/services.5 index 063dd1350..25fcb728f 100644 --- a/man5/services.5 +++ b/man5/services.5 @@ -128,7 +128,7 @@ not stripped. .I service-names can be any printable characters excluding space and tab. However, a conservative choice of characters should be used to minimize -inter-operability problems. E.g., a-z, 0-9, and hyphen (\-) would seem a +inter-operability problems. E.g., a\-z, 0\-9, and hyphen (\-) would seem a sensible choice. Lines not matching this format should not be present in the diff --git a/man7/bootparam.7 b/man7/bootparam.7 index d84c038b9..41180bcc9 100644 --- a/man7/bootparam.7 +++ b/man7/bootparam.7 @@ -330,7 +330,7 @@ kernel buffer memory management. For kernel tuners only. .SH "BOOT ARGUMENTS FOR RAMDISK USE" (Only if the kernel was compiled with CONFIG_BLK_DEV_RAM.) -In general it is a bad idea to use a ramdisk under Linux - +In general it is a bad idea to use a ramdisk under Linux \(em the system will use available memory more efficiently itself. But while booting (or while constructing boot floppies) it is often useful to load the floppy contents into a diff --git a/man7/hier.7 b/man7/hier.7 index 104e875cb..c3860d8cf 100644 --- a/man7/hier.7 +++ b/man7/hier.7 @@ -310,7 +310,7 @@ Locale information goes here. .I /usr/share/man Manpages go here in subdirectories according to the man page sections. .TP -.I /usr/share/man//man[1-9] +.I /usr/share/man//man[1\-9] These directories contain manual pages for the specific locale in source code form. Systems which use a unique language and code set for all manual pages may omit the substring. @@ -366,7 +366,7 @@ Reserved for historical reasons. .I /var/cache Data cached for programs. .TP -.IR /var/catman/cat[1-9] " or " /var/cache/man/cat[1-9] +.IR /var/catman/cat[1\-9] " or " /var/cache/man/cat[1\-9] These directories contain preformatted manual pages according to their man page section. (The use of preformatted manual pages is deprecated.) .TP diff --git a/man7/regex.7 b/man7/regex.7 index 0167e7bc0..06ec74b31 100644 --- a/man7/regex.7 +++ b/man7/regex.7 @@ -104,7 +104,7 @@ it matches any single character If two characters in the list are separated by `\-', this is shorthand for the full \fIrange\fR of characters between those two (inclusive) in the collating sequence, -e.g. `[0-9]' in ASCII matches any decimal digit. +e.g. `[0\-9]' in ASCII matches any decimal digit. It is illegal\*(dg for two ranges to share an endpoint, e.g. `a-c-e'. Ranges are very collating-sequence-dependent,