Module Name: src
Committed By: wiz
Date: Thu Feb 18 13:14:52 UTC 2010
Modified Files:
src/usr.bin/wc: wc.1
Log Message:
New sentence, new line. Add EXIT STATUS section and use .Ex.
Fix macro argument abuse.
Use Aq instead of \*[Lt]\*[Gt].
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/usr.bin/wc/wc.1
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/wc/wc.1
diff -u src/usr.bin/wc/wc.1:1.14 src/usr.bin/wc/wc.1:1.15
--- src/usr.bin/wc/wc.1:1.14 Thu Feb 18 10:43:50 2010
+++ src/usr.bin/wc/wc.1 Thu Feb 18 13:14:51 2010
@@ -1,4 +1,4 @@
-.\" $NetBSD: wc.1,v 1.14 2010/02/18 10:43:50 tron Exp $
+.\" $NetBSD: wc.1,v 1.15 2010/02/18 13:14:51 wiz Exp $
.\"
.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -84,9 +84,8 @@
.Nm
only
reports the
-information requested by that option. The
-default action is equivalent to all the
-flags
+information requested by that option.
+The default action is equivalent to all the flags
.Fl clw
having been specified.
.Pp
@@ -105,17 +104,20 @@
.Bd -literal -offset indent
lines words bytes file_name
.Ed
-.Pp
-The
-.Nm
-utility exits 0 on success, and \*[Gt]0 if an error occurs.
+.Sh EXIT STATUS
+.Ex -std wc
.Sh SEE ALSO
.Xr iswspace 3
.Sh COMPATIBILITY
Historically, the
.Nm
utility was documented to define a word as a ``maximal string of
-characters delimited by \*[Lt]space\*[Gt], \*[Lt]tab\*[Gt] or \*[Lt]newline\*[Gt] characters''.
+characters delimited by
+.Aq space ,
+.Aq tab
+or
+.Aq newline
+characters''.
The implementation, however, didn't handle non-printing characters
correctly so that `` ^D^E '' counted as 6 spaces, while ``foo^D^Ebar''
counted as 8 characters.
@@ -134,7 +136,9 @@
option is a non-standard extension, compatible with the
.Fl L
option of the GNU and
-.Fx wc utility.
+.Fx
+.Nm
+utilities.
.Sh STANDARDS
The
.Nm