blueCFD / Core

Coordination repository for the blueCFD-Core: Issue tracking, Wiki, project webpage and miscellaneous scripts
http://bluecfd.github.io/Core
53 stars 10 forks source link

There are repeated entries in our changes to the "Make/options" files #107

Closed wyldckat closed 4 years ago

wyldckat commented 6 years ago

For example, this happens with the library foamToVTK.

wyldckat commented 4 years ago

Single file:

grep "\-l.*" options  | sed -e 's= *\\$==g' -e 's= *\(-\)=-=' | sort | uniq -d

All files:

foam
find src applications -name options | while read line
do
echo $line
grep "\-l.*" $line | sed -e 's= *\\$==g' -e 's= *\(-\)=-=' | sort | uniq -d
echo
done