Crates.io | pluralizer-cli |
lib.rs | pluralizer-cli |
version | 0.1.2 |
source | src |
created_at | 2022-06-26 21:47:25.992507 |
updated_at | 2022-06-26 23:57:07.201207 |
description | Pluralize words. Based on the excellent pluralizer library. |
homepage | https://github.com/digitalsanctum/pluralizer-cli |
repository | https://github.com/digitalsanctum/pluralizer-cli |
max_upload_size | |
id | 613793 |
size | 18,637 |
Command line wrapper for the pluralizer crate lib.
echo "box" | pluralizer-cli
will result in:
boxes
pluralizer-cli << EOF
box
fox
EOF
will result in:
boxes
foxes
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
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.