Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
FHIR Resource Counts
for rev in `git rev-list --reverse --all`;
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";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.