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!
ruby:
irb> foo = ""; "foo bar".split.each { |x| foo += x.capitalize + " " } => ["foo", "bar"] irb> foo => "Foo Bar "