hi all,
I find other solution to solve my problem.
and would like to share my method to you.
I am now using the linux command "diff" to compare 2 file and parse the output file and then generate the HTML code.
example :
====================
diff a.txt b.txt > result.txt