sbase/wc.1
Connor Lane Smith 9714d7b1d3 getopt
2011-05-24 01:13:34 +01:00

26 lines
472 B
Groff

.TH WC 1 sbase\-VERSION
.SH NAME
wc \- word count
.SH SYNOPSIS
.B wc
.RB [ \-clmw ]
.RI [ file ...]
.SH DESCRIPTION
.B wc
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
.TP
.B \-c
print the number of bytes.
.TP
.B \-l
print the number of lines.
.TP
.B \-m
print the number of characters, not bytes.
.TP
.B \-w
print the number of words.