I have many .html files and I need to add a meta tag after <head>'s start tag in each file.
How I can do that?
Can vim help me?
|
I have many .html files and I need to add a meta tag after <head>'s start tag in each file. How I can do that? Can |
||||
|
|
|
In
You could also do this in GNU
Be warned, |
|||||||||||
|
for this example
Result :
The above command will append new line after the string get matched. However this will give wrong result if file has input string as
Result:
May be we can try this approach:
|
|||||
|