Brennen Bearnes d00b783f50 | 5 years ago | |
---|---|---|
src | 5 years ago | |
tests | 5 years ago | |
.gitignore | 5 years ago | |
Cargo.toml | 5 years ago | |
README.md | 5 years ago |
A command-line utility to split input into a list of words, one per line.
I'm writing this as a learning exercise, based on bpb-kit/home/bin/words.
Work in progress, barely functional at present.
# Operate on standard input:
echo 'one two three' | bpb-words -
# ...or just:
echo "one two three" | bpb-words
# Operate on some file:
bpb-words ./foo
# list all unique words, ignoring case, in foo:
bpb-words -ui ./foo
# find ten most used words longer than 6 letters in foo:
bpb-words -uci -s6 foo | sort -nr | head -10
???