some zsh commandline-able scripts for annotation statistics
stupid wiki kills the text
first, annotation:
for f in **/*(.); do svn praise $f > $f.praise && echo "PRAISED $f" || rm $f.praise; done
how many lines written per person in a dir
for d in **/ ; do cd $d && echo "DIRECTORY $d:" && cat **/*.praise | awk '{print $2;}' | sort | uniq -c | sort -nr; cd - >/dev/null; done | tee out
how many different files did each person touch/get mentioned in
for p in $(cat out | awk '{print $2;}'); do num=$(grep -l $p **/*.praise | wc -l); echo "$num\t$p"; done
how many different people have touched each file
for f in **/*.praise; do num=$(cat $f | awk '{print $2;}' | sort | uniq | wc -l); echo "$num\t$f"; done | tee out