Posted By

noah on 02/11/10


sort list svn file Bash subversion code control vc grep version perl find types programming analysis extensions uniq

Versions (?)

Howto list all the file extension types in an SVN log dump

 / Published in: SVN

Note that on Windows you will want to double-quote the string argument to perl -ne rather than single-quoting it. Otherwise this works on Windows (with Cygwin) as well.

  1. svn log -v > myrepo.log
  3. perl -ne 'print qq{$1\n} if m{^\s+.*(\.[^.\s]\w+)$}' myrepo.log | sort | uniq -c | sort -r

Report this snippet  

You need to login to post a comment.