Name:Changing Case
Category:Perl
Author:Conor
Tip:

To change the case of an entire file in linux, simply type at a shell:

 perl -e 'while(<>){tr/[A-Z]/[a-z]/;print;}' < filein > fileout

 That converts Upper case to lower case.  To do the opposite, just switch:

 perl -e 'while(<>){tr/[a-z]/[A-Z]/;print;}' < filein > fileout