Hi vimers, I have a problem for which I can't find the solution.
Say I have the following text file: -8<----8<----8<----8<----8<----8<----8<----8<----8<----8<--- aaaa ....some text here delete ....some text here bbbb ....some text here aaaa ....some text here don't delete ....some text here bbbb -8<----8<----8<----8<----8<----8<----8<----8<----8<----8<--- What I want to do is to find every line starting with 'delete' and delete from the 'aaaa' line till the 'bbbb' line. The result of it should be: -8<----8<----8<----8<----8<----8<----8<----8<----8<----8<--- ....some text here aaaa ....some text here don't delete ....some text here bbbb -8<----8<----8<----8<----8<----8<----8<----8<----8<----8<--- I thought about using a global command to do that, but I can't get it working. Thanks a lot for your help, Jean-christophe -- Liip AG // Agile Web Development // T +41 26 422 25 11 CH 1700 Fribourg // GPG 0xFC648C61 // www.liip.ch
signature.asc
Description: PGP signature
