expansion
Bash Capitalize transformation
Modern Bash transformation uppercasing the first character where applicable; tested on 5.2.
Formal Syntax & Structure
bash syntaxbash
${p@u}Return Value
shell expansion result
Modern Bash transformation uppercasing the first character where applicable; tested on 5.2.
Working Example
Example Snippetbash
p=helloprintf '%s\n' "${p@u}"