I need a script in any language to capitalize the first letter of every word in a file.
Thanks for all the answers.
Stackoverflow rocks!
Using the non-standard (Gnu extension) sed utility from the command line:
sed
sed -i '' -r 's/\b(.)/\U\1/g' file.txt
Get rid of the "-i" if you don't want it to modify the file in-place.
-i
note that you should not use this in portable scripts