From 1ea61da74423202f5aa551935ac82ed5fed9e573 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Tue, 12 Mar 2019 18:46:32 +0300 Subject: [PATCH] Feat(get-authors): Add an alternative implementation --- svn/get-authors | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/svn/get-authors b/svn/get-authors index 975ef95..54e5707 100755 --- a/svn/get-authors +++ b/svn/get-authors @@ -7,5 +7,9 @@ fi url="$1" +#svn log -q | +# awk -F '|' '/^r/ {sub("^ ", "", $2); sub(" $", "", $2); print $2" = "$2" <"$2">"}' | +# sort -u >>authors.txt + svn log --xml "$url" | grep -F author | sort -u | sed 's/^<[^>]\+>\(.\+\)<.\+>$/\1 = /' >>authors.txt -- 2.39.2