Skip to content

Instantly share code, notes, and snippets.

@clawfire
Created December 18, 2018 15:57
Show Gist options
  • Save clawfire/2edc080362e5e57400df3cfd75d36a55 to your computer and use it in GitHub Desktop.
Save clawfire/2edc080362e5e57400df3cfd75d36a55 to your computer and use it in GitHub Desktop.
Générer un fichier autheur à partir des logs SVN en assumant que nos utilisateurs sont des adresses emails
authors=$(svn log -q svn://[url] | grep -e '^r' | awk 'BEGIN { FS = "|" } ; { print $2 }' | sort | uniq)
for author in ${authors}; do
echo "${author} = ${author%@*} <${author}>";
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment