wc(1) General Commands Manual wc(1)

wc - Display newline, word, and byte counts for each FILE, and a total line if more than one FILE is specified. With no FILE, or when FILE is -, read standard input.

wc [-c|--bytes] [-m|--chars] [--files0-from] [-l|--lines] [-L|--max-line-length] [--total] [-w|--words] [-h|--help] [-V|--version] [files]

Display newline, word, and byte counts for each FILE, and a total line if more than one FILE is specified. With no FILE, or when FILE is -, read standard input.

print the byte counts
print the character counts
read input from the files specified by
NUL-terminated names in file F;
If F is - then read names from standard input
print the newline counts
print the length of the longest line
when to print a line with total counts;
WHEN can be: auto, always, only, never
print the word counts
Print help
Print version
[files]

v0.0.26

wc 0.0.26