I have a set of html files. I want to replace all of <H1> tags with
So, am trying with sed command like
sed 's/<H1>/<H2>/' <oldfile.html >newfile.html
But it is giving me error saying that "sed: newline or end of file
found in pattern".
I don't want to replace H2 with H1. I want it like <H1> -> <H2>.
Is this possible with sed or not?
Thanks in advance