2015-10-08 15:15:08 +00:00
|
|
|
.Dd 2015-10-08
|
2015-01-31 13:20:02 +00:00
|
|
|
.Dt WC 1
|
2015-01-31 19:37:03 +00:00
|
|
|
.Os sbase
|
2015-01-30 20:17:58 +00:00
|
|
|
.Sh NAME
|
|
|
|
.Nm wc
|
|
|
|
.Nd word count
|
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Nm
|
2015-02-01 02:01:11 +00:00
|
|
|
.Op Fl c | Fl m
|
|
|
|
.Op Fl lw
|
2015-01-30 20:17:58 +00:00
|
|
|
.Op Ar file ...
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
.Nm
|
2015-03-17 23:20:19 +00:00
|
|
|
writes the number of lines, words and bytes in each
|
|
|
|
.Ar file
|
|
|
|
to stdout.
|
2015-02-01 02:01:11 +00:00
|
|
|
If no
|
|
|
|
.Ar file
|
|
|
|
is given
|
2015-01-31 13:43:27 +00:00
|
|
|
.Nm
|
2015-02-01 02:01:11 +00:00
|
|
|
reads from stdin.
|
2015-01-30 20:17:58 +00:00
|
|
|
.Sh OPTIONS
|
|
|
|
.Bl -tag -width Ds
|
2015-02-01 02:01:11 +00:00
|
|
|
.It Fl c | Fl l | Fl m | Fl w
|
|
|
|
Print the number of bytes | lines | characters | words.
|
2015-01-30 20:17:58 +00:00
|
|
|
.El
|
2015-02-01 02:01:11 +00:00
|
|
|
.Sh STANDARDS
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
utility is compliant with the
|
2015-03-27 16:22:48 +00:00
|
|
|
.St -p1003.1-2013
|
2015-02-01 02:01:11 +00:00
|
|
|
specification.
|