From d63579989969f9995b5358d834ebd9ae9b3cc026 Mon Sep 17 00:00:00 2001 From: Morgan Date: Sun, 13 Oct 2019 13:33:51 +0200 Subject: [PATCH] top_authors ignores case --- top_authors.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/top_authors.sh b/top_authors.sh index 42bf92d..a23e4bf 100755 --- a/top_authors.sh +++ b/top_authors.sh @@ -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 "$@"