projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added comment about the U word similar to the one in ftpd.
[unix-history]
/
usr.bin
/
wc
/
wc.1
diff --git
a/usr.bin/wc/wc.1
b/usr.bin/wc/wc.1
index
56c592a
..
17cf574
100644
(file)
--- a/
usr.bin/wc/wc.1
+++ b/
usr.bin/wc/wc.1
@@
-32,7
+32,8
@@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" @(#)wc.1 6.4 (Berkeley) 6/27/91
+.\" from: @(#)wc.1 6.4 (Berkeley) 6/27/91
+.\" $Id: wc.1,v 1.4 1993/08/19 17:16:49 jtc Exp $
.\"
.Dd June 27, 1991
.Dt WC 1
.\"
.Dd June 27, 1991
.Dt WC 1
@@
-42,7
+43,8
@@
.Nd Word, line, and byte count.
.Sh SYNOPSIS
.Nm wc
.Nd Word, line, and byte count.
.Sh SYNOPSIS
.Nm wc
-.Op Fl clw
+.Op Fl c | Fl m
+.Op Fl lw
.Op Ar file ...
.Sh DESCRIPTION
The
.Op Ar file ...
.Sh DESCRIPTION
The
@@
-66,6
+68,9
@@
is written to the standard output.
.It Fl l
The number of lines in each input file
is written to the standard output.
.It Fl l
The number of lines in each input file
is written to the standard output.
+.It Fl m
+The number of characters in each input file
+is written to the standard output.
.It Fl w
The number of words in each input file
is written to the standard output.
.It Fl w
The number of words in each input file
is written to the standard output.
@@
-101,8
+106,6
@@
lines words bytes file_name
.Pp
The counts for lines, words and bytes are integers separated
by spaces.
.Pp
The counts for lines, words and bytes are integers separated
by spaces.
-The ordering of the display of the number of lines, words,
-and/or bytes is the order in which the options were specified.
.Pp
The
.Nm wc
.Pp
The
.Nm wc
@@
-110,5
+113,5
@@
utility exits 0 on success, and >0 if an error occurs.
.Sh STANDARDS
The
.Nm wc
.Sh STANDARDS
The
.Nm wc
-
function
conforms to
-.St -p1003.2 .
+
utility
conforms to
+.St -p1003.2
-92
.