home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frozen Fish 1: Amiga
/
FrozenFish-Apr94.iso
/
bbs
/
alib
/
d1xx
/
d179
/
unixutil.lha
/
UnixUtil
/
Wc.doc
< prev
next >
Wrap
Text File
|
1989-02-25
|
1KB
|
44 lines
WC USER COMMANDS WC
NAME
wc - word count
SYNOPSIS
wc [ -lwc ] [ filename ... ]
DESCRIPTION
wc counts lines, words, and characters in filenames, or in
the standard input if no filename appears. It also keeps a
total count for all named files. A word is a string of
characters delimited by spaces, tabs, or newlines.
OPTIONS
-l Count lines.
-w Count words.
-c Count characters.
The default is -lwc (count lines, words, and characters).
When files are specified on the command line, their names
will be printed along with the counts.
EXAMPLE
ami% wc *.doc
25 92 711 detab.doc
29 103 772 entab.doc
41 157 959 head.doc
31 114 745 tail.doc
17 72 472 tee.doc
27 120 771 trunc.doc
43 146 1017 wc.doc
213 804 5447 total
ami%
BUGS
The word count may be incorrect for files produced by some
word processors.