I come across these two commands \u and \U (and others such as \l and \L) in sed. I have to admit I am a newbie and have little experience with GNU sed.
I have tried the following two commands but got the same result:
# I have tested this on Ubuntu 20.04
echo "abc" | sed 's/./\u&/g' # output is: ABC
echo "abc" | sed 's/./\U&/g' # output is: ABC
The output is the same for the two commands. So, what is the difference between them?