top_authors ignores case

This commit is contained in:
Morgan 2019-10-13 13:33:51 +02:00
parent 33ea0997db
commit d635799899

View File

@ -9,6 +9,6 @@ function fetch_top_authors() {
basedir=$(dirname "$0")
filter="${1:-}"
grep http "$basedir/README.md" | grep "${filter}" | cut -d '[' -f 2 | cut -d ']' -f 1 | sed 's/\*//g' | grep -v "/" | sort | uniq -c | sort -n
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
}
fetch_top_authors "$@"