decasify(1)
Okay so bestie, welcome to decasify(1) β straight from the General Commands Manual β and itβs literally here to convert prose strings to other cases following locale specific rule sets. πβ¨
π NAME π
decasify β convert prose strings to other cases following locale specific rule sets. No cap, thatβs the whole vibe. π
πΈ SYNOPSIS πΈ
decasify [-l|--locale] [-c|--case] [-s|--style] [-O|--overrides] [-h|--help] [INPUT]
π¦ DESCRIPTION π¦
It converts prose strings to other cases following locale specific rule sets. And yes, it can convert input in any supported language from any case to any other case. Obsessed. π
π OPTIONS π
-l,--locale<LOCALE> β the locale of the input text. (default:en)
This is how decasify knows what language-specific handling needs to be done. It can affect how individual Unicode characters get converted to other cases, and it can change which style guides are even considered. π
- Possible values:
entres
-c,--case<CASE> β the desired output case. (default:title)
This is what case youβre converting to. Heads up though: the output can be affected by the input case, so in some cases (pun intended π) you may need to either process twice or avoid doing so depending on the expected result. For example, title-casing in some English styles tries to preserve capitalized acronyms, but lower-casing does not. First converting to lower-case then to title-case would give a different result than directly to title-case. So yeah, order matters, bestie.
- Possible values:
lowersentencetitleupper
-s,--style<STYLE> β proffered style guide. (default:default)
For languages with more than one style guide, this picks which set of guidelines to follow. Each language will have a default (typically the one we have the most robust implementation for or implemented first). Slay. β¨
- Possible values:
apcmosgruberdefaultnaivetdkraefundeu
-O,--overrides<OVERRIDES>... β override words.
This lets you override the output case of specific words regardless of what the casing function or style guide would normally do with them. The case used to specify these words is used in the output regardless of the target style or input case. So if you type it in all caps, it stays all caps, periodt. π₯
-h,--helpβ print help (see a summary with-h). π[INPUT]β the input string or strings (noteSTDINalso accepted).
Note that all input arguments are processed together joined with a space, and STDIN streams are processed line by line. This can affect the output β for example, if using sentence case the input should be on a single line, not broken across several. So keep it one line if you want sentence case to behave, bestie. π
π AUTHORS π
Caleb Maclennan <caleb@alerque.com> β the icon behind this. π«Ά
k bye bestie, this iconic page was brought to you by the source/version decasify and the manual decasify(1) β mwah πβ¨
π¦ where this page comes from
- arch rolling: decasify 0.11.4-1 Β· LGPL-3.0-only
- nixpkgs unstable: decasify 0.11.4
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms