0

I need some procedure in any commonly used language, that can produce the difference between two files and produce the HTML to display them side by side or in an interleaved manner.

I need to compare small files quickly and easily in my own application which uses an embedded browser control, so the language itself does not matter. So long as the procedure can run the diff process itself or can take the output of the diff command it will be okay.

The images below are those from the Redmine diff screen.

Inline Diff

Side by Side

1 Answer 1

1

A simple unified-diff htmliser is diff2html. It is written in python.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.