|
NAMEwc - count bytes, runes, words, and linesSYNOPSISwc [-v] [-lwrbc] [--] [file ... ]wc counts bytes, runes, words, and lines in its input files and writes the result to the standard output. OPTIONS
DESCRIPTIONwc reads each file in turn and counts the number of lines, words, runes, bad UTF sequences, and bytes. If no files are specified or a file is - (dash), wc reads from the standard input.For each file, the requested counts are printed on a single line in the order: lines, words, runes, bad UTF sequences, and bytes. If the file is not the standard input, its name is also printed. If more than one file is specified, a line giving the total counts is printed. If none of the -lwrbc options are specified, wc behaves as if -lwc had been specified. EXAMPLESCount the number of lines in /etc/passwd:wc -l /etc/passwd SEE ALSOutf(4)BUGSNone known.SOURCEShttp://pobox.com/~Alan.Watson/software.htmlAUTHORAlan Watson (Alan.Watson@pobox.com).
Visit the GSP FreeBSD Man Page Interface. |