Tag Archives: Tools

Convert diff output to colorized HTML

If you search the web you can find a number of references to programs/scripts that convert diff output to HTML. This is a bash version. The script expects “unified” diff output (diff -u) on its standard input and produces a self-contained colorized HTML page on its standard output. Consider the two files: #include <stdio.h> // main main() { printf(“Hello … Continue reading Convert diff output to colorized HTML