PROPHET/OS
NAME
wc: counts lines, words and characters from in
SYNOPSIS
wc [-l] [-w] [-c]
DESCRIPTION
Counts lines, words and characters from in. Without a switch it shows all three.
-l lines -w words -c characters
A word is a run of characters with whitespace around it, so two spaces between words count once.
EXAMPLE
$ cat /system/config/shell.conf | wc 62 499 2684