June 2011
1 post
Thirty Minute Solution with Vim
Today on IRC a friend had an issue he was trying to solve using Vim. He had a
sed/awk solution but was interested in seeing if it could be solved in Vim.
The problem was a common one, one that I’ve run into before. I’ve got this
giant list of data but all of the primary key’s are ‘1’. How do I
automate the process of incrementing the primary key?
Here’s a...