It is sensible, I am just a bit doubtful about it being realistic :-)
I was thinking along these lines, but really, even with same-source files, there are too many variations so that it's too much effort writing a fully-automatic utility. I just keep a collection of useful regexps (or normal replaces) and in each case decide which one (and in which order) to use.
|