Last active
November 4, 2020 20:07
-
-
Save jonathanschilling/d138e5b0ae3cbabb8edb8f30ee5c34ea to your computer and use it in GitHub Desktop.
Compare two (Fortran) source trees
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# reference source tree is in current working directory | |
# source tree to compare against is in $1 | |
clear | |
for i in `find . -name '*.f*'` | |
do | |
echo $i | |
diff --color $i $1$i | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment