${(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 是一款支持 C** 的 **Zsh 集成开发环境 - 立即试用
© 2020–2024 Joachim Ansorg
声明
隐私政策
许可条款