Works great Scott! Nice work. And now, heheh since you're so accommodating, I have another request, actually two but related.
One would be to delete duplicate lines--that is, if there were two or more identical lines, the macro would leave only one. This would include duplicate blank lines.
Another would delete blank lines. Both, by option, could process the entire file, or lines within a block, or within a selectable number of lines down from the current line.
I should explain that here at work we use IBM's editor XEDIT, and our users have written lots of macros for it. Alas, it is soon going away, and so I'm pushing Vedit to colleagues.
And before you guys scold me, I am planning to learn Vedit macro programming Real Soon Now.
|
|