Editior automatically delete content between lines
Hello!
I have a very simple question. I would like to automatically delete the content between certains words in a large file.
For example
I have
Word1
blah blah
blah blah
Word2
I would like to have
Word1
Word2
I the large file I have several instances of Word1 and Word2 so doing it by hand wouldn't be a fun thing to do. I am sure there are million ways of doing that. I tried vi (which is sure capable of doing that) but could only delete contents on the same line...
Any help would be nice.
>>MM
|