Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src \\ -> \e
details: https://anonhg.NetBSD.org/src/rev/47c40539ad84
branches: trunk
changeset: 753659:47c40539ad84
user: joerg <joerg%NetBSD.org@localhost>
date: Mon Apr 05 21:25:01 2010 +0000
description:
\\ -> \e
diffstat:
lib/libc/hash/rmd160/rmd160.3 | 4 ++--
lib/libc/hash/sha1/sha1.3 | 4 ++--
lib/libc/sys/select.2 | 8 ++++----
usr.bin/stat/stat.1 | 4 ++--
4 files changed, 10 insertions(+), 10 deletions(-)
diffs (86 lines):
diff -r c9382723fd5a -r 47c40539ad84 lib/libc/hash/rmd160/rmd160.3
--- a/lib/libc/hash/rmd160/rmd160.3 Mon Apr 05 21:24:14 2010 +0000
+++ b/lib/libc/hash/rmd160/rmd160.3 Mon Apr 05 21:25:01 2010 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: rmd160.3,v 1.2 2005/12/26 19:40:14 perry Exp $
+.\" $NetBSD: rmd160.3,v 1.3 2010/04/05 21:26:30 joerg Exp $
.\" $OpenBSD: rmd160.3,v 1.12 2000/04/18 03:01:29 aaron Exp $
.\"
.\" Copyright (c) 1997 Todd C. Miller <Todd.Miller%courtesan.com@localhost>
@@ -173,7 +173,7 @@
printf("0x");
for (n = 0; n \*[Lt] 20; n++)
printf("%02x", results[n]);
-putchar('\\n');
+putchar('\en');
.Ed
.Pp
Alternately, the helper functions could be used in the following way:
diff -r c9382723fd5a -r 47c40539ad84 lib/libc/hash/sha1/sha1.3
--- a/lib/libc/hash/sha1/sha1.3 Mon Apr 05 21:24:14 2010 +0000
+++ b/lib/libc/hash/sha1/sha1.3 Mon Apr 05 21:25:01 2010 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: sha1.3,v 1.5 2009/11/06 20:31:18 joerg Exp $
+.\" $NetBSD: sha1.3,v 1.6 2010/04/05 21:27:01 joerg Exp $
.\" $OpenBSD: sha1.3,v 1.9 1998/03/07 22:18:12 millert Exp $
.\"
.\" Copyright (c) 1997, 2004 Todd C. Miller <Todd.Miller%courtesan.com@localhost>
@@ -159,7 +159,7 @@
printf("0x");
for (n = 0; n \*[Lt] 20; n++)
printf("%02x", results[n]);
-putchar('\\n');
+putchar('\en');
.Ed
.Pp
Alternately, the helper functions could be used in the following way:
diff -r c9382723fd5a -r 47c40539ad84 lib/libc/sys/select.2
--- a/lib/libc/sys/select.2 Mon Apr 05 21:24:14 2010 +0000
+++ b/lib/libc/sys/select.2 Mon Apr 05 21:25:01 2010 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: select.2,v 1.37 2010/03/22 19:30:55 joerg Exp $
+.\" $NetBSD: select.2,v 1.38 2010/04/05 21:25:56 joerg Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -207,11 +207,11 @@
break;
case 0:
- printf("Timeout, no data received.\\n");
+ printf("Timeout, no data received.\en");
break;
default:
- printf("Data received on %d file desciptor(s)\\n", ret);
+ printf("Data received on %d file desciptor(s)\en", ret);
/*
* select(2) hands back a file descriptor set where
@@ -220,7 +220,7 @@
*/
for (i = 0; i \*[Lt]= fd; i++) {
if (FD_ISSET(i, \*[Am]read_set)) {
- printf("Data on file descriptor %d\\n", i);
+ printf("Data on file descriptor %d\en", i);
/* Remove the file descriptor from the set */
FD_CLR(fd, \*[Am]read_set);
}
diff -r c9382723fd5a -r 47c40539ad84 usr.bin/stat/stat.1
--- a/usr.bin/stat/stat.1 Mon Apr 05 21:24:14 2010 +0000
+++ b/usr.bin/stat/stat.1 Mon Apr 05 21:25:01 2010 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: stat.1,v 1.27 2010/03/11 21:37:01 enami Exp $
+.\" $NetBSD: stat.1,v 1.28 2010/04/05 21:25:01 joerg Exp $
.\"
.\" Copyright (c) 2002-2005 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -462,7 +462,7 @@
exits 0 on success, and \*[Gt]0 if an error occurred.
.Sh EXAMPLES
If no options are specified, the default format is
-"%d %i %Sp %l %Su %Sg %r %z \\"%Sa\\" \\"%Sm\\" \\"%Sc\\" \\"%SB\\" %k %b %#Xf %N".
+"%d %i %Sp %l %Su %Sg %r %z \e"%Sa\e" \e"%Sm\e" \e"%Sc\e" \e"%SB\e" %k %b %#Xf %N".
.Bd -literal -offset indent
\*[Gt] stat /tmp/bar
0 78852 -rw-r--r-- 1 root wheel 0 0 "Jul 8 10:26:03 2004" "Jul 8 10:26:03 2004" "Jul 8 10:28:13 2004" "Jan 1 09:00:00 1970" 16384 0 0 /tmp/bar
Home |
Main Index |
Thread Index |
Old Index