How can I copy diff output (diff old-version.cpp new-version.cpp
) into an Outlook email so I can send it to other people with syntax highlighting?
I'd either like to pipe diff output to a program that will copy it to the clipboard with formatting (p4 diff file.cpp | rtfpatch
) or have a plugin for Outlook that lets me select some text, click a button, and it gets colorized.
I use Windows (XP and Vista), Perforce, Visual Studio, Beyond Compare 3, Outlook 2007. Anything using a combination of those tools would work great (I'm not looking to change my main diff program, etc...).