Re: deleting repeated blocks of text

2006-05-04 Thread Vim Visual
Hey! Thanks! This worked out perfectly Now I have another question to you... The final file, which I got thanks to the help of all of you, is to be embedded into another web page... Which command should I add in the script to tell vi to embed it in the correct place? At the moment I do

Re: deleting repeated blocks of text

2006-05-04 Thread Gerald Lai
On Thu, 4 May 2006, Tim Chase wrote: Which command should I add in the script to tell vi to embed it in the correct place? At the moment I do it by telling vi something like go to line XXX, delete everything, insert text: :386,$d o CTRL + v + ESC :r /tmp/arXiV_2.txt :w! ~pau/WWW/arXiV.html

Re: deleting repeated blocks of text

2006-05-03 Thread Gerald Lai
On Wed, 3 May 2006, Gerald Lai wrote: On Wed, 3 May 2006, Vim Visual wrote: Hi, this is the continuation of a post... The point is that I have a file where blocks of text appear sometimes once, sometimes twice or even three times etc... I would like to find out how to delete the blocks that