mirror of
git://git.suckless.org/sbase
synced 2024-12-22 23:13:44 +00:00
e51a2e6d2f
The one specified by mdoc is hard to read for non-native speakers from countries which read the date day-first (like Germany, Greece, North-Korea, Swamp,...). This is also consistent with how we generally specify dates at suckless.org.
33 lines
468 B
Groff
33 lines
468 B
Groff
.Dd 2015-10-08
|
|
.Dt WC 1
|
|
.Os sbase
|
|
.Sh NAME
|
|
.Nm wc
|
|
.Nd word count
|
|
.Sh SYNOPSIS
|
|
.Nm
|
|
.Op Fl c | Fl m
|
|
.Op Fl lw
|
|
.Op Ar file ...
|
|
.Sh DESCRIPTION
|
|
.Nm
|
|
writes the number of lines, words and bytes in each
|
|
.Ar file
|
|
to stdout.
|
|
If no
|
|
.Ar file
|
|
is given
|
|
.Nm
|
|
reads from stdin.
|
|
.Sh OPTIONS
|
|
.Bl -tag -width Ds
|
|
.It Fl c | Fl l | Fl m | Fl w
|
|
Print the number of bytes | lines | characters | words.
|
|
.El
|
|
.Sh STANDARDS
|
|
The
|
|
.Nm
|
|
utility is compliant with the
|
|
.St -p1003.1-2013
|
|
specification.
|