expansion
Bash Lowercase matching characters
Bash 4.0+; converts applicable matching characters to lowercase in the current locale.
Formal Syntax & Structure
bash syntaxbash
${p,,pattern}Return Value
shell expansion result
Bash 4.0+; converts applicable matching characters to lowercase in the current locale.
Working Example
Example Snippetbash
p=HELLOprintf '%s\n' "${p,,}"