word-tally
Output a tally of the number of times unique words appear in source input.
Usage
Usage: word-tally [OPTIONS] [INPUT]
Arguments:
[INPUT] File path to use as input rather than stdin ("-") [default: -]
Options:
-s, --sort <ORDER> Order [default: desc] [possible values: desc, asc, unsorted]
-c, --case <FORMAT> Normalization [default: lower] [possible values: original, upper, lower]
-D, --delimiter <VALUE> Delimiter between keys and values [default: " "]
-o, --output <PATH> Write output to file rather than stdout
-v, --verbose Print verbose details
-d, --debug Print debugging information
-h, --help Print help
-V, --version Print version
Examples
> word-tally |
> word-tally --delimiter="," --output="tally.csv"
Installation
Documentation
Tests