Haven't time to figure this out at the moment, but the command
tr -s "[:lower:]" "[:upper:]" < input_file_name
will convert lower to upper for the specified input. I'm guessing you could use cut to isolate the 1st char from the rest, convert it, and then join the line back together again.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.