in reply to Re^2: Changing the first word to uppercase
in thread Changing the first word to uppercase

If you want to change every line in some files then

perl -pe's/^([[:alpha:]]+)/ uc $1 /e' -i.bak <file list>
you can use a condition to change just some lines
perl -pe's/^([[:alpha:]]+)/ uc $1 /e if condition' -i.bak <file list>
The original file is saved with a extention of .bak