summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>2000-12-21 17:34:34 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>2000-12-21 17:34:34 +0000
commit4dc4b0615b53eb47764bc39ccef427bea6667c4e (patch)
tree5d337d4f055c3bd362e75aae73a5b4871b6b2956
parentfcf3598d1432173647a1b38fa705e1a572173c5d (diff)
mdoc prefers `\e' as an escape character.
-rw-r--r--lib/libc/hash/rmd160.34
-rw-r--r--lib/libc/hash/sha1.34
-rw-r--r--lib/libc/net/getnameinfo.36
3 files changed, 7 insertions, 7 deletions
diff --git a/lib/libc/hash/rmd160.3 b/lib/libc/hash/rmd160.3
index 38ce2f64261..f40538f3d60 100644
--- a/lib/libc/hash/rmd160.3
+++ b/lib/libc/hash/rmd160.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: rmd160.3,v 1.12 2000/04/18 03:01:29 aaron Exp $
+.\" $OpenBSD: rmd160.3,v 1.13 2000/12/21 17:34:33 aaron Exp $
.\"
.\" Copyright (c) 1997 Todd C. Miller <Todd.Miller@courtesan.com>
.\" All rights reserved.
@@ -172,7 +172,7 @@ RMD160Final(results, &rmd);
printf("0x");
for (n = 0; n < 20; n++)
printf("%02x", results[n]);
-putchar('\\n');
+putchar('\en');
.Ed
.Pp
Alternately, the helper functions could be used in the following way:
diff --git a/lib/libc/hash/sha1.3 b/lib/libc/hash/sha1.3
index 0ed67a75f97..d453cc15d4e 100644
--- a/lib/libc/hash/sha1.3
+++ b/lib/libc/hash/sha1.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sha1.3,v 1.18 2000/04/18 03:01:29 aaron Exp $
+.\" $OpenBSD: sha1.3,v 1.19 2000/12/21 17:34:33 aaron Exp $
.\"
.\" Copyright (c) 1997 Todd C. Miller <Todd.Miller@courtesan.com>
.\" All rights reserved.
@@ -168,7 +168,7 @@ SHA1Final(results, &sha);
printf("0x");
for (n = 0; n < 20; n++)
printf("%02x", results[n]);
-putchar('\\n');
+putchar('\en');
.Ed
.Pp
Alternately, the helper functions could be used in the following way:
diff --git a/lib/libc/net/getnameinfo.3 b/lib/libc/net/getnameinfo.3
index 0f52f6e993f..78ffc6e396b 100644
--- a/lib/libc/net/getnameinfo.3
+++ b/lib/libc/net/getnameinfo.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getnameinfo.3,v 1.9 2000/08/09 23:12:04 itojun Exp $
+.\" $OpenBSD: getnameinfo.3,v 1.10 2000/12/21 17:34:33 aaron Exp $
.\" $KAME: getnameinfo.3,v 1.17 2000/08/09 21:16:17 itojun Exp $
.\"
.\" Copyright (c) 1983, 1987, 1991, 1993
@@ -204,7 +204,7 @@ if (getnameinfo(sa, sa->sa_len, hbuf, sizeof(hbuf), sbuf,
errx(1, "could not get numeric hostname");
/*NOTREACHED*/
}
-printf("host=%s, serv=%s\\n", hbuf, sbuf);
+printf("host=%s, serv=%s\en", hbuf, sbuf);
.Ed
.Pp
The following version checks if the socket address has reverse address mapping.
@@ -217,7 +217,7 @@ if (getnameinfo(sa, sa->sa_len, hbuf, sizeof(hbuf), NULL, 0,
errx(1, "could not resolve hostname");
/*NOTREACHED*/
}
-printf("host=%s\\n", hbuf);
+printf("host=%s\en", hbuf);
.Ed
.\"
.Sh FILES