Counting D contributors

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Mon Aug 18 10:40:50 PDT 2014


Please check my code. It prints 126 - congratulations everyone!

Andrei

#!/bin/zsh

TAG_FROM=v2.065.0
TAG_TO=v2.066.0

function stream() {
     local DIR=$1
     (
         cd $DIR && \
         { git log $TAG_FROM..$TAG_TO|grep '^Author:'|sort|uniq } || \
         echo >&2 "Failed: $DIR"
     )
}

cat  <(stream phobos) <(stream dlang.org) <(stream druntime) \
         <(stream dmd) <(stream tools) <(stream installer) | \
     sort | uniq | wc -l

# Not for the time being:
# <(stream dconf.org) \
#     <(stream dub) <(stream dub-registry) <(stream visuald)




More information about the Digitalmars-d mailing list