2015-01-31 21:01:11 -05:00
|
|
|
.Dd February 1, 2015
|
2015-01-31 08:20:02 -05:00
|
|
|
.Dt WC 1
|
2015-01-31 14:37:03 -05:00
|
|
|
.Os sbase
|
2015-01-30 15:17:58 -05:00
|
|
|
.Sh NAME
|
|
|
|
.Nm wc
|
|
|
|
.Nd word count
|
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Nm
|
2015-01-31 21:01:11 -05:00
|
|
|
.Op Fl c | Fl m
|
|
|
|
.Op Fl lw
|
2015-01-30 15:17:58 -05:00
|
|
|
.Op Ar file ...
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
.Nm
|
2015-01-31 21:01:11 -05: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 08:43:27 -05:00
|
|
|
.Nm
|
2015-01-31 21:01:11 -05:00
|
|
|
reads from stdin.
|
2015-01-30 15:17:58 -05:00
|
|
|
.Sh OPTIONS
|
|
|
|
.Bl -tag -width Ds
|
2015-01-31 21:01:11 -05:00
|
|
|
.It Fl c | Fl l | Fl m | Fl w
|
|
|
|
Print the number of bytes | lines | characters | words.
|
2015-01-30 15:17:58 -05:00
|
|
|
.El
|
2015-01-31 21:01:11 -05:00
|
|
|
.Sh STANDARDS
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
utility is compliant with the
|
|
|
|
.St -p1003.1-2008
|
|
|
|
specification.
|