${(C)…}: Capitalize resulting words

Capitalize the words, which are separated by non-alphanumeric characters.

Please note that this flags splitting is different to the usual field splitting of Zsh.

Examples

Capitalize words
1
2
value="this is a multi-word example"
echo ${(C)value}
Output:
1
This Is A Multi-Word Example
BashSupport Pro ist eine Zsh IDE mit Unterstützung für ${(C)…} - probieren Sie es jetzt aus!
© 2020–2024 Joachim Ansorg
Impressum
Datenschutz
Rechtliches