Last active
January 4, 2016 21:09
-
-
Save morido/8678906 to your computer and use it in GitHub Desktop.
Count boolean functions in EFS
This file contains hidden or 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
all=`awk '{s+=$1} END {print s}' <(find subset-026/ -type f -exec xmlstarlet sel -t -v 'count(//Function)' {} \;)` | |
boolean=`awk '{s+=$1} END {print s}' <(find subset-026/ -type f -exec xmlstarlet sel -t -v 'count(//Function[@Type="Boolean"])' {} \;)` | |
echo "$boolean / $all" | bc -l |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment