sbase/wc.1

28 lines
514 B
Groff
Raw Normal View History

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