I’m looking for a way to capitalise the first character after a given string in multiple text files all in the same directory. I’m thinking sed is the tool to use for this.
For example, the text files all contain the string ‘name=‘ and I want to capitalise the letter that follows. Sometimes there is more than one instance of ‘name=‘ in the one file. The character following is always a letter and sometimes it already is uppercase. There are also other instances of ‘=‘ that don’t have ‘name’ behind them.
Can anyone point me in the right direction here? I’m more than happy to learn how myself I’m just not sure where to look.
Thanks!