Page MenuHomePhabricator
Authored By
Lucas_Werkmeister_WMDE
May 19 2019, 5:26 PM
Size
579 B
Referenced Files
None
Subscribers
None
#!/bin/bash
git log \
--invert-grep --author='<l10n-bot@translatewiki.net>' \
--no-merges \
--name-only --pretty=format: \
--since='2 years ago' |
{
declare -A lines
while read -r line; do
if [[ $line ]]; then
lines[${line/\/*/}]=0
else
printf '%d\n' "${#lines[@]}"
lines=()
fi
done
} |
sort |
uniq -c |
awk '
{
total+=$1
print
}
END {
printf "%7d TOTAL\n", total
}'

File Metadata

Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
7487505
Default Alt Text
raw.txt (579 B)

Event Timeline