Command line: convert strings to lowercase

From time to time it can be important to convert uppercase strings to lowercase, in sh / perl scripts.

I found a very simple way to do so, using the ‘tr – translate or delete characters’ command.

echo 'UPPERCASE'  | tr '[A-Z]' '[a-z]'