Converting a string to lower case in shell scripts.

3 different ways of converting a string held in a variable to all lowercase. I particularly like the Bash 4 way, as it does not require external commands.