home *** CD-ROM | disk | FTP | other *** search
- NAME
- wc - display a count of lines, words and characters
-
- 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 SPACE, TAB, or NEWLINE characters.
-
- OPTIONS
- When filenames are specified on the command line, their
- names will be printed along with the counts.
-
- The default is -lwc (count lines, words, and characters).
-
- l Count lines.
-
- w Count words.
-
- c Count characters.
-
- EXAMPLES
- MacShell> wc file
- 0 4 23
- MacShell> wc -l file
- 0 file
- MacShell> wc -lc file file
- 0 23 file
- 0 23 file
- 0 46 Total
-
- AUTHOR
- Adolfo Villafiorita (adolfo@frege.mrg.dist.unige.it)
-
-