sbase/wc.1
Hiltjo Posthuma f769c2402f fix mandoc warnings
- sort references in SEE ALSO section to section number, name.
- cols.1: proper order of sections.
- wrap lines to max 79 column length.
2015-01-31 14:43:27 +01:00

32 lines
499 B
Groff

.Dd January 30, 2015
.Dt WC 1
.Os
.Sh NAME
.Nm wc
.Nd word count
.Sh SYNOPSIS
.Nm
.Op Fl clmw
.Op Ar file ...
.Sh DESCRIPTION
.Nm
prints the number of lines, words, and bytes in each file. If any flags are
given,
.Nm
will print only the requested information. If no
.Ar files
are given,
.Nm
reads stdin.
.Sh OPTIONS
.Bl -tag -width Ds
.It Fl c
print the number of bytes.
.It Fl l
print the number of lines.
.It Fl m
print the number of characters, not bytes.
.It Fl w
print the number of words.
.El