2015-02-01 02:01:11 +00:00
|
|
|
.Dd February 1, 2015
|
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-02-01 02:01:11 +00:00
|
|
|
prints the number of lines, words and bytes in each
|
|
|
|
.Ar file ,
|
|
|
|
unless set differently with flags.
|
|
|
|
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
|
|
|
|
.St -p1003.1-2008
|
|
|
|
specification.
|