From: Florian Kaufmann on
To begin with - I might post to the wrong group. Please tell me the
correct group if that is so.

In our project we have a lint like tool that complains about bad code.
The output is a report file containing for each issue the file name,
line and comment what's wrong. However, this is only done every month.
What can I do to generate a new report file that points to the lines
in the new sources? I read the manpage of diff, and as I see it there
is no out of the box solution. What would you do? Write a program
(e.g. perl script) that analyzes the diff output and calculates the
new line numbers? I have the feeling that this is not a trivial task -
I hope there are smarter solutions.