Skip to content

Instantly share code, notes, and snippets.

@rgarner
Created May 16, 2014 14:23
Show Gist options
  • Save rgarner/ed5fed155716beaca64c to your computer and use it in GitHub Desktop.
Save rgarner/ed5fed155716beaca64c to your computer and use it in GitHub Desktop.
for i in {5..100..5}
do
PATHS="coverage/defra_darwin.txt"
bin/hits coverage -t $i logfiles/defra_darwin/darwin.defra.gov.uk > $PATHS
COUNT=`wc -l $PATHS`
git add $PATHS
git commit -m "$COUNT paths with >= $i all-time hits"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment