expansion
Bash Lowercase first character
Bash 4.0+; converts the first character if it matches and can be lowercased.
Formal Syntax & Structure
bash syntaxbash
${p,pattern}Return Value
shell expansion result
Bash 4.0+; converts the first character if it matches and can be lowercased.
Working Example
Example Snippetbash
p=HELLOprintf '%s\n' "${p,}"