wc command for MoonX.
moonx cli/wc@0.2.5 [-lwcmL] [--files0-from=FILE] [--total=WHEN] [FILE...]| Option | Description |
|---|---|
| -l, --lines | Count newline bytes. |
| -w, --words | Count C-byte words. |
| -c, --bytes / -m, --chars | Count bytes; both are identical in this profile. |
| -L, --max-line-length | Report maximum C-profile display width. |
| --files0-from=FILE | Read NUL-delimited filenames; - selects stdin. |
| --total=WHEN | Select auto (default), always, never or only. |
| --help / --version | Show help / package version. |
moonx cli/wc@0.2.5 -l notes.txt
printf 'one two\nthree\n' | moonx cli/wc@0.2.5