Vivek Gite on nixCraft suggests tr to tranform uppercase letters in the textfile input.txt to lowercase and output the transformed text to output.txt.
tr '[:upper:]' '[:lower:]' output.txt
I needed to clean up a messy old scriptfile where I lost track of my variable naming convention.
Very useful indeed 🙂