I have a textfile in which some words are printed in ALL CAPS. I want to be able to just convert everything in the textfile to lowercase, using sed. That means
sed
short, sweet and you don't even need redirection :-)
perl -p -i -e 'tr/A-Z/a-z/' file