Thanks a lot Tim. You is right about what I meant. To make it more clear,
here are the rows.
.
.
i1 0 9 180       /*this is the 420 line number*/
.
i2 0 17.1 220   /*430*/
.
i3 + 7.875 365 /*710*/

the numbers in question are 180, 220 and 365.
No tested your code yet. I'll give a try tomorrow.
[cut some of the bottom posting]
where [action] is

s/\%4c\d\+/=submatch(0)+10/e

It looks like your columns are delimiter-based (using whitespace), rather than columns based on physical/character position. That would change the previously-mentioned [action] so that it becomes something like

s/^\(\S\+\s\+\)\{3\}\zs\(\d\+\)/=submatch(2)+10/e

You might have to tweak it a bit, but it *should* do the trick.

If you want some help deciphering it, it's easy enough to explain any of the process, if you'd like.

-tim

PS: Your reply came only to me. It's best to "Reply to All" in your mailer so that the whole list gets copied in on the reply. That way, you access the collective brain which is a whole lot smarter than my solitary brain. You also have their time. Fortunately, I check my email fairly regularly, but in the event I was on holiday, you'd be waiting for just me rather than getting a reply from anybody on the list that had an answer.





Reply via email to