#cli #tool #pluralizer

app pluralizer-cli

Pluralize words. Based on the excellent pluralizer library.

3 releases

0.1.2 Jun 26, 2022
0.1.1 Jun 26, 2022
0.1.0 Jun 26, 2022

#861 in #tool

32 downloads per month

Custom license

8KB
62 lines

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.

Dependencies

~2.3–3MB
~55K SLoC