Skip to content

Instantly share code, notes, and snippets.

@feffi
Created April 16, 2013 08:13
Show Gist options
  • Save feffi/5394285 to your computer and use it in GitHub Desktop.
Save feffi/5394285 to your computer and use it in GitHub Desktop.
Extract author names from subversion log (for migration to git)
authors=$(svn log -q | grep -e '^r' | awk 'BEGIN { FS = "|" } ; { print $2 }' | sort | uniq)
for author in ${authors}; do
echo "${author} = ${author} <${author}@LOCALHOST.NET>" >> authors.txt;
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment