Compare source code

Peter Pearson ppearson at nowhere.invalid
Mon Nov 1 13:11:33 EDT 2010


On Mon, 01 Nov 2010 12:09:12 +1300, Lawrence D'Oliveiro wrote:
> In message <4ccd5ad9$0$19151$426a74cc at news.free.fr>, jf wrote:
>
>> I edit each file to remove tabs ...
>
>     expand -i <oldfile >newfile
>
>> Do you know a tools to compare the initial file with the cleaned one to
>> know if the algorithms are the same ?
>
>     diff -b oldfile newfile

Warning: "diff -b" won't detect changes in indentation.  Changes in
indentation can change a Python program.

-- 
To email me, substitute nowhere->spamcop, invalid->net.



More information about the Python-list mailing list