expansion

Bash Uppercase transformation

Modern Bash transformation returning uppercase text in the active locale; tested on 5.2.

Formal Syntax & Structure

bash syntaxbash
${p@U}

Return Value

shell expansion result

Modern Bash transformation returning uppercase text in the active locale; tested on 5.2.

Working Example

Example Snippetbash
p=helloprintf '%s\n' "${p@U}"
Bash Reference