fix authors counting for multi files handling
This commit is contained in:
parent
ef6ebe381f
commit
08b41fbcbe
@ -9,6 +9,6 @@ function fetch_top_authors() {
|
||||
basedir=$(dirname "$0")
|
||||
filter="${1:-}"
|
||||
|
||||
grep http "$basedir/README.md" | grep -i "${filter}" | cut -d '[' -f 2 | cut -d ']' -f 1 | sed 's/\*//g' | grep -v "/" | sort | uniq -c | sort -n
|
||||
grep http "$basedir/README.md" "$basedir/sections/"*.md | grep -i "${filter}" | cut -d '[' -f 2 | cut -d ']' -f 1 | sed 's/\*//g' | grep -v "/" | sort | uniq -c | sort -n
|
||||
}
|
||||
fetch_top_authors "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user