Lowercase on the fly transform

This piece of code transforms the variable as its printed to lowercase

 

print $ORACLE_SID|tr ‘[A-Z]’ ‘[a-z]’