How to compare html files in unix
<p>I have two folders with huge number of HTML files and I want to compare each file and how to get the diff of each file using shell script/unix commands.</p>

<p>Example:<br>
Directory 1:</p>

<pre>
1.html
2.html
3.html
</pre>

<p>Directory 2:</p>

<pre>
1.html
2.html
3.html..
</pre>

<p>I want to compare <code>1.html</code> in directory with <code>1.html</code> in <code>dir2</code>, and <code>2.html</code> with <code>2.html</code>, and so on.</p>