Print newline, word, and byte counts for files.
Synopsis
wc [OPTION]... [FILE]...
Description
Print newline, word, and byte counts for each FILE, and a total line if more than one FILE is specified. Runs in the just-bash WASM shell inside SLICC.
Options
-l, --lines Print the newline counts.
-w, --words Print the word counts.
-c, --bytes Print the byte counts.
-m, --chars Print the character counts.
Examples
$ wc file.txt
Print lines, words, and bytes.
$ wc -l *.js
Count lines in all JavaScript files.
Notes
Operates on the SLICC virtual filesystem (LightningFS/IndexedDB).
See Also
cat, head, tail, sort