1
0
mirror of git://git.suckless.org/sbase synced 2024-12-25 00:12:42 +00:00
sbase/wc.1

26 lines
472 B
Groff
Raw Normal View History

2011-05-23 01:36:34 +00:00
.TH WC 1 sbase\-VERSION
.SH NAME
wc \- word count
.SH SYNOPSIS
.B wc
2011-05-24 00:13:34 +00:00
.RB [ \-clmw ]
2011-05-23 01:36:34 +00:00
.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.