aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2014-08-25 23:09:23 +0200
committerDaniel Stenberg <daniel@haxx.se>2014-08-25 23:09:23 +0200
commitdfd821c738186306551171b870cecb3dac8373a3 (patch)
treea3416f982202ae6f462ff1f361e8a96e49fc6a64
parentee40b6882de92b0d5bf58df72777c7c862e1cbee (diff)
contributors: grep and sort case insensitively
-rwxr-xr-xcontributors.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/contributors.sh b/contributors.sh
index 41f9cb158..153fec9e1 100755
--- a/contributors.sh
+++ b/contributors.sh
@@ -39,12 +39,12 @@ fi
# sort all unique names
# awk them into RELEASE-NOTES format
git log $start..HEAD | \
-egrep '(Author|Commit|by):' | \
+egrep -i '(Author|Commit|by):' | \
cut -d: -f2- | \
cut '-d<' -f1 | \
sed -e 's/^ //' -e 's/ $//g' | \
grep ' ' | \
-sort -u |
+sort -fu |
awk '{
num++;
n = sprintf("%s%s%s,", n, length(n)?" ":"", $0);