/pluralizer-cli

Pluralize or singularize words

Primary LanguageRustApache License 2.0Apache-2.0

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.