Skip to content

Instantly share code, notes, and snippets.

@iromli
Last active January 2, 2016 11:39
Show Gist options
  • Save iromli/8297671 to your computer and use it in GitHub Desktop.
Save iromli/8297671 to your computer and use it in GitHub Desktop.
#!/usr/bin/env sh
SRC=https://raw.github.com/id-python/direktori/master/README.md
MEMBER=$(curl -s ${SRC} | awk '/^Pythonistas$/,/^Proyek$/' | grep -P '\* [^\.]' | wc -l)
PROJECT=$(curl -s ${SRC} | awk '/^Proyek$/,/^Lisensi$/' | grep \* | wc -l)
echo
echo "Stats:"
echo " ${MEMBER} member(s)"
echo " ${PROJECT} project(s)"
echo
@iromli
Copy link
Author

iromli commented Jan 7, 2014

If you trust this script:

https://gist.github.com/iromli/8297671/raw/82f6cdc252ed525cf41e18398e24503f10008211/quick-counter.sh | bash

@iromli
Copy link
Author

iromli commented Jan 7, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment