Hello guys,

I'd like to instruct sed to capitalize the first letter of every line. I've gotten this far:

$ echo "the first word is not capitalized." | sed 's/^t/T/'
The first word is not capitalized.
That seems to work (yay!). Say I'd like to do it for multiple different lines of text, then of course I could do something like this:
$ cat bigstory.txt | sed 's/^a/A/; s/^b/B/; s/^c/C/; s/^d/D/; s/^e/E/'
etcetera, and make a huge command. But that is not very elegant. There has to be a nice way to do it. Do you know one?