Saturday, January 2, 2010

Adding Numbers

Hi,

I have questions about getting vi to add numbers in sequence within a file.

Example:

dummy01
dummy02
dummy03
dummy
dummy
....

etc.

So If I have 1000 dummy's and instead of hand typing all this in a file. I wonder if there was
an easy to accomplish this using vim.

Any suggestions would be helpful.

--
Phillip

--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment