BSD 4_3 release
[unix-history] / usr / man / man1 / wc.1
CommitLineData
dbc65dd4
KM
1.\" Copyright (c) 1980 Regents of the University of California.
2.\" All rights reserved. The Berkeley software License Agreement
3.\" specifies the terms and conditions for redistribution.
4.\"
95f51977 5.\" @(#)wc.1 6.1 (Berkeley) 4/29/85
dbc65dd4 6.\"
95f51977 7.TH WC 1 "April 29, 1985"
dbc65dd4
KM
8.UC 4
9.SH NAME
10wc \- word count
11.SH SYNOPSIS
12.B wc
13[
19dc48f5
KM
14.B \-lwc
15]
16[ name ... ]
dbc65dd4 17.SH DESCRIPTION
19dc48f5 18.PP
dbc65dd4 19.I Wc
19dc48f5
KM
20counts lines, words and characters
21in the named files, or in the standard input if no name appears.
22A word is a maximal string of characters delimited by spaces, tabs or newlines.
dbc65dd4 23.PP
19dc48f5
KM
24If an argument beginning with one of ``lwc'' is present,
25the specified counts (lines, words, or characters)
dbc65dd4
KM
26are selected by the letters
27.BR l ,
28.BR w ,
dbc65dd4 29or
19dc48f5 30.BR c .
dbc65dd4 31The default is
19dc48f5 32.BR \-lwc .
dbc65dd4 33.SH BUGS