If on a GNU system, you can use `sed`:
sed 's/] ./\U&/g'
**s** tream **ed** itor ' **s** ubstitute/ _replace-what_ / _replace-with_ / **g** lobally'
Here " _replace-what_ " is a literal `]` followed by a single space ` ` then a single character (`.` matches a single character except `\
`ewline but would match a `\
`ewline character if it was ever found in the pattern space. In `perl`, it doesn't unless the `s` flag is added to the regex.)
" _replace-what_ " is `\U&`, in sed `&` is back-reference to "replace-what" part (`\U` stands for `\Upper-case`), so `\U&` will replace matched part to Upper-case.
* * *
If your `sed` is not GNU `sed`, you could do the same with `perl` with:
perl -Mopen=locale -pe 's/] ./\U$&/g' < infile