version 1.13, 2003/06/10 09:12:12 |
version 1.14, 2004/04/07 08:02:56 |
|
|
.Os |
.Os |
.Sh NAME |
.Sh NAME |
.Nm wc |
.Nm wc |
.Nd word, line, and byte count |
.Nd word, line, and byte or character count |
.Sh SYNOPSIS |
.Sh SYNOPSIS |
.Nm wc |
.Nm wc |
.Op Fl c | Fl m |
.Op Fl c | m |
.Op Fl lw |
.Op Fl lw |
.Op Ar file ... |
.Op Ar file ... |
.Sh DESCRIPTION |
.Sh DESCRIPTION |
|
|
lines words bytes file_name |
lines words bytes file_name |
.Ed |
.Ed |
.Pp |
.Pp |
The counts for lines, words and bytes are integers separated |
If the |
by spaces. |
.Fl m |
|
option is specified, |
|
the number of bytes is replaced by |
|
the number of characters in the listing above. |
|
The counts for lines, words, and bytes |
|
.Pq or characters |
|
are integers separated by spaces. |
.Pp |
.Pp |
The |
The |
.Nm |
.Nm |