# cw - Count Words A fast `wc` clone in Rust. ## Synopsis ``` -% cw --help cw 0.5.0 Thomas Hurst Count Words - word, line, character and byte count USAGE: cw [FLAGS] [OPTIONS] [input]... FLAGS: -c, --bytes Count bytes -m, --chars Count UTF-8 characters instead of bytes -h, --help Prints help information -l, --lines Count lines -L, --max-line-length Count bytes (default) or characters (-m) of the longest line -V, --version Prints version information -w, --words Count words OPTIONS: --files0-from Read input from the NUL-terminated list of filenames in the given file. --files-from Read input from the newline-terminated list of filenames in the given file. --threads Number of counting threads to spawn [default: 1] ARGS: ... Input files -% cw Dickens_Charles_Pickwick_Papers.xml 3449440 51715840 341152640 Dickens_Charles_Pickwick_Papers.xml ``` ## Performance Counts of multiple files may be accelerated by use of the `--threads` option: ``` 'xargs