Re: compare Fortran modules
- From: glen herrmannsfeldt <gah@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 5 Sep 2006 22:45:58 +0000 (UTC)
beliavsky@xxxxxxx wrote:
In comparing two versions of a Fortran module, I would like to know
which procedures in file A
(1) are not found in file B, and vice versa
(2) differ from those with the same name in file B.
I know of the "fc" command on Windows, but I want something higher
level. I could do this in Python, but maybe someone already has, in
Python or some other language.
The unix diff command is much more powerful than fc, maybe
infinitely more. (That is, zero for fc.)
There are ports to windows, such as the one at:
http://unxutils.sourceforge.net/ and maybe also
in the Microsoft Services for Unix, available free
from microsoft.com.
The -w option, to ignore changes is white space, is sometimes
useful.
-- glen
.
- Follow-Ups:
- Re: compare Fortran modules
- From: Brooks Moses
- Re: compare Fortran modules
- References:
- compare Fortran modules
- From: beliavsky
- compare Fortran modules
- Prev by Date: Re: How to print a leading zero for an integer?
- Next by Date: Re: NAG ware linking problem
- Previous by thread: compare Fortran modules
- Next by thread: Re: compare Fortran modules
- Index(es):
Relevant Pages
|