I know you're not supposed to ask homework questions, but this is driving me crazy. I have a file named cars.txt which contains make|model|year|milage|price. The question is to list all lines, but capitalize the first letter of the make using only one sed command. (ford would be Ford). This is what I have so far: sed 's/^[a-z]/What Goes here??/' cars.txt
I can't figure out what I should put as the replacement string. I have tried everything I can think of which leads me to believe that my mind has gone to mush and it is something really easy. Please help!