The Stack Overflow podcast is back! Listen to an interview with our new CEO.
1 of 2

If your main objective is to convert a file from lowerclass to upperclass, why dont you use "tr" and "STDOUT" to convert your file:

$cat FILENAME | tr a-z A-Z > FILENAME2

Where FILENAME is your original file. Where FILENAME2 is your converted output file.