In order to see the difference between two or more text files there is the diff command.
But to see the difference with colors, after a little bit of research I found the vimdiff, with an option to export the difference to a HTML file with :TOhtml
Here's my problem: i am trying to do all that with a script and i have not been able to find a way to add the :TOhtml to the script.
I tried with vimdiff t1 t2 | :TOhtml but it does not really work.
So if anyone of you could help me or give a clue, i would really be thankful.