Skip to content

Instantly share code, notes, and snippets.

@jonathanschilling
Last active November 4, 2020 20:07
Show Gist options
  • Save jonathanschilling/d138e5b0ae3cbabb8edb8f30ee5c34ea to your computer and use it in GitHub Desktop.
Save jonathanschilling/d138e5b0ae3cbabb8edb8f30ee5c34ea to your computer and use it in GitHub Desktop.
Compare two (Fortran) source trees
#!/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