Diff b/w 2 files

Hi Masters,

I have two files named file1 and file2.
Both the files contains the same contents with some difference in comments,space.But no content change.

I tried to find the diff between the two files to make sure that contents are same.

For that i tried
diff -ibw file1 file2

But still it is showing some differences bcz of space and "enter tab" between the contents.

I added those spaces for readability.

Is there any way to find the diff of both files which will ignore those spaces between the contents.

---------- Post updated 07-15-09 at 09:21 PM ---------- Previous update was 07-14-09 at 10:03 PM ----------

Any Feedback on this?

If you have the GNU diff, look at the -t option which expands tabs to spaces. See if that works.