Re: How to insert increasing numbers in each line of a file

2006-05-22 Thread Charles E Campbell Jr
Matthias Pitzl wrote: I don't really know how to do this but im sure that there's a solution. I have some file and i need to insert a number before each line and a separator. The number is the line number. Is there any way in vim to do this easily? Hello! There's a number of ways to go

Re: How to insert increasing numbers in each line of a file

2006-05-20 Thread A.J.Mechelynck
Matthias Pitzl wrote: Hello all! I don't really know how to do this but im sure that there's a solution. I have some file and i need to insert a number before each line and a separator. The number is the line number. Is there any way in vim to do this easily? Thank's for your help! Greetings,

Re: How to insert increasing numbers in each line of a file

2006-05-20 Thread Tim Chase
I don't really know how to do this but im sure that there's a solution. I have some file and i need to insert a number before each line and a separator. The number is the line number. Is there any way in vim to do this easily? Well, the canonical way to do this on *nix boxes is just

Re: How to insert increasing numbers in each line of a file

2006-05-20 Thread Gerald Lai
On Sat, 20 May 2006, Tim Chase wrote: I don't really know how to do this but im sure that there's a solution. I have some file and i need to insert a number before each line and a separator. The number is the line number. Is there any way in vim to do this easily? Well, the canonical way to

Re: How to insert increasing numbers in each line of a file

2006-05-20 Thread Matthias Pitzl
On Sat, 20 May 2006, Tim Chase wrote: I don't really know how to do this but im sure that there's a solution. I have some file and i need to insert a number before each line and a separator. The number is the line number. Is there any way in vim to do this easily? Well, the canonical way