Upper/lower case conversion

  • ${var^} capitalizes the first letter of var
  • ${var^[aeiou]} capitalizes the first letter of var if it is a vowel
  • ${var^^} capitalizes all the letters in var
  • ${var,} lower-cases the first letter of var
  • ${var,[abc]} lower-cases the first letter of var if it is a, b or c
  • ${var,,} lower-cases all the letters in var