#!/bin/sh # # This is an updated version of Bill Fenner's "whodid" script that uses # subversion instead of CVS. # for i in $* do j=`whereis -sq $i` if [ $j ] then echo ${j}: svn log $j | awk -F '|' '/^r[0-9]+ \| / { print $2 }' | sort | uniq -c | sort -rn | head -n 8 printf '\n' svn log $j | awk -F '|' '/^r[0-9]+ \| / { print " " $2 "::" $3 "::" }' | head -n 8 fi done