pluralizer-cli

Crates.iopluralizer-cli
lib.rspluralizer-cli
version0.1.2
sourcesrc
created_at2022-06-26 21:47:25.992507
updated_at2022-06-26 23:57:07.201207
descriptionPluralize words. Based on the excellent pluralizer library.
homepagehttps://github.com/digitalsanctum/pluralizer-cli
repositoryhttps://github.com/digitalsanctum/pluralizer-cli
max_upload_size
id613793
size18,637
Shane Witbeck (thesurlydev)

documentation

README

pluralizer-cli

Command line wrapper for the pluralizer crate lib.

usage

single word

echo "box" | pluralizer-cli

will result in:

boxes

multiple words

pluralizer-cli << EOF
box
fox
EOF

will result in:

boxes
foxes

file

Given a file with the following contents:

food
house
fizz
way
baby

The command:

cat test | pluralizer-cli

will result in:

foods
houses
fizzes
ways
babies

file append

Given a file with one word per line, the command:

cat test | pluralizer-cli | sponge -a test

will append the original file, test, with the pluralized words added.

Commit count: 4

cargo fmt