Created
June 15, 2015 15:23
-
-
Save jmandel/5c0f7119f5d0bea437bc to your computer and use it in GitHub Desktop.
FHIR Resource Counts
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
for rev in `git rev-list --reverse --all`; | |
do | |
git checkout $rev; | |
COUNT=$(cat trunk/source/fhir.ini trunk/build/source/fhir.ini | awk '/^\s*$/{flag=0}flag && /=/;/\[resources\]/{flag=1}' | wc -l); | |
DATE=$(git log -1 --date=iso --format=%ai .); | |
echo "$DATE $COUNT" >> /tmp/fhir_counts; | |
echo "$DATE $COUNT"; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment