view bin/hatesgeo @ 1721:ab80805a8878

<elliott> echo "#!/bin/sh" >bin/undo; echo \'hg diff -c "$@" | patch -R\' >>bin/undo; chmod +x bin/undo
author HackBot
date Thu, 24 Jan 2013 21:13:03 +0000
parents e037173e0012
children
line wrap: on
line source

#!/bin/sh
perl -n -e '/:(.*?)!.*JOIN/; $j{$1}++; END {print "$_ $j{$_};" for sort {$j{$b} <=> $j{$a}} keys %j}' $@