This is a script for reviewing refactorying patches. It the goal is to remove all the non-code changes and leave the interesting bits. It has options to modify all the new lines or all the lines in the diff. For example, if someone sends a patch to make functions static then you can do: cat patch.txt | rename_rev.pl -ea 's/static //' and hopefully it looks like the patch doesn't do anything. This version fixes a bug where if you reordered a line of code but don't make any other changes, it was ignored. Obviously that should show up as an interesting change. regards, dan carpenter