Skip to content
/ wf Public

A simple Unix-style command line utility for counting word frequency, written in Rust

License

Notifications You must be signed in to change notification settings

jarcane/wf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wf

Crates.io Build Status

A Unix-style command line utility for counting word frequencies.

Usage

wf [options]

Reads stdin and outputs newline delimited rows containing each unique word and the number of times it appears, seperated by a space.

Options:

-n --nums           Include numbers
-s --sort           Sort output alphabetically by words (incompatible with -f)
-f --freq           Sort output but most to least frequent (incompatible with -s)
-h --help           Display usage information

Installation

To install the wf binary, you can now do the following with an up-to-date version of cargo:

cargo install wf

Development

This project uses clippy, and Travis CI will check all PRs and branches against it. It is advisable then to install this and check locally before submitting a PR.

License

Copyright 2018 by Annaia Berry This project is licensed with the Affero GPL v3. See LICENSE for full details.

About

A simple Unix-style command line utility for counting word frequency, written in Rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages