wc command for MoonX.
moonx cli/wc input.txt
moonx cli/wc -l first.txt second.txt
printf 'hello world\n' | moonx cli/wc -w| Option | Description |
|---|---|
| -l, --lines | Count newline bytes. |
| -w, --words | Count C-byte words. |
| -c, --bytes | Count bytes; both are identical in this profile. |
| -m, --chars | Count bytes; both are identical in this profile. |
| -L, --max-line-length | Report maximum C-profile display width. |
| --help | Show help. |
| --files0-from VALUE | Read NUL-delimited filenames; - selects stdin. |
| --version | Show the version. |