]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
hyphen/dash fixes
authorMichael Kerrisk <mtk.manpages@gmail.com>
Wed, 6 Jul 2005 12:57:38 +0000 (12:57 +0000)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Wed, 6 Jul 2005 12:57:38 +0000 (12:57 +0000)
67 files changed:
man1/dd.1
man1/dircolors.1
man1/intro.1
man1/ls.1
man2/kill.2
man2/path_resolution.2
man2/select.2
man2/select_tut.2
man2/seteuid.2
man2/sigaltstack.2
man2/syslog.2
man2/wait.2
man2/wait4.2
man3/ccos.3
man3/ccosh.3
man3/cerf.3
man3/cosh.3
man3/csin.3
man3/csinh.3
man3/csqrt.3
man3/difftime.3
man3/div.3
man3/dlopen.3
man3/erf.3
man3/err.3
man3/errno.3
man3/expm1.3
man3/fenv.3
man3/getline.3
man3/hsearch.3
man3/iconv.3
man3/iconv_open.3
man3/isalpha.3
man3/killpg.3
man3/mbrlen.3
man3/mbrtowc.3
man3/mbsnrtowcs.3
man3/mbsrtowcs.3
man3/mbstowcs.3
man3/printf.3
man3/scandir.3
man3/signbit.3
man3/sinh.3
man3/tsearch.3
man3/wcrtomb.3
man3/wcsnrtombs.3
man3/wcsrtombs.3
man3/wcstombs.3
man3/wctrans.3
man3/wctype.3
man4/console_codes.4
man4/epoll.4
man4/full.4
man4/initrd.4
man4/random.4
man4/st.4
man4/vcs.4
man5/complex.5
man5/nscd.conf.5
man5/proc.5
man5/services.5
man5/slabinfo.5
man7/ascii.7
man7/glob.7
man7/mdoc.7
man7/pthreads.7
man7/tcp.7

index f186b7faf2ef09010f582742cb3db504731b1fa3..ff8625e0cd20fc8a1673a7b33613e5f189ae6fc3 100644 (file)
--- a/man1/dd.1
+++ b/man1/dd.1
@@ -46,7 +46,7 @@ may be shorter.
 .PP
 The numeric-valued options below (bytes and blocks) can be followed
 by a multiplier: `k'=1024, `b'=512, `w'=2, `c'=1
-(`w' and `c' are GNU extensions; `w' should never be used -
+(`w' and `c' are GNU extensions; `w' should never be used \-
 it means 2 in System V and 4 in 4.2BSD).
 Two or more of such numeric expressions can be multiplied
 by putting `x' in between.
index 5670e608cc50626da4052eee51cf979be9bcae69..306c72e8b5c6ba4360475dbbade23ea24ac14479 100644 (file)
@@ -96,7 +96,7 @@ This implementation is not entirely compatible with the original
 .BR dircolors / color-ls
 package distributed with Slackware Linux.  Notably, specific support
 for the Z shell and Korn shell is not present.  Users of these shells
-should use the Bourne shell (-b) mode.
+should use the Bourne shell (\-b) mode.
 .SH "SEE ALSO"
 .BR ls (1),
 .BR dir_colors (5)
index 7a51e2d3d45b82c65fed652f21bd4f80632bbf66..338600478f22161f2d792435c4048769cc0b46d3 100644 (file)
@@ -80,7 +80,7 @@ Su Mo Tu We Th Fr Sa
 
 .BI "% " ls
 bin  tel
-.BI "% " "ls -l"
+.BI "% " "ls \-l"
 total 2
 drwxrwxr-x   2 aeb       1024 Aug  6 23:51 bin
 -rw-rw-r--   1 aeb         37 Aug  6 23:52 tel
@@ -88,13 +88,13 @@ drwxrwxr-x   2 aeb       1024 Aug  6 23:51 bin
 maja    0501-1136285
 peter   0136-7399214
 .BI "% " "cp tel tel2"
-.BI "% " "ls -l"
+.BI "% " "ls \-l"
 total 3
 drwxr-xr-x   2 aeb       1024 Aug  6 23:51 bin
 -rw-r--r--   1 aeb         37 Aug  6 23:52 tel
 -rw-r--r--   1 aeb         37 Aug  6 23:53 tel2
 .BI "% " "mv tel tel1"
-.BI "% " "ls -l"
+.BI "% " "ls \-l"
 total 3
 drwxr-xr-x   2 aeb       1024 Aug  6 23:51 bin
 -rw-r--r--   1 aeb         37 Aug  6 23:52 tel1
index ea868350a68b155b97d5817f8dfd2a5984c18044..bc2773075813843f926856fb050548176135ff77 100644 (file)
--- a/man1/ls.1
+++ b/man1/ls.1
@@ -297,24 +297,24 @@ and is especially useful when browsing directories that contain many
 files with indices/version numbers in their names.  For example:
 
 .nf
-     > ls -1            > ls -1v
-     foo.zml-1.gz       foo.zml-1.gz
-     foo.zml-100.gz     foo.zml-12.gz
-     foo.zml-12.gz      foo.zml-25.gz
-     foo.zml-25.gz      foo.zml-100.gz
+     > ls \-1            > ls \-1v
+     foo.zml\-1.gz       foo.zml\-1.gz
+     foo.zml\-100.gz     foo.zml\-12.gz
+     foo.zml\-12.gz      foo.zml\-25.gz
+     foo.zml\-25.gz      foo.zml\-100.gz
 .fi
 
 Note also that numeric parts with leading zeroes are considered as
 fractional:
 
 .nf
-     > ls -1            > ls -1v
-     abc-1.007.tgz      abc-1.007.tgz
-     abc-1.012b.tgz     abc-1.01a.tgz
-     abc-1.01a.tgz      abc-1.012b.tgz
+     > ls \-1            > ls \-1v
+     abc\-1.007.tgz      abc\-1.007.tgz
+     abc\-1.012b.tgz     abc\-1.01a.tgz
+     abc\-1.01a.tgz      abc\-1.012b.tgz
 .fi
 
-(New in file\%utils-4.0.)
+(New in file\%utils\-4.0.)
 .TP
 .BI "\-w, \-\-width " cols
 Assume the screen is
index ac4af43550a763063291e9af2bad78d999e45a84..3d277a7649dc79990c946d59100a5e0fd7d0ea9a 100644 (file)
@@ -109,11 +109,11 @@ has explicitly installed signal handlers.
 This is done to assure the
 system is not brought down accidentally.
 .LP
-POSIX 1003.1-2001 requires that \fIkill(-1,sig)\fP send \fIsig\fP
+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
index b88ddea556ee08ec32346110f221861b58b0174c..96e98deb444f652cc7ae1a884a7db39d29b5da5b 100644 (file)
@@ -91,10 +91,10 @@ exceeded ("Too many levels of symbolic links").
 The lookup of the final component of the pathname goes just like
 that of all other components, as described in the previous step,
 with two differences: (i) the final component need not be a
-directory (at least as far as the path resolution process is concerned -
+directory (at least as far as the path resolution process is concerned \-
 it may have to be a directory, or a non-directory, because of
 the requirements of the specific system call), and (ii) it
-is not necessarily an error if the component is not found -
+is not necessarily an error if the component is not found \-
 maybe we are just creating it. The details on the treatment
 of the final entry are described in the manual pages of the specific
 system calls.
index e63b97726e1bfcde65d17e520e6520abe4ba54a9..a62ffaa900dbbb7a7b2e529163c07d7ba486acde 100644 (file)
@@ -283,7 +283,7 @@ main(void) {
     retval = select(1, &rfds, NULL, NULL, &tv);
     /* Don't rely on the value of tv now! */
 
-    if (retval == -1)
+    if (retval == \-1)
         perror("select()");
     else if (retval)
         printf("Data is available now.\\n");
index a31832dfa16f61d386248e899c3eb6f21929e34e..b29f69e64634a24fe75a2d2c08ab47bbf5dad50f 100644 (file)
@@ -192,7 +192,7 @@ int main (int argc, char **argv) {
     signal (SIGCHLD, child_sig_handler);
 
     for (;;) { /* main loop */
-        for (; child_events > 0; child_events--) {
+        for (; child_events > 0; child_events\-\-) {
             /* do event work here */
         }
         r = pselect (nfds, &rd, &wr, &er, 0, &orig_sigmask);
@@ -260,7 +260,7 @@ main(void) {
     retval = select(1, &rfds, NULL, NULL, &tv);
     /* Don't rely on the value of tv now! */
 
-    if (retval == -1)
+    if (retval == \-1)
         perror("select()");
     else if (retval)
         printf("Data is available now.\\n");
@@ -304,7 +304,7 @@ static int listen_socket (int listen_port) {
     int yes;
     if ((s = socket (AF_INET, SOCK_STREAM, 0)) < 0) {
         perror ("socket");
-        return -1;
+        return \-1;
     }
     yes = 1;
     if (setsockopt
@@ -312,7 +312,7 @@ static int listen_socket (int listen_port) {
          (char *) &yes, sizeof (yes)) < 0) {
         perror ("setsockopt");
         close (s);
-        return -1;
+        return \-1;
     }
     memset (&a, 0, sizeof (a));
     a.sin_port = htons (listen_port);
@@ -321,7 +321,7 @@ static int listen_socket (int listen_port) {
         (s, (struct sockaddr *) &a, sizeof (a)) < 0) {
         perror ("bind");
         close (s);
-        return -1;
+        return \-1;
     }
     printf ("accepting connections on port %d\\n",
             (int) listen_port);
@@ -336,7 +336,7 @@ static int connect_socket (int connect_port,
     if ((s = socket (AF_INET, SOCK_STREAM, 0)) < 0) {
         perror ("socket");
         close (s);
-        return -1;
+        return \-1;
     }
 
     memset (&a, 0, sizeof (a));
@@ -348,7 +348,7 @@ static int connect_socket (int connect_port,
          (struct in_addr *) &a.sin_addr.s_addr)) {
         perror ("bad IP address format");
         close (s);
-        return -1;
+        return \-1;
     }
 
     if (connect
@@ -357,7 +357,7 @@ static int connect_socket (int connect_port,
         perror ("connect()");
         shutdown (s, SHUT_RDWR);
         close (s);
-        return -1;
+        return \-1;
     }
     return s;
 }
@@ -366,7 +366,7 @@ static int connect_socket (int connect_port,
         if (fd1 >= 0) {                 \\
             shutdown (fd1, SHUT_RDWR);  \\
             close (fd1);                \\
-            fd1 = -1;                   \\
+            fd1 = \-1;                   \\
         }                               \\
     }
 
@@ -374,7 +374,7 @@ static int connect_socket (int connect_port,
         if (fd2 >= 0) {                 \\
             shutdown (fd2, SHUT_RDWR);  \\
             close (fd2);                \\
-            fd2 = -1;                   \\
+            fd2 = \-1;                   \\
         }                               \\
     }
 
@@ -382,7 +382,7 @@ static int connect_socket (int connect_port,
 
 int main (int argc, char **argv) {
     int h;
-    int fd1 = -1, fd2 = -1;
+    int fd1 = \-1, fd2 = \-1;
     char buf1[BUF_SIZE], buf2[BUF_SIZE];
     int buf1_avail, buf1_written;
     int buf2_avail, buf2_written;
@@ -419,12 +419,12 @@ int main (int argc, char **argv) {
             nfds = max (nfds, fd2);
         }
         if (fd1 > 0
-            && buf2_avail - buf2_written > 0) {
+            && buf2_avail \- buf2_written > 0) {
             FD_SET (fd1, &wr);
             nfds = max (nfds, fd1);
         }
         if (fd2 > 0
-            && buf1_avail - buf1_written > 0) {
+            && buf1_avail \- buf1_written > 0) {
             FD_SET (fd2, &wr);
             nfds = max (nfds, fd2);
         }
@@ -439,7 +439,7 @@ int main (int argc, char **argv) {
 
         r = select (nfds + 1, &rd, &wr, &er, NULL);
 
-        if (r == -1 && errno == EINTR)
+        if (r == \-1 && errno == EINTR)
             continue;
         if (r < 0) {
             perror ("select()");
@@ -496,7 +496,7 @@ int main (int argc, char **argv) {
             if (FD_ISSET (fd1, &rd)) {
                 r =
                     read (fd1, buf1 + buf1_avail,
-                          BUF_SIZE - buf1_avail);
+                          BUF_SIZE \- buf1_avail);
                 if (r < 1) {
                     SHUT_FD1;
                 } else
@@ -506,7 +506,7 @@ int main (int argc, char **argv) {
             if (FD_ISSET (fd2, &rd)) {
                 r =
                     read (fd2, buf2 + buf2_avail,
-                          BUF_SIZE - buf2_avail);
+                          BUF_SIZE \- buf2_avail);
                 if (r < 1) {
                     SHUT_FD2;
                 } else
@@ -517,7 +517,7 @@ int main (int argc, char **argv) {
                 r =
                     write (fd1,
                            buf2 + buf2_written,
-                           buf2_avail -
+                           buf2_avail \-
                            buf2_written);
                 if (r < 1) {
                     SHUT_FD1;
@@ -529,7 +529,7 @@ int main (int argc, char **argv) {
                 r =
                     write (fd2,
                            buf1 + buf1_written,
-                           buf1_avail -
+                           buf1_avail \-
                            buf1_written);
                 if (r < 1) {
                     SHUT_FD2;
@@ -544,11 +544,11 @@ int main (int argc, char **argv) {
 /* one side has closed the connection, keep
    writing to the other side until empty */
         if (fd1 < 0
-            && buf1_avail - buf1_written == 0) {
+            && buf1_avail \- buf1_written == 0) {
             SHUT_FD2;
         }
         if (fd2 < 0
-            && buf2_avail - buf2_written == 0) {
+            && buf2_avail \- buf2_written == 0) {
             SHUT_FD1;
         }
     }
@@ -567,7 +567,7 @@ to have inefficient timeouts.
 
 The program does not handle more than one simultaneous connection at a
 time, although it could easily be extended to do this with a linked list
-of buffers - one for each connection. At the moment, new
+of buffers \(em one for each connection. At the moment, new
 connections cause the current connection to be dropped.
 
 .SH SELECT LAW
index 03927f0a4797dfad0a2554b428c2c883ce096840..0b81bb9b7f4348cfc6afd7f3d659299b5385d247 100644 (file)
@@ -79,10 +79,10 @@ On an arbitrary system one should check _POSIX_SAVED_IDS.
 Under libc4, libc5 and glibc2.0
 .BI seteuid( euid )
 is equivalent to 
-.BI setreuid(-1, " euid" )
+.BI setreuid(\-1, " euid" )
 and hence may change the saved user ID.
 Under glibc2.1 it is equivalent to
-.BI setresuid(-1, " euid" ,-1)
+.BI setresuid(\-1, " euid" ,\-1)
 and hence does not change the saved user ID.
 Similar remarks hold for
 .BR setegid .
index 42668d361646c0bbd491639c2f8faf6819bdf787..10141f4314195c3ff27d16cb289e149e6671c347 100644 (file)
@@ -130,7 +130,7 @@ if (ss.ss_sp == NULL)
     /* Handle error */;
 ss.ss_size = SIGSTKSZ;
 ss.ss_flags = 0;
-if (sigaltstack(&ss, NULL) == -1)
+if (sigaltstack(&ss, NULL) == \-1)
     /* Handle error */;
 .fi
 .RE
index 86bc6f5ede892b43b5b873c01e8d26b621f50765..6969337ca5647b9bd2916727905c02c2f3d208d4 100644 (file)
@@ -64,16 +64,16 @@ Quoting from
 /*
  * Commands to sys_syslog:
  *
- *      0 -- Close the log.  Currently a NOP.
- *      1 -- Open the log. Currently a NOP.
- *      2 -- Read from the log.
- *      3 -- Read up to the last 4k of messages in the ring buffer.
- *      4 -- Read and clear last 4k of messages in the ring buffer
- *      5 -- Clear ring buffer.
- *      6 -- Disable printk's to console
- *      7 -- Enable printk's to console
- *      8 -- Set level of messages printed to console
- *      9 -- Return number of unread characters in the log buffer
+ *      0 \-\- Close the log.  Currently a NOP.
+ *      1 \-\- Open the log. Currently a NOP.
+ *      2 \-\- Read from the log.
+ *      3 \-\- Read up to the last 4k of messages in the ring buffer.
+ *      4 \-\- Read and clear last 4k of messages in the ring buffer
+ *      5 \-\- Clear ring buffer.
+ *      6 \-\- Disable printk's to console
+ *      7 \-\- Enable printk's to console
+ *      8 \-\- Set level of messages printed to console
+ *      9 \-\- Return number of unread characters in the log buffer
  */
 .fi
 
index 02c70f8aeb2a4ac0038b9e23bfd1dbc8307f48c7..112413933a5504baa0f9fa57f46dfc0fd48b2b7c 100644 (file)
@@ -92,7 +92,7 @@ The call
 is equivalent to:
 .nf
 
-    waitpid(-1, &status, 0);
+    waitpid(\-1, &status, 0);
 .fi
 
 The
index 0091ad2715336dbf80ca0bcf78056e7edbde4d40..5654d33e8692c687bac6426c1724de92bab69a4b 100644 (file)
@@ -71,7 +71,7 @@ call:
 is equivalent to:
 .nf
 
-    waitpid(-1, status, options);
+    waitpid(\-1, status, options);
 
 .fi
 Similarly, the following
index 0caec5affe6734dabe609b00303a947b1dba9e69..801a7b1715aaa8bd05572229d81b71a2144826fc 100644 (file)
@@ -15,7 +15,7 @@ ccos, ccosf, ccosl \- complex cosine function
 .sp
 Link with \-lm.
 .SH DESCRIPTION
-The complex cosine function ccos(z) is defined as (exp(i*z)+exp(-i*z))/2. 
+The complex cosine function ccos(z) is defined as (exp(i*z)+exp(\-i*z))/2. 
 .SH "CONFORMING TO"
 C99
 .SH "SEE ALSO"
index ca5a2aff0d5fa0c02b94590899a2bc344bd659d6..55e681c7464df59e5ca7eb66a35789c8c317489b 100644 (file)
@@ -16,7 +16,7 @@ ccosh, ccoshf, ccoshl \- complex hyperbolic cosine
 Link with \-lm.
 .SH DESCRIPTION
 The complex hyperbolic cosine function ccosh(z) is defined as
-(exp(z)+exp(-z))/2. 
+(exp(z)+exp(\-z))/2. 
 .SH "CONFORMING TO"
 C99
 .SH "SEE ALSO"
index 25439ad95247d44d3fb8495b054ba44424fb2cb7..d8c71baa2dc0b7f6b6e666af9ef93bf6d069aca0 100644 (file)
@@ -22,7 +22,7 @@ cerf, cerff, cerfl, cerfc, cerfcf, cerfcl \- complex error function
 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.
+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).
 .\" must check 1/sqrt(2*pi) ?
 .SH "CONFORMING TO"
index 69dca0a79d0c666f987c3081e9d7cd8c9e0779ac..ed6541c2f890bd12e38750b2696a566dcf48d3cf 100644 (file)
@@ -46,7 +46,7 @@ cosh, coshf, coshl \- hyperbolic cosine function
 Link with \-lm.
 .SH DESCRIPTION
 The \fBcosh()\fP function returns the hyperbolic cosine of \fIx\fP, which 
-is defined mathematically as (exp(x) + exp(-x)) / 2.
+is defined mathematically as (exp(x) + exp(\-x)) / 2.
 .SH "CONFORMING TO"
 SVID 3, POSIX, BSD 4.3, ISO 9899 (C99).
 The float and the long double variants are C99 requirements.
index 55f0814d1751b6c1cffa460fc2972e975e45e52e..2fe270e7a068dde13633bde0e67f28729b34f7b9 100644 (file)
@@ -15,7 +15,7 @@ csin, csinf, csinl \- complex sine function
 .sp
 Link with \-lm.
 .SH DESCRIPTION
-The complex sine function csin(z) is defined as (exp(i*z)-exp(-i*z))/(2*i). 
+The complex sine function csin(z) is defined as (exp(i*z)\-exp(\-i*z))/(2*i). 
 .SH "CONFORMING TO"
 C99
 .SH "SEE ALSO"
index c41190226ba6e0eff8a154463c797225f54e52ca..d2c7d04a5f2f96d96d9de65691dd090cd143e294 100644 (file)
@@ -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"
index d166d3ffe5bd8acf046e32da89e8567585d0d64d..ff658c02fcd98b6b737b112f8ae65fb6c1756d78 100644 (file)
@@ -18,8 +18,8 @@ Link with \-lm.
 Calculate the square root of a given complex number,
 with nonnegative real part, and
 with a branch cut along the negative real axis.
-(That means that csqrt(-1+eps*I) will be close to I while
-csqrt(-1-eps*I) will be close to \-I, if eps is a small positive
+(That means that csqrt(\-1+eps*I) will be close to I while
+csqrt(\-1\-eps*I) will be close to \-I, if eps is a small positive
 real number.)
 .SH "CONFORMING TO"
 C99
index 21f0090f1391c92ad10b2e922c7073aebd86a845..abdd59411e7c9f4d13bbc4d029f80a0bb71c1115 100644 (file)
@@ -48,7 +48,7 @@ On a POSIX system, time_t is an arithmetic type, and one could just
 define
 .RS
 .nf
-#define difftime(t1,t0) (double)(t1 - t0)
+#define difftime(t1,t0) (double)(t1 \- t0)
 .fi
 .RE
 when the possible overflow in the subtraction is not a concern.
index 5b32f2075484233fcf076b482c9ed818d9ecc4b3..8eebbaa69a35380b79dc99d5a7e5a6f8311198fa 100644 (file)
@@ -62,7 +62,7 @@ The \fIdiv_t\fP (etc.) structure.
 .SH EXAMPLE
 After
 .nf
-        div_t q = div(-5, 3);
+        div_t q = div(\-5, 3);
 .fi
 the values \fIq.quot\fP and \fIq.rem\fP are \-1 and \-2, respectively.
 .SH "CONFORMING TO"
index 26ea166f7360d346fd4fb1c2a0664363f6572fce..09f1c1f8677365c4d4b8fc07b79b32b0ebe33693 100644 (file)
@@ -161,8 +161,8 @@ in that library's dependency list and any other libraries previously
 opened with the 
 .B RTLD_GLOBAL
 flag.
-If the executable was linked with the flag "-rdynamic"
-(or, synonymously, "--export-dynamic"),
+If the executable was linked with the flag "\-rdynamic"
+(or, synonymously, "\-\-export\-dynamic"),
 then the global symbols in the executable will also be used
 to resolve references in a dynamically loaded library.
 .PP
@@ -244,7 +244,7 @@ returns. If the dynamic library exports a routine named
 .BR _fini ,
 then that routine is called just before the library is unloaded.
 In case you  need to  avoid  linking against the system startup files,
-this can be done by giving gcc the "-nostartfiles" parameter on
+this can be done by giving gcc the "\-nostartfiles" parameter on
 the command line.
 .LP
 Using these routines, or the gcc
index 4bbe97eabaadc26e292394d2cb66b94fb99b8424..2ff25e2f965813fab26f15f9e6d030f1cb5e69ff 100644 (file)
@@ -53,7 +53,7 @@ Link with \-lm.
 The \fBerf()\fP function returns the error function of \fIx\fP; defined
 as
 .TP
-erf(x) = 2/sqrt(pi)* integral from 0 to x of exp(-t*t) dt
+erf(x) = 2/sqrt(pi)* integral from 0 to x of exp(\-t*t) dt
 .PP
 The \fBerfc()\fP function returns the complementary error function of
 \fIx\fP, that is 1.0 \- erf(x).
index f32a3ad0e22faac96a19cf5615600035b6d315ac..6d3f9246f02c040503e3396bac54d1c85ebae316 100644 (file)
@@ -124,7 +124,7 @@ Display the current errno information string and exit:
 .Bd -literal -offset indent
 if ((p = malloc(size)) == NULL)
        err(1, NULL);
-if ((fd = open(file_name, O_RDONLY, 0)) == -1)
+if ((fd = open(file_name, O_RDONLY, 0)) == \-1)
        err(1, "%s", file_name);
 .Ed
 .Pp
@@ -136,10 +136,10 @@ if (tm.tm_hour < START_TIME)
 .Pp
 Warn of an error:
 .Bd -literal -offset indent
-if ((fd = open(raw_device, O_RDONLY, 0)) == -1)
+if ((fd = open(raw_device, O_RDONLY, 0)) == \-1)
        warnx("%s: %s: trying the block device",
            raw_device, strerror(errno));
-if ((fd = open(block_device, O_RDONLY, 0)) == -1)
+if ((fd = open(block_device, O_RDONLY, 0)) == \-1)
        err(1, "%s", block_device);
 .Ed
 .Sh SEE ALSO
index 615adff4eef93fc16121c648f45f30a5b3dde320..b7cda73c615f436b5af8df3711b427842cd73103 100644 (file)
@@ -316,7 +316,7 @@ A common mistake is to do
 .RS
 .nf
 
-if (somecall() == -1) {
+if (somecall() == \-1) {
     printf("somecall() failed\en");
     if (errno == ...) { ... }
 }
@@ -335,7 +335,7 @@ should be preserved across a library call, it must be saved:
 .RS
 .nf
 
-if (somecall() == -1) {
+if (somecall() == \-1) {
     int errsv = errno;
     printf("somecall() failed\en");
     if (errsv == ...) { ... }
index 026969dc3914ce6d9296ffe0f2f8214649bd0c04..d886c2bd79452a9963b6524ec95601d8b204f87b 100644 (file)
@@ -42,7 +42,7 @@ Link with \-lm.
 .BI expm1( x )
 returns a value equivalent to `exp (\fIx\fP) \- 1'. It is
 computed in a way that is accurate even if the value of \fIx\fP is near
-zero--a case where `exp (\fIx\fP) \- 1' would be inaccurate due to
+zero\(ema case where `exp (\fIx\fP) \- 1' would be inaccurate due to
 subtraction of two numbers that are nearly equal.
 .SH "CONFORMING TO"
 BSD, C99.
index f5d7688ec97a0fb26b53b1e7cc3c963eb92f0653..62a3981b5dd4577994f4620efe44562f3fb4fec8 100644 (file)
@@ -75,7 +75,7 @@ is not equal to the infinite precision result.
 It may occur whenever Overflow or Underflow occurs.
 .LP
 The Invalid exception occurs when there is no well-defined result
-for an operation, as for 0/0 or infinity \- infinity or sqrt(-1).
+for an operation, as for 0/0 or infinity \- infinity or sqrt(\-1).
 .SS "Exception handling"
 Exceptions are represented in two ways: as a single bit
 (exception present/absent), and these bits correspond in some
index 5a51b141dee4687419d7cc9448a97d08ea242579..2e5c78eaf0b31c0254b03e0db60f80d4ff7d38b7 100644 (file)
@@ -119,7 +119,7 @@ int main(void)
        fp = fopen("/etc/motd", "r");
        if (fp == NULL)
                exit(EXIT_FAILURE);
-       while ((read = getline(&line, &len, fp)) != -1) {
+       while ((read = getline(&line, &len, fp)) != \-1) {
                printf("Retrieved line of length %zu :\en", read);
                printf("%s", line);
        }
index 8cb38f1714eb65898690934595dfc7efd517fa9c..cb72cb6c0c6a0cdf6a22ac3838f8f53454ec68ad 100644 (file)
@@ -182,8 +182,8 @@ some of them.
              show that two are not in the table */
           e.key = data[i];
           ep = hsearch(e, FIND);
-          printf("%9.9s -> %9.9s:%d\\n", e.key,
-                 ep ? ep->key : "NULL",
+          printf("%9.9s \-> %9.9s:%d\\n", e.key,
+                 ep ? ep\->key : "NULL",
                  ep ? (int)(ep->data) : 0);
       }
       return 0;
index 4c09758d475407220113d58a86a8b3f918272c35..b69c53b501c88f1c07a6d506172de856d59cdb26 100644 (file)
@@ -42,7 +42,7 @@ output bytes, and it updates the conversion state contained in \fIcd\fP.
 The conversion can stop for four reasons:
 .PP
 1. An invalid multibyte sequence is encountered in the input. In this case
-it sets \fBerrno\fP to \fBEILSEQ\fP and returns (size_t)(-1). \fI*inbuf\fP
+it sets \fBerrno\fP to \fBEILSEQ\fP and returns (size_t)(\-1). \fI*inbuf\fP
 is left pointing to the beginning of the invalid multibyte sequence.
 .PP
 2. The input byte sequence has been entirely converted, i.e. \fI*inbytesleft\fP
@@ -51,11 +51,11 @@ non-reversible conversions performed during this call.
 .PP
 3. An incomplete multibyte sequence is encountered in the input, and the
 input byte sequence terminates after it. In this case it sets \fBerrno\fP to
-\fBEINVAL\fP and returns (size_t)(-1). \fI*inbuf\fP is left pointing to the
+\fBEINVAL\fP and returns (size_t)(\-1). \fI*inbuf\fP is left pointing to the
 beginning of the incomplete multibyte sequence.
 .PP
 4. The output buffer has no more room for the next converted character. In
-this case it sets \fBerrno\fP to \fBE2BIG\fP and returns (size_t)(-1).
+this case it sets \fBerrno\fP to \fBE2BIG\fP and returns (size_t)(\-1).
 .PP
 A different case is when \fIinbuf\fP is NULL or \fI*inbuf\fP is NULL, but
 \fIoutbuf\fP is not NULL and \fI*outbuf\fP is not NULL. In this case, the
@@ -63,7 +63,7 @@ A different case is when \fIinbuf\fP is NULL or \fI*inbuf\fP is NULL, but
 initial state and store a corresponding shift sequence at \fI*outbuf\fP.
 At most \fI*outbytesleft\fP bytes, starting at \fI*outbuf\fP, will be written.
 If the output buffer has no more room for this reset sequence, it sets
-\fBerrno\fP to \fBE2BIG\fP and returns (size_t)(-1). Otherwise it increments
+\fBerrno\fP to \fBE2BIG\fP and returns (size_t)(\-1). Otherwise it increments
 \fI*outbuf\fP and decrements \fI*outbytesleft\fP by the number of bytes
 written.
 .PP
@@ -73,7 +73,7 @@ function sets \fIcd\fP's conversion state to the initial state.
 .SH "RETURN VALUE"
 The \fBiconv\fP function returns the number of characters converted in a
 non-reversible way during this call; reversible conversions are not counted.
-In case of error, it sets \fBerrno\fP and returns (size_t)(-1).
+In case of error, it sets \fBerrno\fP and returns (size_t)(\-1).
 .SH ERRORS
 The following errors can occur, among others:
 .TP
index 4e544824cac77c3fdcbaef3f6f250d43747ca87e..74a48a804929a1d50513d28bcbd9b3252f31f82e 100644 (file)
@@ -39,7 +39,7 @@ state back to the initial state, use \fBiconv\fP with NULL as \fIinbuf\fP
 argument.
 .SH "RETURN VALUE"
 The \fBiconv_open\fP function returns a freshly allocated conversion
-descriptor. In case of error, it sets \fBerrno\fP and returns (iconv_t)(-1).
+descriptor. In case of error, it sets \fBerrno\fP and returns (iconv_t)(\-1).
 .SH ERRORS
 The following error can occur, among others:
 .TP
index f9220395c39af847b9cf8be4de9a97230543c0de..43f412758b6746f6ec66a56d82044b90b8644118 100644 (file)
@@ -80,7 +80,7 @@ locale, it is equivalent to
 .BI "(isupper(" c ") || islower(" c "))" \fR.
 In some locales, there may be additional characters for which
 .B  isalpha()
-is true--letters which are neither upper case nor lower
+is true\(emletters which are neither upper case nor lower
 case.  
 .TP
 .B "isascii()"
index 5cb52b027dc636576b27c94eef448de5b056fe5b..ca9e69f1fd41b475a24d7ce99a5ad6ce263f1e3f 100644 (file)
@@ -48,7 +48,7 @@ If
 is greater than 1, it is equivalent to
 .nf
 .sp
-.BI kill(pgrp , signal );
+.BI kill(\-pgrp , signal );
 .fi
 .SH "RETURN VALUE"
 The value returned is \-1 on error, or 0 for success.
index ca9ecc0c1edb37880736a3d68075b9173e1bb358..405ffe060a6f5db56792fc878d192c9f4770db88 100644 (file)
@@ -29,13 +29,13 @@ null wide character, it returns the number of bytes that were consumed from
 shift state \fI*ps\fP to the initial state and returns 0.
 .PP
 If the \fIn\fP bytes starting at \fIs\fP do not contain a complete multibyte
-character, \fBmbrlen\fP returns \fI(size_t)(-2)\fP. This can happen even if
+character, \fBmbrlen\fP returns \fI(size_t)(\-2)\fP. This can happen even if
 \fIn\fP >= \fIMB_CUR_MAX\fP, if the multibyte string contains redundant shift
 sequences.
 .PP
 If the multibyte string starting at \fIs\fP contains an invalid multibyte
 sequence before the next complete character, \fBmbrlen\fP returns
-\fI(size_t)(-1)\fP and sets \fBerrno\fP to \fBEILSEQ\fP. In this case,
+\fI(size_t)(\-1)\fP and sets \fBerrno\fP to \fBEILSEQ\fP. In this case,
 the effects on \fI*ps\fP are undefined.
 .PP
 If \fIps\fP is a NULL pointer, a static anonymous state only known to the
@@ -43,9 +43,9 @@ mbrlen function is used instead.
 .SH "RETURN VALUE"
 The \fBmbrlen\fP function returns the number of bytes parsed from the multibyte
 sequence starting at \fIs\fP, if a non-null wide character was recognized.
-It returns 0, if a null wide character was recognized. It returns (size_t)(-1)
+It returns 0, if a null wide character was recognized. It returns (size_t)(\-1)
 and sets \fBerrno\fP to \fBEILSEQ\fP, if an invalid multibyte sequence was
-encountered. It returns (size_t)(-2) if it couldn't parse a complete multibyte
+encountered. It returns (size_t)(\-2) if it couldn't parse a complete multibyte
 character, meaning that \fIn\fP should be increased.
 .SH "CONFORMING TO"
 ISO/ANSI C, UNIX98
index d32e93768a17958344f2a78972fa7b841056de11..3d1c765b355d6510e83e3dc3b90652720c735fe2 100644 (file)
@@ -32,13 +32,13 @@ from \fIs\fP. If the converted wide character is L'\\0', it resets the shift
 state \fI*ps\fP to the initial state and returns 0.
 .PP
 If the \fIn\fP bytes starting at \fIs\fP do not contain a complete multibyte
-character, \fBmbrtowc\fP returns \fI(size_t)(-2)\fP. This can happen even if
+character, \fBmbrtowc\fP returns \fI(size_t)(\-2)\fP. This can happen even if
 \fIn\fP >= \fIMB_CUR_MAX\fP, if the multibyte string contains redundant shift
 sequences.
 .PP
 If the multibyte string starting at \fIs\fP contains an invalid multibyte
 sequence before the next complete character, \fBmbrtowc\fP returns
-\fI(size_t)(-1)\fP and sets \fBerrno\fP to \fBEILSEQ\fP. In this case,
+\fI(size_t)(\-1)\fP and sets \fBerrno\fP to \fBEILSEQ\fP. In this case,
 the effects on \fI*ps\fP are undefined.
 .PP
 A different case is when \fIs\fP is not NULL but \fIpwc\fP is NULL. In this
@@ -48,7 +48,7 @@ store the converted wide character in memory.
 A third case is when \fIs\fP is NULL. In this case, \fIpwc\fP and \fIn\fP are
 ignored. If the conversion state represented by \fI*ps\fP denotes an
 incomplete multibyte character conversion, the \fBmbrtowc\fP function
-returns \fI(size_t)(-1)\fP, sets \fBerrno\fP to \fBEILSEQ\fP, and
+returns \fI(size_t)(\-1)\fP, sets \fBerrno\fP to \fBEILSEQ\fP, and
 leaves \fI*ps\fP in an undefined state. Otherwise, the \fBmbrtowc\fP function
 puts \fI*ps\fP in the initial state and returns 0.
 .PP
@@ -65,9 +65,10 @@ memset(&a, 0, sizeof(a));
 The \fBmbrtowc\fP function returns the number of bytes parsed from the
 multibyte sequence starting at \fIs\fP, if a non-L'\\0' wide character
 was recognized.
-It returns 0, if a L'\\0' wide character was recognized. It returns (size_t)(-1)
+It returns 0, if a L'\\0' wide character was recognized. 
+It returns (size_t)(\-1)
 and sets \fBerrno\fP to \fBEILSEQ\fP, if an invalid multibyte sequence was
-encountered. It returns (size_t)(-2) if it couldn't parse a complete multibyte
+encountered. It returns (size_t)(\-2) if it couldn't parse a complete multibyte
 character, meaning that \fIn\fP should be increased.
 .SH "CONFORMING TO"
 ISO/ANSI C, UNIX98
index 42a912c647a7de7b0359be7bf37bab219207ec5e..fb41523cd76aece0d2c119adc9cdd5c583054203 100644 (file)
@@ -36,7 +36,7 @@ positive number, as long as this call succeeds, and then incrementing
 conversion can stop for three reasons:
 .PP
 1. An invalid multibyte sequence has been encountered. In this case \fI*src\fP
-is left pointing to the invalid multibyte sequence, (size_t)(-1) is returned,
+is left pointing to the invalid multibyte sequence, (size_t)(\-1) is returned,
 and \fBerrno\fP is set to \fBEILSEQ\fP.
 .PP
 2. The \fInms\fP limit forces a stop, or \fIlen\fP non-L'\\0' wide characters
@@ -63,7 +63,7 @@ characters at \fIdest\fP.
 The \fBmbsnrtowcs\fP function returns the number of wide characters that make
 up the converted part of the wide character string, not including the
 terminating null wide character. If an invalid multibyte sequence was
-encountered, (size_t)(-1) is returned, and \fBerrno\fP set to \fBEILSEQ\fP.
+encountered, (size_t)(\-1) is returned, and \fBerrno\fP set to \fBEILSEQ\fP.
 .SH "CONFORMING TO"
 This function is a GNU extension.
 .SH "SEE ALSO"
index a7cea5cdbe693da4d7bdc272d8f43b7e9eb1fff1..4fcc83ca2838b80160b31a7bae9e82eb26eb8df6 100644 (file)
@@ -32,7 +32,7 @@ positive number, as long as this call succeeds, and then incrementing
 conversion can stop for three reasons:
 .PP
 1. An invalid multibyte sequence has been encountered. In this case \fI*src\fP
-is left pointing to the invalid multibyte sequence, (size_t)(-1) is returned,
+is left pointing to the invalid multibyte sequence, (size_t)(\-1) is returned,
 and \fBerrno\fP is set to \fBEILSEQ\fP.
 .PP
 2. \fIlen\fP non-L'\\0' wide characters have been stored at \fIdest\fP. In this
@@ -58,7 +58,7 @@ characters at \fIdest\fP.
 The \fBmbsrtowcs\fP function returns the number of wide characters that make
 up the converted part of the wide character string, not including the
 terminating null wide character. If an invalid multibyte sequence was
-encountered, (size_t)(-1) is returned, and \fBerrno\fP set to \fBEILSEQ\fP.
+encountered, (size_t)(\-1) is returned, and \fBerrno\fP set to \fBEILSEQ\fP.
 .SH "CONFORMING TO"
 ISO/ANSI C, UNIX98
 .SH "SEE ALSO"
index 59dc61bd7ad690c5b0b8bbca4650726bb4037bb3..cfbabe958778b8625811a971748b44925eecd539 100644 (file)
@@ -27,7 +27,7 @@ At most \fIn\fP wide characters are written to \fIdest\fP. The conversion starts
 in the initial state. The conversion can stop for three reasons:
 .PP
 1. An invalid multibyte sequence has been encountered. In this case
-(size_t)(-1) is returned.
+(size_t)(\-1) is returned.
 .PP
 2. \fIn\fP non-L'\\0' wide characters have been stored at \fIdest\fP. In this
 case the number of wide characters written to \fIdest\fP is returned, but the
@@ -50,7 +50,7 @@ greater or equal to \fImbstowcs(NULL,src,0)+1\fP.
 The \fBmbstowcs\fP function returns the number of wide characters that make
 up the converted part of the wide character string, not including the
 terminating null wide character. If an invalid multibyte sequence was
-encountered, (size_t)(-1) is returned.
+encountered, (size_t)(\-1) is returned.
 .SH "CONFORMING TO"
 ISO/ANSI C, UNIX98
 .SH "SEE ALSO"
index 5a13dd0aee8f5c68dda2b75b4d4fe6167e8a9e5d..59cdc7d887ada4ea895132d58d7b5ecd480fff3a 100644 (file)
@@ -773,10 +773,10 @@ make_message(const char *fmt, ...) {
       n = vsnprintf (p, size, fmt, ap);
       va_end(ap);
       /* If that worked, return the string. */
-      if (n > -1 && n < size)
+      if (n > \-1 && n < size)
          return p;
       /* Else try again with more space. */
-      if (n > -1)    /* glibc 2.1 */
+      if (n > \-1)    /* glibc 2.1 */
          size = n+1; /* precisely what is needed */
       else           /* glibc 2.0 */
          size *= 2;  /* twice the old size */
index 27b725684574e8c236c08e24fa9b75eab21cc42b..f11c96fddf0c94b39a1291a57af313455891fb93 100644 (file)
@@ -124,8 +124,8 @@ main(){
     if (n < 0)
         perror("scandir");
     else {
-        while(n--) {
-            printf("%s\en", namelist[n]->d_name);
+        while(n\-\-) {
+            printf("%s\en", namelist[n]\->d_name);
             free(namelist[n]);
         }
         free(namelist);
index 638ffcb6f32d17372b0596e5304d95e39f582d23..f36e100475350736d2bb2f525ffd57c510cd48d1 100644 (file)
@@ -16,8 +16,8 @@ types.  It returns a non-zero value if the value of X has its sign
 bit set.
 .PP
 This is not the same as `x < 0.0', because IEEE 754 floating point
-allows zero to be signed.  The comparison `-0.0 < 0.0' is false,
-but `signbit (-0.0)' will return a non-zero value.
+allows zero to be signed.  The comparison `\-0.0 < 0.0' is false,
+but `signbit (\-0.0)' will return a non-zero value.
 .SH "CONFORMING TO"
 This function is defined in IEC 559 (and the appendix with
 recommended functions in IEEE 754/IEEE 854).
index 572be0f6d239e1a3822415f8100b92802e50b08a..37734eb61ad9bc0781b57792447703c19cd5a70e 100644 (file)
@@ -46,7 +46,7 @@ sinh, sinhf, sinhl \- hyperbolic sine function
 Link with \-lm.
 .SH DESCRIPTION
 The \fBsinh()\fP function returns the hyperbolic sine of \fIx\fP, which 
-is defined mathematically as (exp(x) \- exp(-x)) / 2.
+is defined mathematically as (exp(x) \- exp(\-x)) / 2.
 .SH "CONFORMING TO"
 SVID 3, POSIX, BSD 4.3, ISO 9899 (C99).
 The float and the long double variants are C99 requirements.
index 94686470f63be75c22e83c5ccba4586e576a411b..98f326c6f70bf412b833f8b3d3eeca8a6aad6471 100644 (file)
@@ -149,7 +149,7 @@ in order.
     }
     
     int compare(const void *pa, const void *pb) {
-      if (*(int *)pa < *(int *)pb) return -1;
+      if (*(int *)pa < *(int *)pb) return \-1;
       if (*(int *)pa > *(int *)pb) return 1;
       return 0;
     }
index fdac276d897efad1b22c3a6c42edcc37c22a1539..861b931ebed6fb162d2ab023503e502ef9312873 100644 (file)
@@ -46,7 +46,7 @@ state only known to the wcrtomb function is used instead.
 The \fBwcrtomb\fP function returns the number of bytes that have been or would
 have been written to the byte array at \fIs\fP. If \fIwc\fP can not be
 represented as a multibyte sequence (according to the current locale),
-(size_t)(-1) is returned, and \fBerrno\fP set to \fBEILSEQ\fP.
+(size_t)(\-1) is returned, and \fBerrno\fP set to \fBEILSEQ\fP.
 .SH "CONFORMING TO"
 ISO/ANSI C, UNIX98
 .SH "SEE ALSO"
index 3ed536773121e2c5f52a2b2b6be950994f3af5bc..efc77a41f76faa03b593bacacf98a0451ef8ce36 100644 (file)
@@ -36,7 +36,7 @@ by one. The conversion can stop for three reasons:
 .PP
 1. A wide character has been encountered that can not be represented as a
 multibyte sequence (according to the current locale). In this case \fI*src\fP
-is left pointing to the invalid wide character, (size_t)(-1) is returned,
+is left pointing to the invalid wide character, (size_t)(\-1) is returned,
 and \fBerrno\fP is set to \fBEILSEQ\fP.
 .PP
 2. \fInwc\fP wide characters have been converted without encountering a L'\\0',
@@ -62,7 +62,7 @@ at \fIdest\fP.
 .SH "RETURN VALUE"
 The \fBwcsnrtombs\fP function returns the number of bytes that make up the
 converted part of multibyte sequence, not including the terminating null byte.
-If a wide character was encountered which could not be converted, (size_t)(-1)
+If a wide character was encountered which could not be converted, (size_t)(\-1)
 is returned, and \fBerrno\fP set to \fBEILSEQ\fP.
 .SH "CONFORMING TO"
 This function is a GNU extension.
index 51d5d099af5da4e5c3606c9741bf1a4edcfa7ee3..28738b99d1ca4c84c9e6e27efd517fb4ea89dfff 100644 (file)
@@ -32,7 +32,7 @@ by one. The conversion can stop for three reasons:
 .PP
 1. A wide character has been encountered that can not be represented as a
 multibyte sequence (according to the current locale). In this case \fI*src\fP
-is left pointing to the invalid wide character, (size_t)(-1) is returned,
+is left pointing to the invalid wide character, (size_t)(\-1) is returned,
 and
 .I errno
 is set to \fBEILSEQ\fP.
@@ -59,7 +59,7 @@ at \fIdest\fP.
 .SH "RETURN VALUE"
 The \fBwcsrtombs\fP function returns the number of bytes that make up the
 converted part of multibyte sequence, not including the terminating null byte.
-If a wide character was encountered which could not be converted, (size_t)(-1)
+If a wide character was encountered which could not be converted, (size_t)(\-1)
 is returned, and
 .I errno
 set to \fBEILSEQ\fP.
index 17ce12ea24459e9b639d250636b59a1fce94c0e2..b653b92811db5b358a73f3fc26d33614957cd123 100644 (file)
@@ -28,7 +28,7 @@ starts in the initial state. The conversion can stop for three reasons:
 .PP
 1. A wide character has been encountered that can not be represented as a
 multibyte sequence (according to the current locale). In this case
-(size_t)(-1) is returned.
+(size_t)(\-1) is returned.
 .PP
 2. The length limit forces a stop. In this case the number of bytes written to
 \fIdest\fP is returned, but the shift state at this point is lost.
@@ -50,7 +50,7 @@ is greater or equal to \fIwcstombs(NULL,src,0)+1\fP.
 .SH "RETURN VALUE"
 The \fBwcstombs\fP function returns the number of bytes that make up the
 converted part of multibyte sequence, not including the terminating null byte.
-If a wide character was encountered which could not be converted, (size_t)(-1)
+If a wide character was encountered which could not be converted, (size_t)(\-1)
 is returned.
 .SH "CONFORMING TO"
 ISO/ANSI C, UNIX98
index 832ded37bf313f5540e6860cdad185edcb511701..5275d8a4c3c4dc38d96bbdd7c29507aa103bf936 100644 (file)
@@ -23,7 +23,7 @@ wctrans \- wide character translation mapping
 .SH DESCRIPTION
 The \fBwctrans_t\fP type represents a mapping which can map a wide character to
 another wide character. Its nature is implementation dependent, but the special
-value \fI(wctrans_t)0\fP denotes an invalid mapping. Nonzero \fBwctrans_t\fP
+value \fI(wctrans_t)0\fP denotes an invalid mapping. Nonzero \fBwctrans_t\fP
 values can be passed to the \fBtowctrans\fP function to actually perform
 the wide character mapping.
 .PP
@@ -31,8 +31,8 @@ The \fBwctrans\fP function returns a mapping, given by its name. The set of
 valid names depends on the LC_CTYPE category of the current locale, but the
 following names are valid in all locales.
 .nf
-  "tolower" - realizes the \fBtolower\fP(3) mapping
-  "toupper" - realizes the \fBtoupper\fP(3) mapping
+  "tolower" \- realizes the \fBtolower\fP(3) mapping
+  "toupper" \- realizes the \fBtoupper\fP(3) mapping
 .fi
 .SH "RETURN VALUE"
 The \fBwctrans\fP function returns a mapping descriptor if the \fIname\fP
index c6fba8e9273595f2ccb6ae10656ddf65f8399675..81eeba800b9277c5fd8d037ee47b49c579873a45 100644 (file)
@@ -32,18 +32,18 @@ The \fBwctype\fP function returns a property, given by its name. The set of
 valid names depends on the LC_CTYPE category of the current locale, but the
 following names are valid in all locales.
 .nf
-  "alnum" - realizes the \fBisalnum\fP classification function
-  "alpha" - realizes the \fBisalpha\fP classification function
-  "blank" - realizes the \fBisblank\fP classification function
-  "cntrl" - realizes the \fBiscntrl\fP classification function
-  "digit" - realizes the \fBisdigit\fP classification function
-  "graph" - realizes the \fBisgraph\fP classification function
-  "lower" - realizes the \fBislower\fP classification function
-  "print" - realizes the \fBisprint\fP classification function
-  "punct" - realizes the \fBispunct\fP classification function
-  "space" - realizes the \fBisspace\fP classification function
-  "upper" - realizes the \fBisupper\fP classification function
-  "xdigit" - realizes the \fBisxdigit\fP classification function
+  "alnum" \- realizes the \fBisalnum\fP classification function
+  "alpha" \- realizes the \fBisalpha\fP classification function
+  "blank" \- realizes the \fBisblank\fP classification function
+  "cntrl" \- realizes the \fBiscntrl\fP classification function
+  "digit" \- realizes the \fBisdigit\fP classification function
+  "graph" \- realizes the \fBisgraph\fP classification function
+  "lower" \- realizes the \fBislower\fP classification function
+  "print" \- realizes the \fBisprint\fP classification function
+  "punct" \- realizes the \fBispunct\fP classification function
+  "space" \- realizes the \fBisspace\fP classification function
+  "upper" \- realizes the \fBisupper\fP classification function
+  "xdigit" \- realizes the \fBisxdigit\fP classification function
 .fi
 .SH "RETURN VALUE"
 The \fBwctype\fP function returns a property descriptor if the \fIname\fP is
index 1ab5484e51fa0d619661a55ba2cf559f3b00d75a..dfd6eb1cea11218d6a5baf72d50ac7f88f43f288 100644 (file)
@@ -130,12 +130,12 @@ ESC %             Start sequence selecting character set
 ESC % @                \0\0\0Select default (ISO 646 / ISO 8859-1)
 ESC % G                \0\0\0Select UTF-8
 ESC % 8                \0\0\0Select UTF-8 (obsolete)
-ESC # 8        DECALN  DEC screen alignment test - fill screen with E's.
+ESC # 8        DECALN  DEC screen alignment test \- fill screen with E's.
 ESC (          Start sequence defining G0 character set
 ESC ( B                \0\0\0Select default (ISO 8859-1 mapping)
 ESC ( 0                \0\0\0Select vt100 graphics mapping
-ESC ( U                \0\0\0Select null mapping - straight to character ROM
-ESC ( K                \0\0\0Select user mapping - the map that is loaded by
+ESC ( U                \0\0\0Select null mapping \- straight to character ROM
+ESC ( K                \0\0\0Select user mapping \- the map that is loaded by
                \0\0\0the utility \fBmapscrn\fP(8).
 ESC )          Start sequence defining G1
                (followed by one of B, 0, U, K, as above).
index 2ba0d36a08adbaef78c86c8605934822ef262baa..e32aa37fd8e1497d33dd0743f981b4bf52a48720 100644 (file)
@@ -184,7 +184,7 @@ from where it stopped before.
 struct epoll_event ev, *events;
 
 for(;;) {
-    nfds = epoll_wait(kdpfd, events, maxevents, -1);
+    nfds = epoll_wait(kdpfd, events, maxevents, \-1);
 
     for(n = 0; n < nfds; ++n) {
         if(events[n].data.fd == listener) {
@@ -200,7 +200,7 @@ for(;;) {
             if (epoll_ctl(kdpfd, EPOLL_CTL_ADD, client, &ev) < 0) {
                 fprintf(stderr, "epoll set insertion error: fd=%d\n",
                         client);
-                return -1;
+                return \-1;
             }
         }
         else
index 7d15fe20b63357a04baa4bc2064597c9de96ffe6..90b818ee2d3a9787e49669f5590aa16179e40ce3 100644 (file)
@@ -40,7 +40,7 @@ If your system does not have \fB/dev/full\fP created already, it
 can be created with the following commands:
 .nf
 
-        mknod -m 666 /dev/full c 1 7
+        mknod \-m 666 /dev/full c 1 7
         chown root:root /dev/full
 
 .fi
index e3aa0e73ea4605954c5a4e60fc3c8d1d6c32b2f6..b3cc74e1d1f2019318b3f94af67cff41019e792e 100644 (file)
@@ -350,7 +350,7 @@ If the Linux system does not have
 already created, it can be created with the following commands:
 .nf
 \fB
-        mknod -m 400 /dev/initrd b 1 250
+        mknod \-m 400 /dev/initrd b 1 250
         chown root:disk /dev/initrd
 \fP
 .fi
index 5daaf77138698493371e67476fd83cf099c7c098..c94f07049e8a3e933c05049f78b0f24444890a6a 100644 (file)
@@ -49,8 +49,8 @@ If your system does not have
 can be created with the following commands:
 
 .nf
-        mknod -m 644 /dev/random c 1 8
-        mknod -m 644 /dev/urandom c 1 9
+        mknod \-m 644 /dev/random c 1 8
+        mknod \-m 644 /dev/urandom c 1 9
         chown root:root /dev/random /dev/urandom
 .fi
  
@@ -67,14 +67,14 @@ which is run during the Linux system start-up sequence:
        random_seed=/var/run/random-seed
        # Carry a random seed from start-up to start-up
        # Load and then save the whole entropy pool
-       if [ -f $random_seed ]; then
+       if [ \-f $random_seed ]; then
            cat $random_seed >/dev/urandom
        else
            touch $random_seed
        fi
        chmod 600 $random_seed
        poolfile=/proc/sys/kernel/random/poolsize
-       [ -r $poolfile ] && bytes=`cat $poolfile` || bytes=512
+       [ \-r $poolfile ] && bytes=`cat $poolfile` || bytes=512
        dd if=/dev/urandom of=$random_seed count=1 bs=$bytes
 .fi
 
@@ -89,7 +89,7 @@ run during the Linux system shutdown:
        touch $random_seed
        chmod 600 $random_seed
        poolfile=/proc/sys/kernel/random/poolsize
-       [ -r $poolfile ] && bytes=`cat $poolfile` || bytes=512
+       [ \-r $poolfile ] && bytes=`cat $poolfile` || bytes=512
        dd if=/dev/urandom of=$random_seed count=1 bs=$bytes
 .fi
 .SH "PROC INTERFACE"
index 085ae5b9f2abe0b3a8940dfd489c0a7230b99885..b593ed4bacf40d3b035ce47f8b7d34cfc1067798 100644 (file)
--- a/man4/st.4
+++ b/man4/st.4
@@ -73,14 +73,14 @@ with two minor numbers for different options.)
 Devices are typically created by:
 .RS
 .nf
-mknod -m 666 /dev/st0 c 9 0
-mknod -m 666 /dev/st0l c 9 32
-mknod -m 666 /dev/st0m c 9 64
-mknod -m 666 /dev/st0a c 9 96
-mknod -m 666 /dev/nst0 c 9 128
-mknod -m 666 /dev/nst0l c 9 160
-mknod -m 666 /dev/nst0m c 9 192
-mknod -m 666 /dev/nst0a c 9 224
+mknod \-m 666 /dev/st0 c 9 0
+mknod \-m 666 /dev/st0l c 9 32
+mknod \-m 666 /dev/st0m c 9 64
+mknod \-m 666 /dev/st0a c 9 96
+mknod \-m 666 /dev/nst0 c 9 128
+mknod \-m 666 /dev/nst0l c 9 160
+mknod \-m 666 /dev/nst0m c 9 192
+mknod \-m 666 /dev/nst0a c 9 224
 .fi
 .RE
 .PP
@@ -533,7 +533,7 @@ This request takes an argument of type
 .BR "(struct mtget *)" .
 .PP
 .nf
-/* structure for \s-1MTIOCGET\s+1 - mag tape get status command */
+/* structure for \s-1MTIOCGET\s+1 \- mag tape get status command */
 struct mtget {
     long    mt_type;
     long    mt_resid;
@@ -641,7 +641,7 @@ or a Tandberg-compatible SCSI-1 drive (Tandberg, Archive
 Viper, Wangtek, ... ).
 .PP
 .nf
-/* structure for \s-1MTIOCPOS\s+1 - mag tape get position command */
+/* structure for \s-1MTIOCPOS\s+1 \- mag tape get position command */
 struct    mtpos {
     long     mt_blkno;    /* current block number */
 };
index fb2d51e15efc0ad3ca2b757cec633224e354f7c2..7d189e7295310c32cdcf0580281583c74345fcad 100644 (file)
@@ -48,8 +48,8 @@ The devices for the first eight virtual consoles may be created by:
 
 .nf
        for x in 0 1 2 3 4 5 6 7 8; do 
-               mknod -m 644 /dev/vcs$x c 7 $x;
-               mknod -m 644 /dev/vcsa$x c 7 $[$x+128];
+               mknod \-m 644 /dev/vcs$x c 7 $x;
+               mknod \-m 644 /dev/vcsa$x c 7 $[$x+128];
        done
        chown root:tty /dev/vcs*
 .fi
@@ -93,7 +93,7 @@ there:
                (void)read(fd, &attrib, 1);
                printf("ch='%c' attrib=0x%02x\\n", ch, attrib);
                attrib ^= 0x10;
-               (void)lseek(fd, -1, 1);
+               (void)lseek(fd, \-1, 1);
                (void)write(fd, &attrib, 1);
                return 0;
        }
index aad6012f52ad485c02b18516e40c2407b3f0f276..227e6075995354aea352ac8e052f4ca1e524bf70 100644 (file)
@@ -32,7 +32,7 @@ Your C-compiler can work with complex numbers if it supports the C99 standard.
 Link with \-lm. The imaginary unit is represented by I.
 .sp
 .nf
-/* check that exp(i*pi) == -1 */
+/* check that exp(i*pi) == \-1 */
 #include <math.h>      /* for atan */
 #include <complex.h>
 main() {
index 2186484688a869d6c558e8f9d9711a2f3c3ff393..147dadf45822ba4618183df8a0e5dcacf61dca0b 100644 (file)
@@ -57,7 +57,7 @@ requests. At least five threads will always be created.
 .I user
 .RS
 If this option is set, nscd will run as this user and not as root.
-If a separate cache for every user is used (-S parameter), this
+If a separate cache for every user is used (\-S parameter), this
 option is ignored.
 .RE
 
index a41ac14ab0af6388418bf1d5da1e99c0d41adf41..41cbd2e6376eb8d0c818b670b10d7467c812298d 100644 (file)
@@ -136,7 +136,7 @@ an output file:
 .br
 .nf
 
-\f(CWfoobar -i /proc/self/fd/0 -o /proc/self/fd/1 ...\fR
+\f(CWfoobar \-i /proc/self/fd/0 \-o /proc/self/fd/1 ...\fR
 
 .fi
 .br
index 6a9a855d3fc9a656561abadef64d7ab94495ff5f..063dd135031b2a2292d209388cf49aac2c13926b 100644 (file)
@@ -163,7 +163,7 @@ msp             18/udp          # message send protocol
 chargen         19/tcp          ttytst source
 chargen         19/udp          ttytst source
 ftp             21/tcp
-# 22 - unassigned
+# 22 \- unassigned
 telnet          23/tcp
 .sp
 .fi
index ec53777fcbbb46cd23e4ca1680849ed58a0e62b7..07b8fceac94c9b0a99b2b29ca8290480f909f9c4 100644 (file)
@@ -35,7 +35,7 @@ gives statistics. For example:
 .RS
 .nf
 % cat /proc/slabinfo
-slabinfo - version: 1.1
+slabinfo \- version: 1.1
 kmem_cache            60     78    100    2    2    1
 blkdev_requests     5120   5120     96  128  128    1
 mnt_cache             20     40     96    1    1    1
index e6f410867a5c781273a0dc57b7b005e815e717b5..e8ae5099156890afa2ceb7d8a49fb1a1764c6c10 100644 (file)
@@ -169,7 +169,7 @@ For convenience, let us give more compact tables in hex and decimal.
 2: " 2 B R b r     2:    *  4  >  H  R  \e  f   p   z
 3: # 3 C S c s     3: !  +  5  ?  I  S  ]  g   q   {
 4: $ 4 D T d t     4: "  ,  6  @  J  T  ^  h   r   |
-5: % 5 E U e u     5: #  -  7  A  K  U  _  i   s   }
+5: % 5 E U e u     5: #  \-  7  A  K  U  _  i   s   }
 6: & 6 F V f v     6: $  .  8  B  L  V  `  j   t   ~
 7: ' 7 G W g w     7: %  /  9  C  M  W  a  k   u  DEL
 8: ( 8 H X h x     8: &  0  :  D  N  X  b  l   v
@@ -177,7 +177,7 @@ For convenience, let us give more compact tables in hex and decimal.
 A: * : J Z j z
 B: + ; K [ k {
 C: , < L \e l |
-D: - = M ] m }
+D: \- = M ] m }
 E: . > N ^ n ~
 F: / ? O _ o DEL
 .fi
index e432c3c219e994823ba3f0dcd625b0a46235321e..62709587591b9bf2d153ed79fdf3058c937503fe 100644 (file)
@@ -95,7 +95,7 @@ definition. It allowed one to have patterns that expand into
 an empty list, as in
 .br
 .nf
-       xv -wait 0 *.gif *.jpg
+       xv \-wait 0 *.gif *.jpg
 .fi
 where perhaps no *.gif files are present (and this is not
 an error).
@@ -110,12 +110,12 @@ one can force the classical behaviour by setting
 (Similar problems occur elsewhere. E.g., where old scripts have
 .br
 .nf
-       rm `find . -name "*~"`
+       rm `find . \-name "*~"`
 .fi
 new scripts require
 .br
 .nf
-       rm -f nosuchfile `find . -name "*~"`
+       rm \-f nosuchfile `find . \-name "*~"`
 .fi
 to avoid error messages from
 .I rm
index 3c2f10908b0f44c71c9943e9a42f846274285239..c0250ded73fc73904a62c15c20212ea03f43e4fa 100644 (file)
@@ -308,7 +308,7 @@ Produces
 .It Li \&Op Ta Yes Ta Yes Ta "Option (also .Oo and .Oc)."
 .It Li \&Ot Ta Yes Ta Yes Ta "Old style function type (Fortran only)."
 .It Li \&Pa Ta Yes Ta Yes Ta "Pathname or file name."
-.It Li \&St Ta Yes Ta Yes Ta "Standards (-p1003.2, -p1003.1 or -ansiC)"
+.It Li \&St Ta Yes Ta Yes Ta "Standards (\-p1003.2, \-p1003.1 or \-ansiC)"
 .It Li \&Va Ta Yes Ta Yes Ta "Variable name."
 .It Li \&Vt Ta Yes Ta Yes Ta "Variable type (Fortran only)."
 .It Li \&Xr Ta Yes Ta Yes Ta "Manual Page Cross Reference."
index 3f27095cb31e860b88d10828120f5b9c08be17d4..895edc9d354688a3837625e91111f22385abfc45 100644 (file)
@@ -289,7 +289,7 @@ be sufficient to determine the default threading implementation:
 .in +4
 
 bash$ $( ldd /bin/ls | grep libc.so | awk '{print $3}' ) | \\
-                egrep -i 'threads|ntpl'
+                egrep \-i 'threads|ntpl'
         Native POSIX Threads Library by Ulrich Drepper et al
 .in -4
 .fi
@@ -310,7 +310,7 @@ For example:
 .in +4
 
 bash$ $( LD_ASSUME_KERNEL=2.2.5 ldd /bin/ls | grep libc.so | \\
-                awk '{print $3}' ) | egrep -i 'threads|ntpl'
+                awk '{print $3}' ) | egrep \-i 'threads|ntpl'
         linuxthreads-0.10 by Xavier Leroy
 .in -4
 .fi
index e84839c696db369e9ef903e33b84642a823e0e41..3a9e412ba45326c004503f142d7049326ba71a99 100644 (file)
@@ -184,7 +184,7 @@ option can harm the clients of your server.
 .TP
 .BR tcp_adv_win_scale " (integer; default: 2)"
 Count buffering overhead as bytes/2^tcp_adv_win_scale
-(if tcp_adv_win_scale > 0) or bytes-bytes/2^(-tcp_adv_win_scale),
+(if tcp_adv_win_scale > 0) or bytes-bytes/2^(\-tcp_adv_win_scale),
 if it is <= 0.
 
 The socket receive buffer space is shared between the