I am totally new on shell scripting (actually three days only :) ) so don't shoot me .. !!
In my script I have a code that looks like that:
string="this-is-my-string"
and I like to modify the content of the variable, in order to become like that:
string="This Is My String"
I don't look for the regex that modify the original string into the modified version. I already have find the solution here.
What I am looking for, is how to modify the text inside the variable using the sed
command. To be honest, I don't really know if that possible with sed
. In case that modification it is not possible to be done with sed
is there any other method to achieve the same result ?